cairo 1.6.1-x86-mswin32 → 1.7.0-x86-mswin32
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of cairo might be problematic. Click here for more details.
- data/ChangeLog +285 -0
- data/NEWS +33 -0
- data/README +15 -4
- data/Rakefile +3 -0
- data/cairo/bin/libcairo-2.dll +0 -0
- data/cairo/bin/libpng12-0.dll +0 -0
- data/cairo/include/{libpng13/png.h → png.h} +285 -135
- data/cairo/include/{libpng13/pngconf.h → pngconf.h} +116 -72
- data/cairo/lib/cairo.lib +0 -0
- data/cairo/lib/libcairo.dll.a +0 -0
- data/cairo/lib/libpng.def +361 -371
- data/cairo/lib/libpng.lib +0 -0
- data/cairo/lib/libpng12.dll.a +0 -0
- data/cairo/lib/pkgconfig/cairo-pdf.pc +1 -1
- data/cairo/lib/pkgconfig/cairo-png.pc +2 -2
- data/cairo/lib/pkgconfig/cairo-ps.pc +1 -1
- data/cairo/lib/pkgconfig/cairo-svg.pc +1 -1
- data/cairo/lib/pkgconfig/cairo-win32-font.pc +1 -1
- data/cairo/lib/pkgconfig/cairo-win32.pc +1 -1
- data/cairo/lib/pkgconfig/cairo.pc +2 -2
- data/cairo/lib/pkgconfig/libpng.pc +10 -14
- data/cairo/lib/pkgconfig/libpng12.pc +10 -0
- data/cairo/make/{cairo-1.6.4-1.sh → cairo-1.6.4-2.sh} +3 -3
- data/cairo/make/libpng-1.2.29.sh +35 -0
- data/cairo/manifest/cairo-1.6.4-2.mft +6 -0
- data/cairo/manifest/{cairo-dev-1.6.4-1.mft → cairo-dev-1.6.4-2.mft} +2 -2
- data/cairo/manifest/libpng-1.2.29.mft +2 -0
- data/cairo/manifest/libpng-dev-1.2.29.mft +12 -0
- data/cairo/share/doc/{cairo-1.6.4-1 → cairo-1.6.4-2}/COPYING +0 -0
- data/cairo/share/doc/{cairo-1.6.4-1 → cairo-1.6.4-2}/COPYING-LGPL-2.1 +0 -0
- data/cairo/share/doc/{cairo-1.6.4-1 → cairo-1.6.4-2}/COPYING-MPL-1.1 +0 -0
- data/cairo/share/man/man3/libpng.3 +3680 -0
- data/cairo/share/man/man3/libpngpf.3 +274 -0
- data/cairo/share/man/man5/png.5 +74 -0
- data/doc/en/cairo-antialias.html +0 -3
- data/doc/en/cairo-clip-not-representable-error.html +0 -3
- data/doc/en/cairo-color-base.html +0 -3
- data/doc/en/cairo-color-cmyk.html +0 -3
- data/doc/en/cairo-color-hsv.html +0 -3
- data/doc/en/cairo-color-rgb.html +0 -3
- data/doc/en/cairo-color-x11.html +0 -3
- data/doc/en/cairo-color.html +0 -3
- data/doc/en/cairo-content.html +0 -3
- data/doc/en/cairo-context-blur.html +0 -3
- data/doc/en/cairo-context-circle.html +0 -3
- data/doc/en/cairo-context-color.html +0 -3
- data/doc/en/cairo-context-path.html +0 -3
- data/doc/en/cairo-context-rectangle.html +0 -3
- data/doc/en/cairo-context-triangle.html +0 -3
- data/doc/en/cairo-context.html +119 -102
- data/doc/en/cairo-error.html +0 -3
- data/doc/en/cairo-extend.html +0 -3
- data/doc/en/cairo-file-not-found.html +0 -3
- data/doc/en/cairo-fill-rule.html +0 -3
- data/doc/en/cairo-filter.html +0 -3
- data/doc/en/cairo-font-extents.html +67 -12
- data/doc/en/cairo-font-face.html +0 -3
- data/doc/en/cairo-font-options.html +26 -14
- data/doc/en/cairo-font-slant.html +0 -3
- data/doc/en/cairo-font-type-mismatch.html +47 -0
- data/doc/en/cairo-font-weight.html +0 -3
- data/doc/en/cairo-format.html +0 -3
- data/doc/en/cairo-glyph.html +0 -3
- data/doc/en/cairo-gradient-pattern.html +0 -3
- data/doc/en/cairo-hint-metrics.html +0 -3
- data/doc/en/cairo-hint-style.html +0 -3
- data/doc/en/cairo-image-surface.html +0 -3
- data/doc/en/cairo-invalid-clusters.html +47 -0
- data/doc/en/cairo-invalid-content-error.html +0 -3
- data/doc/en/cairo-invalid-dash-error.html +0 -3
- data/doc/en/cairo-invalid-dsc-comment-error.html +0 -3
- data/doc/en/cairo-invalid-format-error.html +0 -3
- data/doc/en/cairo-invalid-index-error.html +0 -3
- data/doc/en/cairo-invalid-matrix-error.html +0 -3
- data/doc/en/cairo-invalid-path-data-error.html +0 -3
- data/doc/en/cairo-invalid-pop-group-error.html +0 -3
- data/doc/en/cairo-invalid-restore-error.html +0 -3
- data/doc/en/cairo-invalid-slant.html +47 -0
- data/doc/en/cairo-invalid-status-error.html +0 -3
- data/doc/en/cairo-invalid-stride-error.html +0 -3
- data/doc/en/cairo-invalid-string-error.html +0 -3
- data/doc/en/cairo-invalid-visual-error.html +0 -3
- data/doc/en/cairo-invalid-weight.html +47 -0
- data/doc/en/cairo-lcd-filter.html +39 -0
- data/doc/en/cairo-line-cap.html +0 -3
- data/doc/en/cairo-line-join.html +0 -3
- data/doc/en/cairo-linear-pattern.html +0 -3
- data/doc/en/cairo-matrix.html +43 -41
- data/doc/en/cairo-negative-count.html +47 -0
- data/doc/en/cairo-no-current-point-error.html +0 -3
- data/doc/en/cairo-null-pointer-error.html +0 -3
- data/doc/en/cairo-operator.html +0 -3
- data/doc/en/cairo-paper-parse-error.html +0 -3
- data/doc/en/cairo-paper-unknown-paper-name.html +0 -3
- data/doc/en/cairo-paper-unknown-unit.html +0 -3
- data/doc/en/cairo-paper-unrecognized-paper-description.html +0 -3
- data/doc/en/cairo-paper.html +0 -3
- data/doc/en/cairo-path-close-path.html +0 -3
- data/doc/en/cairo-path-curve-to.html +0 -3
- data/doc/en/cairo-path-data-type.html +0 -3
- data/doc/en/cairo-path-data.html +0 -3
- data/doc/en/cairo-path-line-to.html +0 -3
- data/doc/en/cairo-path-move-to.html +0 -3
- data/doc/en/cairo-path.html +0 -3
- data/doc/en/cairo-pattern-type-mismatch-error.html +0 -3
- data/doc/en/cairo-pattern.html +0 -3
- data/doc/en/cairo-pdf-surface.html +0 -3
- data/doc/en/cairo-point.html +0 -3
- data/doc/en/cairo-ps-level.html +0 -3
- data/doc/en/cairo-ps-surface.html +0 -3
- data/doc/en/cairo-quartz-image-surface.html +0 -3
- data/doc/en/cairo-quartz-surface.html +0 -3
- data/doc/en/cairo-radial-pattern.html +0 -3
- data/doc/en/cairo-read-error.html +0 -3
- data/doc/en/cairo-rectangle.html +0 -3
- data/doc/en/cairo-scaled-font.html +13 -6
- data/doc/en/cairo-solid-pattern.html +0 -3
- data/doc/en/cairo-subpixel-order.html +0 -3
- data/doc/en/cairo-surface-finished-error.html +0 -3
- data/doc/en/cairo-surface-pattern.html +0 -3
- data/doc/en/cairo-surface-type-mismatch-error.html +0 -3
- data/doc/en/cairo-surface.html +22 -15
- data/doc/en/cairo-svg-surface.html +0 -3
- data/doc/en/cairo-svg-version.html +0 -3
- data/doc/en/cairo-temp-file-error.html +0 -3
- data/doc/en/cairo-text-cluster.html +84 -0
- data/doc/en/cairo-text-extents.html +78 -13
- data/doc/en/cairo-toy-font-face.html +67 -0
- data/doc/en/cairo-user-font-error.html +47 -0
- data/doc/en/cairo-user-font-face-text-to-glyphs-data.html +94 -0
- data/doc/en/cairo-user-font-face.html +72 -0
- data/doc/en/cairo-user-font-immutable.html +47 -0
- data/doc/en/cairo-win32-printing-surface.html +0 -3
- data/doc/en/cairo-win32-surface.html +0 -3
- data/doc/en/cairo-write-error.html +0 -3
- data/doc/en/cairo.html +92 -80
- data/doc/en/index.html +327 -240
- data/doc/ja/cairo-clip-not-representable-error.html +1 -1
- data/doc/ja/cairo-color-base.html +1 -1
- data/doc/ja/cairo-color-cmyk.html +9 -9
- data/doc/ja/cairo-color-hsv.html +8 -8
- data/doc/ja/cairo-color-rgb.html +9 -9
- data/doc/ja/cairo-color.html +8 -8
- data/doc/ja/cairo-context-circle.html +1 -1
- data/doc/ja/cairo-context-color.html +1 -1
- data/doc/ja/cairo-context-path.html +2 -2
- data/doc/ja/cairo-context.html +435 -342
- data/doc/ja/cairo-font-extents.html +69 -15
- data/doc/ja/cairo-font-face.html +3 -3
- data/doc/ja/cairo-font-options.html +37 -12
- data/doc/ja/cairo-font-slant.html +1 -1
- data/doc/ja/cairo-font-type-mismatch.html +52 -0
- data/doc/ja/cairo-glyph.html +5 -5
- data/doc/ja/cairo-gradient-pattern.html +6 -6
- data/doc/ja/cairo-image-surface.html +8 -8
- data/doc/ja/cairo-invalid-clusters.html +55 -0
- data/doc/ja/cairo-invalid-restore-error.html +1 -1
- data/doc/ja/cairo-invalid-slant.html +57 -0
- data/doc/ja/cairo-invalid-weight.html +57 -0
- data/doc/ja/cairo-lcd-filter.html +63 -0
- data/doc/ja/cairo-line-join.html +1 -1
- data/doc/ja/cairo-linear-pattern.html +2 -2
- data/doc/ja/cairo-matrix.html +35 -24
- data/doc/ja/cairo-negative-count.html +52 -0
- data/doc/ja/cairo-paper-unknown-paper-name.html +2 -2
- data/doc/ja/cairo-paper-unknown-unit.html +2 -2
- data/doc/ja/cairo-paper-unrecognized-paper-description.html +1 -1
- data/doc/ja/cairo-paper.html +12 -12
- data/doc/ja/cairo-path-close-path.html +1 -1
- data/doc/ja/cairo-path-curve-to.html +1 -1
- data/doc/ja/cairo-path-data.html +8 -8
- data/doc/ja/cairo-path-line-to.html +1 -1
- data/doc/ja/cairo-path-move-to.html +1 -1
- data/doc/ja/cairo-path.html +21 -21
- data/doc/ja/cairo-pattern.html +4 -4
- data/doc/ja/cairo-pdf-surface.html +2 -2
- data/doc/ja/cairo-point.html +5 -5
- data/doc/ja/cairo-ps-level.html +2 -2
- data/doc/ja/cairo-ps-surface.html +6 -6
- data/doc/ja/cairo-quartz-image-surface.html +2 -2
- data/doc/ja/cairo-quartz-surface.html +3 -3
- data/doc/ja/cairo-radial-pattern.html +2 -2
- data/doc/ja/cairo-rectangle.html +5 -5
- data/doc/ja/cairo-scaled-font.html +53 -17
- data/doc/ja/cairo-solid-pattern.html +3 -3
- data/doc/ja/cairo-surface-pattern.html +2 -2
- data/doc/ja/cairo-surface.html +58 -36
- data/doc/ja/cairo-svg-surface.html +4 -4
- data/doc/ja/cairo-svg-version.html +2 -2
- data/doc/ja/cairo-text-cluster.html +102 -0
- data/doc/ja/cairo-text-extents.html +84 -22
- data/doc/ja/cairo-toy-font-face.html +107 -0
- data/doc/ja/cairo-user-font-error.html +55 -0
- data/doc/ja/cairo-user-font-face-text-to-glyphs-data.html +155 -0
- data/doc/ja/cairo-user-font-face.html +268 -0
- data/doc/ja/cairo-user-font-immutable.html +54 -0
- data/doc/ja/cairo-win32-printing-surface.html +3 -3
- data/doc/ja/cairo-win32-surface.html +4 -4
- data/doc/ja/cairo.html +110 -77
- data/doc/ja/index.html +292 -205
- data/extconf.rb +3 -1
- data/misc/update-colors.rb +0 -0
- data/pkg-config.rb +54 -28
- data/samples/agg/aa_test.rb +0 -0
- data/samples/blur.rb +0 -0
- data/samples/png.rb +0 -0
- data/samples/scalable.rb +0 -0
- data/samples/text-on-path.rb +0 -0
- data/samples/text2.rb +0 -0
- data/src/cairo.def +8 -0
- data/src/cairo.so +0 -0
- data/src/lib/cairo.rb +12 -7
- data/src/lib/cairo/constants.rb +1 -0
- data/src/libruby-cairo.a +0 -0
- data/src/rb_cairo.c +25 -3
- data/src/rb_cairo.h +29 -18
- data/src/rb_cairo_constants.c +39 -10
- data/src/rb_cairo_context.c +156 -15
- data/src/rb_cairo_exception.c +143 -3
- data/src/rb_cairo_font_extents.c +81 -6
- data/src/rb_cairo_font_face.c +646 -4
- data/src/rb_cairo_font_options.c +24 -2
- data/src/rb_cairo_glyph.c +5 -3
- data/src/rb_cairo_matrix.c +17 -1
- data/src/rb_cairo_pattern.c +4 -4
- data/src/rb_cairo_private.c +169 -5
- data/src/rb_cairo_private.h +45 -3
- data/src/rb_cairo_scaled_font.c +61 -3
- data/src/rb_cairo_surface.c +174 -59
- data/src/rb_cairo_text_cluster.c +151 -0
- data/src/rb_cairo_text_extents.c +85 -2
- data/test-unit/Rakefile +30 -0
- data/test-unit/bin/testrb +5 -0
- data/test-unit/lib/test/unit.rb +280 -0
- data/test-unit/lib/test/unit/assertionfailederror.rb +14 -0
- data/test-unit/lib/test/unit/assertions.rb +722 -0
- data/test-unit/lib/test/unit/attribute.rb +125 -0
- data/test-unit/lib/test/unit/autorunner.rb +254 -0
- data/test-unit/lib/test/unit/collector.rb +43 -0
- data/test-unit/lib/test/unit/collector/descendant.rb +23 -0
- data/test-unit/lib/test/unit/collector/dir.rb +108 -0
- data/test-unit/lib/test/unit/collector/load.rb +135 -0
- data/test-unit/lib/test/unit/collector/objectspace.rb +34 -0
- data/test-unit/lib/test/unit/color.rb +61 -0
- data/test-unit/lib/test/unit/diff.rb +524 -0
- data/test-unit/lib/test/unit/error.rb +124 -0
- data/test-unit/lib/test/unit/exceptionhandler.rb +39 -0
- data/test-unit/lib/test/unit/failure.rb +110 -0
- data/test-unit/lib/test/unit/fixture.rb +185 -0
- data/test-unit/lib/test/unit/notification.rb +125 -0
- data/test-unit/lib/test/unit/omission.rb +143 -0
- data/test-unit/lib/test/unit/pending.rb +146 -0
- data/test-unit/lib/test/unit/priority.rb +146 -0
- data/test-unit/lib/test/unit/runner/console.rb +46 -0
- data/test-unit/lib/test/unit/runner/emacs.rb +8 -0
- data/test-unit/lib/test/unit/testcase.rb +281 -0
- data/test-unit/lib/test/unit/testresult.rb +89 -0
- data/test-unit/lib/test/unit/testsuite.rb +110 -0
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +14 -0
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +195 -0
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +49 -0
- data/test-unit/lib/test/unit/ui/testrunner.rb +20 -0
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +77 -0
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +41 -0
- data/test-unit/lib/test/unit/util/backtracefilter.rb +41 -0
- data/test-unit/lib/test/unit/util/observable.rb +90 -0
- data/test-unit/lib/test/unit/util/procwrapper.rb +48 -0
- data/test-unit/lib/test/unit/version.rb +7 -0
- data/test-unit/sample/adder.rb +13 -0
- data/test-unit/sample/subtracter.rb +12 -0
- data/test-unit/sample/tc_adder.rb +18 -0
- data/test-unit/sample/tc_subtracter.rb +18 -0
- data/test-unit/sample/ts_examples.rb +7 -0
- data/test-unit/test/collector/test_descendant.rb +135 -0
- data/test-unit/test/collector/test_dir.rb +406 -0
- data/test-unit/test/collector/test_load.rb +333 -0
- data/test-unit/test/collector/test_objectspace.rb +98 -0
- data/test-unit/test/run-test.rb +13 -0
- data/test-unit/test/test_assertions.rb +693 -0
- data/test-unit/test/test_attribute.rb +86 -0
- data/test-unit/test/test_color.rb +37 -0
- data/test-unit/test/test_diff.rb +477 -0
- data/test-unit/test/test_emacs_runner.rb +60 -0
- data/test-unit/test/test_error.rb +26 -0
- data/test-unit/test/test_failure.rb +33 -0
- data/test-unit/test/test_fixture.rb +252 -0
- data/test-unit/test/test_notification.rb +33 -0
- data/test-unit/test/test_omission.rb +81 -0
- data/test-unit/test/test_pending.rb +70 -0
- data/test-unit/test/test_priority.rb +89 -0
- data/test-unit/test/test_testcase.rb +430 -0
- data/test-unit/test/test_testresult.rb +113 -0
- data/test-unit/test/test_testsuite.rb +129 -0
- data/test-unit/test/testunit_test_util.rb +14 -0
- data/test-unit/test/ui/test_testrunmediator.rb +20 -0
- data/test-unit/test/util/test_backtracefilter.rb +41 -0
- data/test-unit/test/util/test_observable.rb +102 -0
- data/test-unit/test/util/test_procwrapper.rb +36 -0
- data/test/cairo-test-utils.rb +18 -0
- data/test/run-test.rb +14 -1
- data/test/test_constants.rb +19 -0
- data/test/test_context.rb +117 -0
- data/test/test_exception.rb +27 -0
- data/test/test_font_extents.rb +36 -0
- data/test/test_font_face.rb +244 -0
- data/test/test_font_options.rb +32 -0
- data/test/test_pkg_config.rb +3 -2
- data/test/test_scaled_font.rb +34 -0
- data/test/test_surface.rb +41 -0
- data/test/test_text_cluster.rb +32 -0
- data/test/test_text_extents.rb +40 -0
- data/test/test_text_to_glyphs_data.rb +47 -0
- metadata +129 -109
- data/cairo/bin/libpng13.dll +0 -0
- data/cairo/lib/libpng13.dll.a +0 -0
- data/cairo/lib/pkgconfig/libpng13.pc +0 -14
- data/cairo/manifest/cairo-1.6.4-1.mft +0 -6
- data/cairo/manifest/libpng-dev-1.2.8.mft +0 -7
- data/doc/en/cairo-antialias.rd +0 -16
- data/doc/en/cairo-clip-not-representable-error.rd +0 -17
- data/doc/en/cairo-color-base.rd +0 -38
- data/doc/en/cairo-color-cmyk.rd +0 -107
- data/doc/en/cairo-color-hsv.rd +0 -91
- data/doc/en/cairo-color-rgb.rd +0 -95
- data/doc/en/cairo-color-x11.rd +0 -151
- data/doc/en/cairo-color.rd +0 -213
- data/doc/en/cairo-content.rd +0 -15
- data/doc/en/cairo-context-blur.rd +0 -15
- data/doc/en/cairo-context-circle.rd +0 -15
- data/doc/en/cairo-context-color.rd +0 -15
- data/doc/en/cairo-context-path.rd +0 -19
- data/doc/en/cairo-context-rectangle.rd +0 -15
- data/doc/en/cairo-context-triangle.rd +0 -15
- data/doc/en/cairo-context.rd +0 -491
- data/doc/en/cairo-error.rd +0 -16
- data/doc/en/cairo-extend.rd +0 -16
- data/doc/en/cairo-file-not-found.rd +0 -17
- data/doc/en/cairo-fill-rule.rd +0 -14
- data/doc/en/cairo-filter.rd +0 -18
- data/doc/en/cairo-font-extents.rd +0 -40
- data/doc/en/cairo-font-face.rd +0 -14
- data/doc/en/cairo-font-options.rd +0 -94
- data/doc/en/cairo-font-slant.rd +0 -15
- data/doc/en/cairo-font-weight.rd +0 -14
- data/doc/en/cairo-format.rd +0 -22
- data/doc/en/cairo-glyph.rd +0 -62
- data/doc/en/cairo-gradient-pattern.rd +0 -41
- data/doc/en/cairo-hint-metrics.rd +0 -15
- data/doc/en/cairo-hint-style.rd +0 -17
- data/doc/en/cairo-image-surface.rd +0 -47
- data/doc/en/cairo-invalid-content-error.rd +0 -17
- data/doc/en/cairo-invalid-dash-error.rd +0 -17
- data/doc/en/cairo-invalid-dsc-comment-error.rd +0 -17
- data/doc/en/cairo-invalid-format-error.rd +0 -17
- data/doc/en/cairo-invalid-index-error.rd +0 -17
- data/doc/en/cairo-invalid-matrix-error.rd +0 -17
- data/doc/en/cairo-invalid-path-data-error.rd +0 -17
- data/doc/en/cairo-invalid-pop-group-error.rd +0 -17
- data/doc/en/cairo-invalid-restore-error.rd +0 -17
- data/doc/en/cairo-invalid-status-error.rd +0 -17
- data/doc/en/cairo-invalid-stride-error.rd +0 -17
- data/doc/en/cairo-invalid-string-error.rd +0 -17
- data/doc/en/cairo-invalid-visual-error.rd +0 -17
- data/doc/en/cairo-line-cap.rd +0 -15
- data/doc/en/cairo-line-join.rd +0 -15
- data/doc/en/cairo-linear-pattern.rd +0 -28
- data/doc/en/cairo-matrix.rd +0 -186
- data/doc/en/cairo-no-current-point-error.rd +0 -17
- data/doc/en/cairo-null-pointer-error.rd +0 -17
- data/doc/en/cairo-operator.rd +0 -26
- data/doc/en/cairo-paper-parse-error.rd +0 -17
- data/doc/en/cairo-paper-unknown-paper-name.rd +0 -30
- data/doc/en/cairo-paper-unknown-unit.rd +0 -30
- data/doc/en/cairo-paper-unrecognized-paper-description.rd +0 -30
- data/doc/en/cairo-paper.rd +0 -141
- data/doc/en/cairo-path-close-path.rd +0 -21
- data/doc/en/cairo-path-curve-to.rd +0 -21
- data/doc/en/cairo-path-data-type.rd +0 -16
- data/doc/en/cairo-path-data.rd +0 -62
- data/doc/en/cairo-path-line-to.rd +0 -21
- data/doc/en/cairo-path-move-to.rd +0 -21
- data/doc/en/cairo-path.rd +0 -109
- data/doc/en/cairo-pattern-type-mismatch-error.rd +0 -17
- data/doc/en/cairo-pattern.rd +0 -62
- data/doc/en/cairo-pdf-surface.rd +0 -27
- data/doc/en/cairo-point.rd +0 -42
- data/doc/en/cairo-ps-level.rd +0 -24
- data/doc/en/cairo-ps-surface.rd +0 -55
- data/doc/en/cairo-quartz-image-surface.rd +0 -27
- data/doc/en/cairo-quartz-surface.rd +0 -27
- data/doc/en/cairo-radial-pattern.rd +0 -28
- data/doc/en/cairo-read-error.rd +0 -17
- data/doc/en/cairo-rectangle.rd +0 -54
- data/doc/en/cairo-scaled-font.rd +0 -50
- data/doc/en/cairo-solid-pattern.rd +0 -31
- data/doc/en/cairo-subpixel-order.rd +0 -17
- data/doc/en/cairo-surface-finished-error.rd +0 -17
- data/doc/en/cairo-surface-pattern.rd +0 -27
- data/doc/en/cairo-surface-type-mismatch-error.rd +0 -17
- data/doc/en/cairo-surface.rd +0 -72
- data/doc/en/cairo-svg-surface.rd +0 -44
- data/doc/en/cairo-svg-version.rd +0 -24
- data/doc/en/cairo-temp-file-error.rd +0 -17
- data/doc/en/cairo-text-extents.rd +0 -44
- data/doc/en/cairo-win32-printing-surface.rd +0 -27
- data/doc/en/cairo-win32-surface.rd +0 -31
- data/doc/en/cairo-write-error.rd +0 -17
- data/doc/en/cairo.rd +0 -95
- data/doc/en/index.rd +0 -1051
- data/samples/agg/aa_demo.rb +0 -47
@@ -0,0 +1,55 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
|
6
|
+
<head>
|
7
|
+
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
|
8
|
+
<title>Cairo::InvalidClustersクラス</title>
|
9
|
+
<link href="../doc.css" type="text/css" rel="stylesheet" />
|
10
|
+
</head>
|
11
|
+
<div class="footer">
|
12
|
+
<ul>
|
13
|
+
<li><a href="./">索引</a></li>
|
14
|
+
</ul>
|
15
|
+
|
16
|
+
</div>
|
17
|
+
</body>
|
18
|
+
|
19
|
+
<h1><a name="label-0" id="label-0">Cairo::InvalidClustersクラス</a></h1><!-- RDLabel: "Cairo::InvalidClustersクラス" -->
|
20
|
+
<p><em>Since 1.7</em>: 指定したクラスタが一緒に指定したテキストと
|
21
|
+
グリフの配列を表現していない場合に発生します。</p>
|
22
|
+
<h2><a name="label-1" id="label-1">オブジェクト階層</a></h2><!-- RDLabel: "オブジェクト階層" -->
|
23
|
+
<ul>
|
24
|
+
<li>Object
|
25
|
+
<ul>
|
26
|
+
<li>Exception
|
27
|
+
<ul>
|
28
|
+
<li>StandardError
|
29
|
+
<ul>
|
30
|
+
<li>ArgumentError
|
31
|
+
<ul>
|
32
|
+
<li>Cairo::InvalidClusters</li>
|
33
|
+
</ul></li>
|
34
|
+
</ul></li>
|
35
|
+
</ul></li>
|
36
|
+
</ul></li>
|
37
|
+
</ul>
|
38
|
+
<h2><a name="label-2" id="label-2">参考</a></h2><!-- RDLabel: "参考" -->
|
39
|
+
<ul>
|
40
|
+
<li><a href="cairo-text-cluster.html">Cairo::TextCluster</a></li>
|
41
|
+
</ul>
|
42
|
+
<h2><a name="label-3" id="label-3">変更履歴</a></h2><!-- RDLabel: "変更履歴" -->
|
43
|
+
<ul>
|
44
|
+
<li>2008-08-17: kou: スタート。</li>
|
45
|
+
</ul>
|
46
|
+
|
47
|
+
<div class="footer">
|
48
|
+
<ul>
|
49
|
+
<li><a href="./">索引</a></li>
|
50
|
+
</ul>
|
51
|
+
|
52
|
+
</div>
|
53
|
+
</body>
|
54
|
+
|
55
|
+
</html>
|
@@ -17,7 +17,7 @@
|
|
17
17
|
</body>
|
18
18
|
|
19
19
|
<h1><a name="label-0" id="label-0">Cairo::InvalidRestoreErrorクラス</a></h1><!-- RDLabel: "Cairo::InvalidRestoreErrorクラス" -->
|
20
|
-
<p>対応する<a href="cairo-context.html#label-
|
20
|
+
<p>対応する<a href="cairo-context.html#label-96">Cairo::Context#save</a>がない<a href="cairo-context.html#label-94">Cairo::Context#restore</a>を呼
|
21
21
|
んだときに発生します。</p>
|
22
22
|
<h2><a name="label-1" id="label-1">オブジェクト階層</a></h2><!-- RDLabel: "オブジェクト階層" -->
|
23
23
|
<ul>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
|
6
|
+
<head>
|
7
|
+
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
|
8
|
+
<title>Cairo::InvalidSlantクラス</title>
|
9
|
+
<link href="../doc.css" type="text/css" rel="stylesheet" />
|
10
|
+
</head>
|
11
|
+
<div class="footer">
|
12
|
+
<ul>
|
13
|
+
<li><a href="./">索引</a></li>
|
14
|
+
</ul>
|
15
|
+
|
16
|
+
</div>
|
17
|
+
</body>
|
18
|
+
|
19
|
+
<h1><a name="label-0" id="label-0">Cairo::InvalidSlantクラス</a></h1><!-- RDLabel: "Cairo::InvalidSlantクラス" -->
|
20
|
+
<p><em>Since 1.7</em>: 入力した<a href="cairo-font-slant.html">Cairo::FontSlant</a>が不正な値のときに
|
21
|
+
発生します。</p>
|
22
|
+
<h2><a name="label-1" id="label-1">オブジェクト階層</a></h2><!-- RDLabel: "オブジェクト階層" -->
|
23
|
+
<ul>
|
24
|
+
<li>Object
|
25
|
+
<ul>
|
26
|
+
<li>Exception
|
27
|
+
<ul>
|
28
|
+
<li>StandardError
|
29
|
+
<ul>
|
30
|
+
<li><a href="cairo-error.html">Cairo::Error</a>
|
31
|
+
<ul>
|
32
|
+
<li>Cairo::InvalidSlant</li>
|
33
|
+
</ul></li>
|
34
|
+
</ul></li>
|
35
|
+
</ul></li>
|
36
|
+
</ul></li>
|
37
|
+
</ul>
|
38
|
+
<h2><a name="label-2" id="label-2">参考</a></h2><!-- RDLabel: "参考" -->
|
39
|
+
<ul>
|
40
|
+
<li><a href="cairo-font-slant.html">Cairo::FontSlant</a></li>
|
41
|
+
<li><a href="cairo-context.html#label-102">Cairo::Context#select_font_face</a></li>
|
42
|
+
<li><a href="cairo-toy-font-face.html">Cairo::ToyFontFace</a></li>
|
43
|
+
</ul>
|
44
|
+
<h2><a name="label-3" id="label-3">変更履歴</a></h2><!-- RDLabel: "変更履歴" -->
|
45
|
+
<ul>
|
46
|
+
<li>2008-08-17: kou: スタート。</li>
|
47
|
+
</ul>
|
48
|
+
|
49
|
+
<div class="footer">
|
50
|
+
<ul>
|
51
|
+
<li><a href="./">索引</a></li>
|
52
|
+
</ul>
|
53
|
+
|
54
|
+
</div>
|
55
|
+
</body>
|
56
|
+
|
57
|
+
</html>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
|
6
|
+
<head>
|
7
|
+
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
|
8
|
+
<title>Cairo::InvalidWeightクラス</title>
|
9
|
+
<link href="../doc.css" type="text/css" rel="stylesheet" />
|
10
|
+
</head>
|
11
|
+
<div class="footer">
|
12
|
+
<ul>
|
13
|
+
<li><a href="./">索引</a></li>
|
14
|
+
</ul>
|
15
|
+
|
16
|
+
</div>
|
17
|
+
</body>
|
18
|
+
|
19
|
+
<h1><a name="label-0" id="label-0">Cairo::InvalidWeightクラス</a></h1><!-- RDLabel: "Cairo::InvalidWeightクラス" -->
|
20
|
+
<p><em>Since 1.7</em>: 入力した<a href="cairo-font-weight.html">Cairo::FontWeight</a>が不正な値のときに
|
21
|
+
発生します。</p>
|
22
|
+
<h2><a name="label-1" id="label-1">オブジェクト階層</a></h2><!-- RDLabel: "オブジェクト階層" -->
|
23
|
+
<ul>
|
24
|
+
<li>Object
|
25
|
+
<ul>
|
26
|
+
<li>Exception
|
27
|
+
<ul>
|
28
|
+
<li>StandardError
|
29
|
+
<ul>
|
30
|
+
<li>ArgumentError
|
31
|
+
<ul>
|
32
|
+
<li>Cairo::InvalidWeight</li>
|
33
|
+
</ul></li>
|
34
|
+
</ul></li>
|
35
|
+
</ul></li>
|
36
|
+
</ul></li>
|
37
|
+
</ul>
|
38
|
+
<h2><a name="label-2" id="label-2">参考</a></h2><!-- RDLabel: "参考" -->
|
39
|
+
<ul>
|
40
|
+
<li><a href="cairo-font-weight.html">Cairo::FontWeight</a></li>
|
41
|
+
<li><a href="cairo-context.html#label-102">Cairo::Context#select_font_face</a></li>
|
42
|
+
<li><a href="cairo-toy-font-face.html">Cairo::ToyFontFace</a></li>
|
43
|
+
</ul>
|
44
|
+
<h2><a name="label-3" id="label-3">変更履歴</a></h2><!-- RDLabel: "変更履歴" -->
|
45
|
+
<ul>
|
46
|
+
<li>2008-08-17: kou: スタート。</li>
|
47
|
+
</ul>
|
48
|
+
|
49
|
+
<div class="footer">
|
50
|
+
<ul>
|
51
|
+
<li><a href="./">索引</a></li>
|
52
|
+
</ul>
|
53
|
+
|
54
|
+
</div>
|
55
|
+
</body>
|
56
|
+
|
57
|
+
</html>
|
@@ -0,0 +1,63 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
|
6
|
+
<head>
|
7
|
+
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
|
8
|
+
<title>Cairo::LCDFilterモジュール</title>
|
9
|
+
<link href="../doc.css" type="text/css" rel="stylesheet" />
|
10
|
+
</head>
|
11
|
+
<div class="footer">
|
12
|
+
<ul>
|
13
|
+
<li><a href="./">索引</a></li>
|
14
|
+
</ul>
|
15
|
+
|
16
|
+
</div>
|
17
|
+
</body>
|
18
|
+
|
19
|
+
<h1><a name="label-0" id="label-0">Cairo::LCDFilterモジュール</a></h1><!-- RDLabel: "Cairo::LCDFilterモジュール" -->
|
20
|
+
<p><em>Since 1.7</em>: <a href="cairo-lcd-filter.html">Cairo::LCDFilter</a>に定義されている定数は、
|
21
|
+
<a href="cairo-antialias.html#label-5">Cairo::Antialias::SUBPIXEL</a>アンチエイリアスモードでLCD(液晶ディ
|
22
|
+
スプレイ)に最適化されたビットマップを生成する時に適用するロー
|
23
|
+
パスフィルタ(low-pass filter)を指定します。</p>
|
24
|
+
<h2><a name="label-1" id="label-1">定数</a></h2><!-- RDLabel: "定数" -->
|
25
|
+
<dl>
|
26
|
+
<dt><a name="label-2" id="label-2"><code>DEFAULT</code></a></dt><!-- RDLabel: "DEFAULT" -->
|
27
|
+
<dd>
|
28
|
+
フォントバックエンドと対象装置のデフォルトLCDフィルタを
|
29
|
+
使います。</dd>
|
30
|
+
<dt><a name="label-3" id="label-3"><code>FIR3</code></a></dt><!-- RDLabel: "FIR3" -->
|
31
|
+
<dd>
|
32
|
+
周辺3x3ピクセル(あってる?FIXME: with a 3x3 kernel)で
|
33
|
+
有限インパルス応答フィルタ(FIRフィルタ)を使います。</dd>
|
34
|
+
<dt><a name="label-4" id="label-4"><code>FIR5</code></a></dt><!-- RDLabel: "FIR5" -->
|
35
|
+
<dd>
|
36
|
+
周辺5x5ピクセル(あってる?FIXME: with a 5x5 kernel)で
|
37
|
+
有限インパルス応答フィルタ(FIRフィルタ)を使います。</dd>
|
38
|
+
<dt><a name="label-5" id="label-5"><code>INTRA_PIXEL</code></a></dt><!-- RDLabel: "INTRA_PIXEL" -->
|
39
|
+
<dd>
|
40
|
+
ピクセル内フィルタ(あってる?FIXME: intra-pixel filter)
|
41
|
+
を使います。</dd>
|
42
|
+
<dt><a name="label-6" id="label-6"><code>NONE</code></a></dt><!-- RDLabel: "NONE" -->
|
43
|
+
<dd>
|
44
|
+
LCDフィルタを実行しません。</dd>
|
45
|
+
</dl>
|
46
|
+
<h2><a name="label-7" id="label-7">参考</a></h2><!-- RDLabel: "参考" -->
|
47
|
+
<ul>
|
48
|
+
<li><a href="cairo-antialias.html#label-5">Cairo::Antialias::SUBPIXEL</a></li>
|
49
|
+
</ul>
|
50
|
+
<h2><a name="label-8" id="label-8">変更履歴</a></h2><!-- RDLabel: "変更履歴" -->
|
51
|
+
<ul>
|
52
|
+
<li>2008-08-17: kou: スタート。</li>
|
53
|
+
</ul>
|
54
|
+
|
55
|
+
<div class="footer">
|
56
|
+
<ul>
|
57
|
+
<li><a href="./">索引</a></li>
|
58
|
+
</ul>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
</body>
|
62
|
+
|
63
|
+
</html>
|
data/doc/ja/cairo-line-join.html
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
<dt><a name="label-3" id="label-3"><code>MITER</code></a></dt><!-- RDLabel: "MITER" -->
|
29
29
|
<dd>
|
30
30
|
尖った(角度の付いた)角を使います。
|
31
|
-
<a href="cairo-context.html#label-
|
31
|
+
<a href="cairo-context.html#label-75">Cairo::Context#set_miter_limit</a>を見てください。</dd>
|
32
32
|
<dt><a name="label-4" id="label-4"><code>ROUND</code></a></dt><!-- RDLabel: "ROUND" -->
|
33
33
|
<dd>
|
34
34
|
丸い結合を使います。円の中心は結合点です。</dd>
|
@@ -48,7 +48,7 @@
|
|
48
48
|
<li>y0: 始点のY座標</li>
|
49
49
|
<li>x1: 終点のX座標</li>
|
50
50
|
<li>y1: 終点のY座標</li>
|
51
|
-
<li
|
51
|
+
<li>戻り値: 新しく作成した<a href="cairo-linear-pattern.html">Cairo::LinearPattern</a>オブジェク
|
52
52
|
ト。</li>
|
53
53
|
</ul></dd>
|
54
54
|
</dl>
|
@@ -58,7 +58,7 @@
|
|
58
58
|
<dd>
|
59
59
|
線形グラデーションのグラデーション終点を返します。
|
60
60
|
<ul>
|
61
|
-
<li
|
61
|
+
<li>戻り値: <code>[x0, y0, x1, y1]</code>
|
62
62
|
<ul>
|
63
63
|
<li>x0: 始点のX座標</li>
|
64
64
|
<li>y0: 始点のY座標</li>
|
data/doc/ja/cairo-matrix.html
CHANGED
@@ -34,7 +34,7 @@ y_new = yx * x + yy * y + y0</pre>
|
|
34
34
|
<dd>
|
35
35
|
恒等変換をする行列を生成します。
|
36
36
|
<ul>
|
37
|
-
<li
|
37
|
+
<li>戻り値: 単位行列の<a href="cairo-matrix.html">Cairo::Matrix</a>オブジェクト。</li>
|
38
38
|
</ul></dd>
|
39
39
|
<dt><a name="label-4" id="label-4"><code>Cairo::Matrix.new(<var>xx</var>, <var>yx</var>, <var>xy</var>, <var>yy</var>, <var>x0</var>, <var>y0</var>)</code></a></dt><!-- RDLabel: "Cairo::Matrix.new" -->
|
40
40
|
<dd>
|
@@ -46,7 +46,7 @@ y_new = yx * x + yy * y + y0</pre>
|
|
46
46
|
<li>yy: アフィン変換のyy成分。</li>
|
47
47
|
<li>x0: アフィン変換のX平行移動成分。</li>
|
48
48
|
<li>y0: アフィン変換のY平行移動成分。</li>
|
49
|
-
<li
|
49
|
+
<li>戻り値: <a href="cairo-matrix.html">Cairo::Matrix</a>オブジェクト。</li>
|
50
50
|
</ul></dd>
|
51
51
|
<dt><a name="label-5" id="label-5"><code>Cairo::Matrix.rotate(<var>radians</var>)</code></a></dt><!-- RDLabel: "Cairo::Matrix.rotate" -->
|
52
52
|
<dd>
|
@@ -56,7 +56,7 @@ y_new = yx * x + yy * y + y0</pre>
|
|
56
56
|
のY軸に進む方向に回転します。cairoのデフォルトの軸の
|
57
57
|
方向と同じように、正の角度は時計回りに回転します(?
|
58
58
|
FIXME: 逆じゃない?)。</li>
|
59
|
-
<li
|
59
|
+
<li>戻り値: <a href="cairo-matrix.html">Cairo::Matrix</a>オブジェクト。</li>
|
60
60
|
</ul></dd>
|
61
61
|
<dt><a name="label-6" id="label-6"><code>Cairo::Matrix.scale(<var>sx</var>, <var>sy</var>)</code></a></dt><!-- RDLabel: "Cairo::Matrix.scale" -->
|
62
62
|
<dd>
|
@@ -64,7 +64,7 @@ X方向に<var>sx</var>、Y方向に<var>sy</var>拡大する行列を返しま
|
|
64
64
|
<ul>
|
65
65
|
<li>sx: X方向の拡大率。</li>
|
66
66
|
<li>sy: Y方向の拡大率。</li>
|
67
|
-
<li
|
67
|
+
<li>戻り値: <a href="cairo-matrix.html">Cairo::Matrix</a>オブジェクト。</li>
|
68
68
|
</ul></dd>
|
69
69
|
<dt><a name="label-7" id="label-7"><code>Cairo::Matrix.translate(<var>tx</var>, <var>ty</var>)</code></a></dt><!-- RDLabel: "Cairo::Matrix.translate" -->
|
70
70
|
<dd>
|
@@ -73,7 +73,7 @@ X方向に<var>tx</var>、Y方向に<var>ty</var>平行移動を行う行列を
|
|
73
73
|
<ul>
|
74
74
|
<li>tx: X方向の平行移動量。</li>
|
75
75
|
<li>ty: Y方向の平行移動量。</li>
|
76
|
-
<li
|
76
|
+
<li>戻り値: <a href="cairo-matrix.html">Cairo::Matrix</a>オブジェクト。</li>
|
77
77
|
</ul></dd>
|
78
78
|
</dl>
|
79
79
|
<h2><a name="label-8" id="label-8">インタンスメソッド</a></h2><!-- RDLabel: "インタンスメソッド" -->
|
@@ -82,7 +82,7 @@ X方向に<var>tx</var>、Y方向に<var>ty</var>平行移動を行う行列を
|
|
82
82
|
<dd>
|
83
83
|
アフィン変換のxx成分を返します。
|
84
84
|
<ul>
|
85
|
-
<li
|
85
|
+
<li>戻り値: アフィン変換のxx成分。</li>
|
86
86
|
</ul></dd>
|
87
87
|
<dt><a name="label-10" id="label-10"><code>xx=(<var>xx</var>)</code></a></dt><!-- RDLabel: "xx=" -->
|
88
88
|
<dt><a name="label-11" id="label-11"><code>set_xx(<var>xx</var>)</code></a></dt><!-- RDLabel: "set_xx" -->
|
@@ -95,7 +95,7 @@ X方向に<var>tx</var>、Y方向に<var>ty</var>平行移動を行う行列を
|
|
95
95
|
<dd>
|
96
96
|
アフィン変換のyx成分を返します。
|
97
97
|
<ul>
|
98
|
-
<li
|
98
|
+
<li>戻り値: アフィン変換のyx成分。</li>
|
99
99
|
</ul></dd>
|
100
100
|
<dt><a name="label-13" id="label-13"><code>yx=(<var>yx</var>)</code></a></dt><!-- RDLabel: "yx=" -->
|
101
101
|
<dt><a name="label-14" id="label-14"><code>set_yx(<var>yx</var>)</code></a></dt><!-- RDLabel: "set_yx" -->
|
@@ -108,7 +108,7 @@ X方向に<var>tx</var>、Y方向に<var>ty</var>平行移動を行う行列を
|
|
108
108
|
<dd>
|
109
109
|
アフィン変換のxy成分を返します。
|
110
110
|
<ul>
|
111
|
-
<li
|
111
|
+
<li>戻り値: アフィン変換のxy成分。</li>
|
112
112
|
</ul></dd>
|
113
113
|
<dt><a name="label-16" id="label-16"><code>xy=(<var>xy</var>)</code></a></dt><!-- RDLabel: "xy=" -->
|
114
114
|
<dt><a name="label-17" id="label-17"><code>set_xy(<var>xy</var>)</code></a></dt><!-- RDLabel: "set_xy" -->
|
@@ -121,7 +121,7 @@ X方向に<var>tx</var>、Y方向に<var>ty</var>平行移動を行う行列を
|
|
121
121
|
<dd>
|
122
122
|
アフィン変換のyy成分を返します。
|
123
123
|
<ul>
|
124
|
-
<li
|
124
|
+
<li>戻り値: アフィン変換のyy成分。</li>
|
125
125
|
</ul></dd>
|
126
126
|
<dt><a name="label-19" id="label-19"><code>yy=(<var>yy</var>)</code></a></dt><!-- RDLabel: "yy=" -->
|
127
127
|
<dt><a name="label-20" id="label-20"><code>set_yy(<var>yy</var>)</code></a></dt><!-- RDLabel: "set_yy" -->
|
@@ -134,7 +134,7 @@ X方向に<var>tx</var>、Y方向に<var>ty</var>平行移動を行う行列を
|
|
134
134
|
<dd>
|
135
135
|
アフィン変換のX平行移動成分を返します。
|
136
136
|
<ul>
|
137
|
-
<li
|
137
|
+
<li>戻り値: アフィン変換のX平行移動成分。</li>
|
138
138
|
</ul></dd>
|
139
139
|
<dt><a name="label-22" id="label-22"><code>x0=(<var>x0</var>)</code></a></dt><!-- RDLabel: "x0=" -->
|
140
140
|
<dt><a name="label-23" id="label-23"><code>set_x0(<var>x0</var>)</code></a></dt><!-- RDLabel: "set_x0" -->
|
@@ -147,7 +147,7 @@ X方向に<var>tx</var>、Y方向に<var>ty</var>平行移動を行う行列を
|
|
147
147
|
<dd>
|
148
148
|
アフィン変換のY平行移動成分を返します。
|
149
149
|
<ul>
|
150
|
-
<li
|
150
|
+
<li>戻り値: アフィン変換のY平行移動成分。</li>
|
151
151
|
</ul></dd>
|
152
152
|
<dt><a name="label-25" id="label-25"><code>y0=(<var>y0</var>)</code></a></dt><!-- RDLabel: "y0=" -->
|
153
153
|
<dt><a name="label-26" id="label-26"><code>set_y0(<var>y0</var>)</code></a></dt><!-- RDLabel: "set_y0" -->
|
@@ -161,13 +161,13 @@ X方向に<var>tx</var>、Y方向に<var>ty</var>平行移動を行う行列を
|
|
161
161
|
複製を返します。<var>self</var>が凍結されているオブジェクト
|
162
162
|
なら複製されたオブジェクトも凍結されています。
|
163
163
|
<ul>
|
164
|
-
<li
|
164
|
+
<li>戻り値: <a href="cairo-matrix.html">Cairo::Matrix</a>オブジェクト。</li>
|
165
165
|
</ul></dd>
|
166
166
|
<dt><a name="label-28" id="label-28"><code>dup</code></a></dt><!-- RDLabel: "dup" -->
|
167
167
|
<dd>
|
168
168
|
複製を返します。
|
169
169
|
<ul>
|
170
|
-
<li
|
170
|
+
<li>戻り値: <a href="cairo-matrix.html">Cairo::Matrix</a>オブジェクト。</li>
|
171
171
|
</ul></dd>
|
172
172
|
<dt><a name="label-29" id="label-29"><code>identity!</code></a></dt><!-- RDLabel: "identity!" -->
|
173
173
|
<dd>
|
@@ -179,7 +179,7 @@ X方向に<var>tx</var>、Y方向に<var>ty</var>平行移動を行う行列を
|
|
179
179
|
(FIXME))逆行列がなく、<a href="cairo-invalid-matrix-error.html">Cairo::InvalidMatrixError</a>例外
|
180
180
|
が発生します。
|
181
181
|
<ul>
|
182
|
-
<li
|
182
|
+
<li>戻り値: <a href="cairo-matrix.html">Cairo::Matrix</a>オブジェクト。</li>
|
183
183
|
</ul></dd>
|
184
184
|
<dt><a name="label-31" id="label-31"><code>invert!</code></a></dt><!-- RDLabel: "invert!" -->
|
185
185
|
<dd>
|
@@ -193,7 +193,7 @@ X方向に<var>tx</var>、Y方向に<var>ty</var>平行移動を行う行列を
|
|
193
193
|
しい変換を返します。
|
194
194
|
<ul>
|
195
195
|
<li>other: <a href="cairo-matrix.html">Cairo::Matrix</a>オブジェクト。</li>
|
196
|
-
<li
|
196
|
+
<li>戻り値: <a href="cairo-matrix.html">Cairo::Matrix</a>オブジェクト。</li>
|
197
197
|
</ul></dd>
|
198
198
|
<dt><a name="label-34" id="label-34"><code>multiply!(<var>other</var>)</code></a></dt><!-- RDLabel: "multiply!" -->
|
199
199
|
<dd>
|
@@ -211,7 +211,7 @@ X方向に<var>tx</var>、Y方向に<var>ty</var>平行移動を行う行列を
|
|
211
211
|
のY軸に進む方向に回転します。cairoのデフォルトの軸の
|
212
212
|
方向と同じように、正の角度は時計回りに回転します(?
|
213
213
|
FIXME: 逆じゃない?)。</li>
|
214
|
-
<li
|
214
|
+
<li>戻り値: <a href="cairo-matrix.html">Cairo::Matrix</a>オブジェクト。</li>
|
215
215
|
</ul></dd>
|
216
216
|
<dt><a name="label-36" id="label-36"><code>rotate!(<var>radians</var>)</code></a></dt><!-- RDLabel: "rotate!" -->
|
217
217
|
<dd>
|
@@ -231,7 +231,7 @@ X方向に<var>sx</var>、Y方向に<var>sy</var>拡大する変換を適用し
|
|
231
231
|
<ul>
|
232
232
|
<li>sx: X方向の拡大率。</li>
|
233
233
|
<li>sy: Y方向の拡大率。</li>
|
234
|
-
<li
|
234
|
+
<li>戻り値: <a href="cairo-matrix.html">Cairo::Matrix</a>オブジェクト。</li>
|
235
235
|
</ul></dd>
|
236
236
|
<dt><a name="label-38" id="label-38"><code>scale!(<var>sx</var>, <var>sy</var>)</code></a></dt><!-- RDLabel: "scale!" -->
|
237
237
|
<dd>
|
@@ -255,7 +255,7 @@ X方向に<var>sx</var>、Y方向に<var>sy</var>拡大する変換を適用し
|
|
255
255
|
<dd>
|
256
256
|
各成分を配列として返します。
|
257
257
|
<ul>
|
258
|
-
<li
|
258
|
+
<li>戻り値: <code>[xx, yx, xy, yy, x0, y0]</code>
|
259
259
|
<ul>
|
260
260
|
<li>xx: アフィン変換のxx成分。</li>
|
261
261
|
<li>yx: アフィン変換のyx成分。</li>
|
@@ -269,7 +269,7 @@ X方向に<var>sx</var>、Y方向に<var>sy</var>拡大する変換を適用し
|
|
269
269
|
<dd>
|
270
270
|
文字列に変換します。
|
271
271
|
<ul>
|
272
|
-
<li
|
272
|
+
<li>戻り値: 文字列表現の<a href="cairo-matrix.html">Cairo::Matrix</a>オブジェクト。</li>
|
273
273
|
</ul></dd>
|
274
274
|
<dt><a name="label-42" id="label-42"><code>transform_distance(<var>dx</var>, <var>dy</var>)</code></a></dt><!-- RDLabel: "transform_distance" -->
|
275
275
|
<dd>
|
@@ -287,7 +287,7 @@ dy2 = dx * b + dy * d;</pre>
|
|
287
287
|
<ul>
|
288
288
|
<li>dx: 距離ベクトルのX成分。</li>
|
289
289
|
<li>dy: 距離ベクトルのY成分。</li>
|
290
|
-
<li
|
290
|
+
<li>戻り値: <code>[dx2, dy2]</code>
|
291
291
|
<ul>
|
292
292
|
<li>dx2: 変換された距離ベクトルのX成分。</li>
|
293
293
|
<li>dy2: 変換された距離ベクトルのY成分。</li>
|
@@ -299,7 +299,7 @@ dy2 = dx * b + dy * d;</pre>
|
|
299
299
|
<ul>
|
300
300
|
<li>x: X座標。</li>
|
301
301
|
<li>y: Y座標。</li>
|
302
|
-
<li
|
302
|
+
<li>戻り値: <code>[x2, y2]</code>
|
303
303
|
<ul>
|
304
304
|
<li>x2: 変換されたX座標。</li>
|
305
305
|
<li>y2: 変換されたY座標。</li>
|
@@ -313,7 +313,7 @@ X方向に<var>tx</var>、Y方向に<var>ty</var>平行移動を行う行列を
|
|
313
313
|
<ul>
|
314
314
|
<li>tx: X方向の平行移動量。</li>
|
315
315
|
<li>ty: Y方向の平行移動量。</li>
|
316
|
-
<li
|
316
|
+
<li>戻り値: <a href="cairo-matrix.html">Cairo::Matrix</a>オブジェクト。</li>
|
317
317
|
</ul></dd>
|
318
318
|
<dt><a name="label-45" id="label-45"><code>translate!(<var>tx</var>, <var>ty</var>)</code></a></dt><!-- RDLabel: "translate!" -->
|
319
319
|
<dd>
|
@@ -322,13 +322,24 @@ X方向に<var>tx</var>、Y方向に<var>ty</var>平行移動を行う行列を
|
|
322
322
|
<li>tx: X方向の平行移動量。</li>
|
323
323
|
<li>ty: Y方向の平行移動量。</li>
|
324
324
|
</ul></dd>
|
325
|
+
<dt><a name="label-46" id="label-46"><code>==(<var>other</var>)</code></a></dt><!-- RDLabel: "==" -->
|
326
|
+
<dd>
|
327
|
+
<p><em>Since 1.7</em>: <var>other</var>が<a href="cairo-matrix.html">Cairo::Matrix</a>オブ
|
328
|
+
ジェクトで、xx, yx, xy, yy, x0, y0それぞれが<code>==</code>だっ
|
329
|
+
た場合に<code>true</code>を返します。</p>
|
330
|
+
<ul>
|
331
|
+
<li>other: 比較対象のオブジェクト。</li>
|
332
|
+
<li>戻り値: <code>self</code>と<code>other</code>が等しければ</li>
|
333
|
+
</ul>
|
334
|
+
<p><code>true</code>、そうでなければ<code>false</code>。</p></dd>
|
325
335
|
</dl>
|
326
|
-
<h2><a name="label-
|
336
|
+
<h2><a name="label-47" id="label-47">参考</a></h2><!-- RDLabel: "参考" -->
|
327
337
|
<ul>
|
328
338
|
<li><a href="index.html#label-0">索引</a></li>
|
329
339
|
</ul>
|
330
|
-
<h2><a name="label-
|
340
|
+
<h2><a name="label-48" id="label-48">変更履歴</a></h2><!-- RDLabel: "変更履歴" -->
|
331
341
|
<ul>
|
342
|
+
<li>2008-08-17: kou: rcairo 1.7対応。</li>
|
332
343
|
<li>2007-05-21: kou: スタート。</li>
|
333
344
|
</ul>
|
334
345
|
|