cairo 1.6.1-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/AUTHORS +4 -0
- data/COPYING +59 -0
- data/ChangeLog +1320 -0
- data/GPL +340 -0
- data/NEWS +98 -0
- data/README +70 -0
- data/Rakefile +215 -0
- data/cairo/bin/libcairo-2.dll +0 -0
- data/cairo/bin/libpng13.dll +0 -0
- data/cairo/bin/zlib1.dll +0 -0
- data/cairo/include/cairo/cairo-deprecated.h +142 -0
- data/cairo/include/cairo/cairo-features.h +35 -0
- data/cairo/include/cairo/cairo-pdf.h +68 -0
- data/cairo/include/cairo/cairo-ps.h +114 -0
- data/cairo/include/cairo/cairo-svg.h +82 -0
- data/cairo/include/cairo/cairo-win32.h +104 -0
- data/cairo/include/cairo/cairo.h +1945 -0
- data/cairo/include/libpng13/png.h +3419 -0
- data/cairo/include/libpng13/pngconf.h +1437 -0
- data/cairo/lib/cairo.def +251 -0
- data/cairo/lib/cairo.lib +0 -0
- data/cairo/lib/libcairo.dll.a +0 -0
- data/cairo/lib/libpng.def +372 -0
- data/cairo/lib/libpng13.dll.a +0 -0
- data/cairo/lib/pkgconfig/cairo-pdf.pc +12 -0
- data/cairo/lib/pkgconfig/cairo-png.pc +12 -0
- data/cairo/lib/pkgconfig/cairo-ps.pc +12 -0
- data/cairo/lib/pkgconfig/cairo-svg.pc +12 -0
- data/cairo/lib/pkgconfig/cairo-win32-font.pc +12 -0
- data/cairo/lib/pkgconfig/cairo-win32.pc +12 -0
- data/cairo/lib/pkgconfig/cairo.pc +13 -0
- data/cairo/lib/pkgconfig/libpng.pc +14 -0
- data/cairo/lib/pkgconfig/libpng13.pc +14 -0
- data/cairo/make/cairo-1.6.4-1.sh +55 -0
- data/cairo/manifest/cairo-1.6.4-1.mft +6 -0
- data/cairo/manifest/cairo-dev-1.6.4-1.mft +72 -0
- data/cairo/manifest/libpng-dev-1.2.8.mft +7 -0
- data/cairo/share/doc/cairo-1.6.4-1/COPYING +32 -0
- data/cairo/share/doc/cairo-1.6.4-1/COPYING-LGPL-2.1 +510 -0
- data/cairo/share/doc/cairo-1.6.4-1/COPYING-MPL-1.1 +470 -0
- data/cairo/share/gtk-doc/html/cairo/Drawing.html +53 -0
- data/cairo/share/gtk-doc/html/cairo/Fonts.html +56 -0
- data/cairo/share/gtk-doc/html/cairo/Support.html +50 -0
- data/cairo/share/gtk-doc/html/cairo/Surfaces.html +65 -0
- data/cairo/share/gtk-doc/html/cairo/bindings-errors.html +128 -0
- data/cairo/share/gtk-doc/html/cairo/bindings-fonts.html +59 -0
- data/cairo/share/gtk-doc/html/cairo/bindings-memory.html +129 -0
- data/cairo/share/gtk-doc/html/cairo/bindings-overloading.html +127 -0
- data/cairo/share/gtk-doc/html/cairo/bindings-path.html +123 -0
- data/cairo/share/gtk-doc/html/cairo/bindings-patterns.html +63 -0
- data/cairo/share/gtk-doc/html/cairo/bindings-return-values.html +126 -0
- data/cairo/share/gtk-doc/html/cairo/bindings-streams.html +98 -0
- data/cairo/share/gtk-doc/html/cairo/bindings-surfaces.html +99 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-Error-Handling.html +328 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-Font-Options.html +720 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +297 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +484 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +246 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-PNG-Support.html +345 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-Paths.html +1336 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-Patterns.html +1560 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +656 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-Quartz-Fonts.html +161 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html +232 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +337 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-Scaled-Fonts.html +823 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-Text.html +836 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-Transformations.html +462 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-Types.html +143 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-Version-Information.html +325 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +381 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +331 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +525 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +427 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html +626 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +995 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-cairo-t.html +2795 -0
- data/cairo/share/gtk-doc/html/cairo/cairo.devhelp +432 -0
- data/cairo/share/gtk-doc/html/cairo/cairo.devhelp2 +432 -0
- data/cairo/share/gtk-doc/html/cairo/home.png +0 -0
- data/cairo/share/gtk-doc/html/cairo/index-1.2.html +137 -0
- data/cairo/share/gtk-doc/html/cairo/index-1.4.html +105 -0
- data/cairo/share/gtk-doc/html/cairo/index-1.6.html +65 -0
- data/cairo/share/gtk-doc/html/cairo/index.html +134 -0
- data/cairo/share/gtk-doc/html/cairo/index.sgml +466 -0
- data/cairo/share/gtk-doc/html/cairo/ix01.html +693 -0
- data/cairo/share/gtk-doc/html/cairo/language-bindings.html +79 -0
- data/cairo/share/gtk-doc/html/cairo/left.png +0 -0
- data/cairo/share/gtk-doc/html/cairo/right.png +0 -0
- data/cairo/share/gtk-doc/html/cairo/style.css +148 -0
- data/cairo/share/gtk-doc/html/cairo/up.png +0 -0
- data/doc/doc.css +91 -0
- data/doc/en/cairo-antialias.html +41 -0
- data/doc/en/cairo-antialias.rd +16 -0
- data/doc/en/cairo-clip-not-representable-error.html +50 -0
- data/doc/en/cairo-clip-not-representable-error.rd +17 -0
- data/doc/en/cairo-color-base.html +72 -0
- data/doc/en/cairo-color-base.rd +38 -0
- data/doc/en/cairo-color-cmyk.html +160 -0
- data/doc/en/cairo-color-cmyk.rd +107 -0
- data/doc/en/cairo-color-hsv.html +140 -0
- data/doc/en/cairo-color-hsv.rd +91 -0
- data/doc/en/cairo-color-rgb.html +145 -0
- data/doc/en/cairo-color-rgb.rd +95 -0
- data/doc/en/cairo-color-x11.html +176 -0
- data/doc/en/cairo-color-x11.rd +151 -0
- data/doc/en/cairo-color.html +241 -0
- data/doc/en/cairo-color.rd +213 -0
- data/doc/en/cairo-content.html +40 -0
- data/doc/en/cairo-content.rd +15 -0
- data/doc/en/cairo-context-blur.html +42 -0
- data/doc/en/cairo-context-blur.rd +15 -0
- data/doc/en/cairo-context-circle.html +42 -0
- data/doc/en/cairo-context-circle.rd +15 -0
- data/doc/en/cairo-context-color.html +42 -0
- data/doc/en/cairo-context-color.rd +15 -0
- data/doc/en/cairo-context-path.html +47 -0
- data/doc/en/cairo-context-path.rd +19 -0
- data/doc/en/cairo-context-rectangle.html +42 -0
- data/doc/en/cairo-context-rectangle.rd +15 -0
- data/doc/en/cairo-context-triangle.html +42 -0
- data/doc/en/cairo-context-triangle.rd +15 -0
- data/doc/en/cairo-context.html +636 -0
- data/doc/en/cairo-context.rd +491 -0
- data/doc/en/cairo-error.html +47 -0
- data/doc/en/cairo-error.rd +16 -0
- data/doc/en/cairo-extend.html +41 -0
- data/doc/en/cairo-extend.rd +16 -0
- data/doc/en/cairo-file-not-found.html +50 -0
- data/doc/en/cairo-file-not-found.rd +17 -0
- data/doc/en/cairo-fill-rule.html +39 -0
- data/doc/en/cairo-fill-rule.rd +14 -0
- data/doc/en/cairo-filter.html +43 -0
- data/doc/en/cairo-filter.rd +18 -0
- data/doc/en/cairo-font-extents.html +74 -0
- data/doc/en/cairo-font-extents.rd +40 -0
- data/doc/en/cairo-font-face.html +41 -0
- data/doc/en/cairo-font-face.rd +14 -0
- data/doc/en/cairo-font-options.html +142 -0
- data/doc/en/cairo-font-options.rd +94 -0
- data/doc/en/cairo-font-slant.html +40 -0
- data/doc/en/cairo-font-slant.rd +15 -0
- data/doc/en/cairo-font-weight.html +39 -0
- data/doc/en/cairo-font-weight.rd +14 -0
- data/doc/en/cairo-format.html +49 -0
- data/doc/en/cairo-format.rd +22 -0
- data/doc/en/cairo-glyph.html +102 -0
- data/doc/en/cairo-glyph.rd +62 -0
- data/doc/en/cairo-gradient-pattern.html +77 -0
- data/doc/en/cairo-gradient-pattern.rd +41 -0
- data/doc/en/cairo-hint-metrics.html +40 -0
- data/doc/en/cairo-hint-metrics.rd +15 -0
- data/doc/en/cairo-hint-style.html +42 -0
- data/doc/en/cairo-hint-style.rd +17 -0
- data/doc/en/cairo-image-surface.html +85 -0
- data/doc/en/cairo-image-surface.rd +47 -0
- data/doc/en/cairo-invalid-content-error.html +50 -0
- data/doc/en/cairo-invalid-content-error.rd +17 -0
- data/doc/en/cairo-invalid-dash-error.html +50 -0
- data/doc/en/cairo-invalid-dash-error.rd +17 -0
- data/doc/en/cairo-invalid-dsc-comment-error.html +50 -0
- data/doc/en/cairo-invalid-dsc-comment-error.rd +17 -0
- data/doc/en/cairo-invalid-format-error.html +50 -0
- data/doc/en/cairo-invalid-format-error.rd +17 -0
- data/doc/en/cairo-invalid-index-error.html +50 -0
- data/doc/en/cairo-invalid-index-error.rd +17 -0
- data/doc/en/cairo-invalid-matrix-error.html +50 -0
- data/doc/en/cairo-invalid-matrix-error.rd +17 -0
- data/doc/en/cairo-invalid-path-data-error.html +50 -0
- data/doc/en/cairo-invalid-path-data-error.rd +17 -0
- data/doc/en/cairo-invalid-pop-group-error.html +50 -0
- data/doc/en/cairo-invalid-pop-group-error.rd +17 -0
- data/doc/en/cairo-invalid-restore-error.html +50 -0
- data/doc/en/cairo-invalid-restore-error.rd +17 -0
- data/doc/en/cairo-invalid-status-error.html +50 -0
- data/doc/en/cairo-invalid-status-error.rd +17 -0
- data/doc/en/cairo-invalid-stride-error.html +50 -0
- data/doc/en/cairo-invalid-stride-error.rd +17 -0
- data/doc/en/cairo-invalid-string-error.html +50 -0
- data/doc/en/cairo-invalid-string-error.rd +17 -0
- data/doc/en/cairo-invalid-visual-error.html +50 -0
- data/doc/en/cairo-invalid-visual-error.rd +17 -0
- data/doc/en/cairo-line-cap.html +40 -0
- data/doc/en/cairo-line-cap.rd +15 -0
- data/doc/en/cairo-line-join.html +40 -0
- data/doc/en/cairo-line-join.rd +15 -0
- data/doc/en/cairo-linear-pattern.html +63 -0
- data/doc/en/cairo-linear-pattern.rd +28 -0
- data/doc/en/cairo-matrix.html +257 -0
- data/doc/en/cairo-matrix.rd +186 -0
- data/doc/en/cairo-no-current-point-error.html +50 -0
- data/doc/en/cairo-no-current-point-error.rd +17 -0
- data/doc/en/cairo-null-pointer-error.html +50 -0
- data/doc/en/cairo-null-pointer-error.rd +17 -0
- data/doc/en/cairo-operator.html +51 -0
- data/doc/en/cairo-operator.rd +26 -0
- data/doc/en/cairo-paper-parse-error.html +50 -0
- data/doc/en/cairo-paper-parse-error.rd +17 -0
- data/doc/en/cairo-paper-unknown-paper-name.html +69 -0
- data/doc/en/cairo-paper-unknown-paper-name.rd +30 -0
- data/doc/en/cairo-paper-unknown-unit.html +69 -0
- data/doc/en/cairo-paper-unknown-unit.rd +30 -0
- data/doc/en/cairo-paper-unrecognized-paper-description.html +69 -0
- data/doc/en/cairo-paper-unrecognized-paper-description.rd +30 -0
- data/doc/en/cairo-paper.html +187 -0
- data/doc/en/cairo-paper.rd +141 -0
- data/doc/en/cairo-path-close-path.html +52 -0
- data/doc/en/cairo-path-close-path.rd +21 -0
- data/doc/en/cairo-path-curve-to.html +52 -0
- data/doc/en/cairo-path-curve-to.rd +21 -0
- data/doc/en/cairo-path-data-type.html +41 -0
- data/doc/en/cairo-path-data-type.rd +16 -0
- data/doc/en/cairo-path-data.html +101 -0
- data/doc/en/cairo-path-data.rd +62 -0
- data/doc/en/cairo-path-line-to.html +52 -0
- data/doc/en/cairo-path-line-to.rd +21 -0
- data/doc/en/cairo-path-move-to.html +52 -0
- data/doc/en/cairo-path-move-to.rd +21 -0
- data/doc/en/cairo-path.html +158 -0
- data/doc/en/cairo-path.rd +109 -0
- data/doc/en/cairo-pattern-type-mismatch-error.html +50 -0
- data/doc/en/cairo-pattern-type-mismatch-error.rd +17 -0
- data/doc/en/cairo-pattern.html +102 -0
- data/doc/en/cairo-pattern.rd +62 -0
- data/doc/en/cairo-pdf-surface.html +60 -0
- data/doc/en/cairo-pdf-surface.rd +27 -0
- data/doc/en/cairo-point.html +77 -0
- data/doc/en/cairo-point.rd +42 -0
- data/doc/en/cairo-ps-level.html +52 -0
- data/doc/en/cairo-ps-level.rd +24 -0
- data/doc/en/cairo-ps-surface.html +95 -0
- data/doc/en/cairo-ps-surface.rd +55 -0
- data/doc/en/cairo-quartz-image-surface.html +60 -0
- data/doc/en/cairo-quartz-image-surface.rd +27 -0
- data/doc/en/cairo-quartz-surface.html +60 -0
- data/doc/en/cairo-quartz-surface.rd +27 -0
- data/doc/en/cairo-radial-pattern.html +63 -0
- data/doc/en/cairo-radial-pattern.rd +28 -0
- data/doc/en/cairo-read-error.html +50 -0
- data/doc/en/cairo-read-error.rd +17 -0
- data/doc/en/cairo-rectangle.html +92 -0
- data/doc/en/cairo-rectangle.rd +54 -0
- data/doc/en/cairo-scaled-font.html +87 -0
- data/doc/en/cairo-scaled-font.rd +50 -0
- data/doc/en/cairo-solid-pattern.html +65 -0
- data/doc/en/cairo-solid-pattern.rd +31 -0
- data/doc/en/cairo-subpixel-order.html +42 -0
- data/doc/en/cairo-subpixel-order.rd +17 -0
- data/doc/en/cairo-surface-finished-error.html +50 -0
- data/doc/en/cairo-surface-finished-error.rd +17 -0
- data/doc/en/cairo-surface-pattern.html +60 -0
- data/doc/en/cairo-surface-pattern.rd +27 -0
- data/doc/en/cairo-surface-type-mismatch-error.html +50 -0
- data/doc/en/cairo-surface-type-mismatch-error.rd +17 -0
- data/doc/en/cairo-surface.html +114 -0
- data/doc/en/cairo-surface.rd +72 -0
- data/doc/en/cairo-svg-surface.html +80 -0
- data/doc/en/cairo-svg-surface.rd +44 -0
- data/doc/en/cairo-svg-version.html +52 -0
- data/doc/en/cairo-svg-version.rd +24 -0
- data/doc/en/cairo-temp-file-error.html +50 -0
- data/doc/en/cairo-temp-file-error.rd +17 -0
- data/doc/en/cairo-text-extents.html +79 -0
- data/doc/en/cairo-text-extents.rd +44 -0
- data/doc/en/cairo-win32-printing-surface.html +60 -0
- data/doc/en/cairo-win32-printing-surface.rd +27 -0
- data/doc/en/cairo-win32-surface.html +65 -0
- data/doc/en/cairo-win32-surface.rd +31 -0
- data/doc/en/cairo-write-error.html +50 -0
- data/doc/en/cairo-write-error.rd +17 -0
- data/doc/en/cairo.html +123 -0
- data/doc/en/cairo.rd +95 -0
- data/doc/en/index.html +1080 -0
- data/doc/en/index.rd +1051 -0
- data/doc/index.html +18 -0
- data/doc/ja/cairo-antialias.html +57 -0
- data/doc/ja/cairo-clip-not-representable-error.html +56 -0
- data/doc/ja/cairo-color-base.html +75 -0
- data/doc/ja/cairo-color-cmyk.html +152 -0
- data/doc/ja/cairo-color-hsv.html +135 -0
- data/doc/ja/cairo-color-rgb.html +145 -0
- data/doc/ja/cairo-color-x11.html +183 -0
- data/doc/ja/cairo-color.html +317 -0
- data/doc/ja/cairo-content.html +51 -0
- data/doc/ja/cairo-context-blur.html +53 -0
- data/doc/ja/cairo-context-circle.html +54 -0
- data/doc/ja/cairo-context-color.html +52 -0
- data/doc/ja/cairo-context-path.html +77 -0
- data/doc/ja/cairo-context-rectangle.html +60 -0
- data/doc/ja/cairo-context-triangle.html +47 -0
- data/doc/ja/cairo-context.html +1449 -0
- data/doc/ja/cairo-error.html +56 -0
- data/doc/ja/cairo-extend.html +56 -0
- data/doc/ja/cairo-file-not-found.html +51 -0
- data/doc/ja/cairo-fill-rule.html +58 -0
- data/doc/ja/cairo-filter.html +43 -0
- data/doc/ja/cairo-font-extents.html +110 -0
- data/doc/ja/cairo-font-face.html +55 -0
- data/doc/ja/cairo-font-options.html +186 -0
- data/doc/ja/cairo-font-slant.html +50 -0
- data/doc/ja/cairo-font-weight.html +47 -0
- data/doc/ja/cairo-format.html +81 -0
- data/doc/ja/cairo-glyph.html +115 -0
- data/doc/ja/cairo-gradient-pattern.html +119 -0
- data/doc/ja/cairo-hint-metrics.html +57 -0
- data/doc/ja/cairo-hint-style.html +64 -0
- data/doc/ja/cairo-image-surface.html +131 -0
- data/doc/ja/cairo-invalid-content-error.html +54 -0
- data/doc/ja/cairo-invalid-dash-error.html +54 -0
- data/doc/ja/cairo-invalid-dsc-comment-error.html +54 -0
- data/doc/ja/cairo-invalid-format-error.html +54 -0
- data/doc/ja/cairo-invalid-index-error.html +54 -0
- data/doc/ja/cairo-invalid-matrix-error.html +54 -0
- data/doc/ja/cairo-invalid-path-data-error.html +54 -0
- data/doc/ja/cairo-invalid-pop-group-error.html +54 -0
- data/doc/ja/cairo-invalid-restore-error.html +55 -0
- data/doc/ja/cairo-invalid-status-error.html +55 -0
- data/doc/ja/cairo-invalid-stride-error.html +55 -0
- data/doc/ja/cairo-invalid-string-error.html +54 -0
- data/doc/ja/cairo-invalid-visual-error.html +57 -0
- data/doc/ja/cairo-line-cap.html +50 -0
- data/doc/ja/cairo-line-join.html +53 -0
- data/doc/ja/cairo-linear-pattern.html +87 -0
- data/doc/ja/cairo-matrix.html +343 -0
- data/doc/ja/cairo-no-current-point-error.html +54 -0
- data/doc/ja/cairo-null-pointer-error.html +54 -0
- data/doc/ja/cairo-operator.html +51 -0
- data/doc/ja/cairo-paper-parse-error.html +55 -0
- data/doc/ja/cairo-paper-unknown-paper-name.html +76 -0
- data/doc/ja/cairo-paper-unknown-unit.html +75 -0
- data/doc/ja/cairo-paper-unrecognized-paper-description.html +76 -0
- data/doc/ja/cairo-paper.html +357 -0
- data/doc/ja/cairo-path-close-path.html +57 -0
- data/doc/ja/cairo-path-curve-to.html +70 -0
- data/doc/ja/cairo-path-data-type.html +53 -0
- data/doc/ja/cairo-path-data.html +127 -0
- data/doc/ja/cairo-path-line-to.html +62 -0
- data/doc/ja/cairo-path-move-to.html +62 -0
- data/doc/ja/cairo-path.html +144 -0
- data/doc/ja/cairo-pattern-type-mismatch-error.html +56 -0
- data/doc/ja/cairo-pattern.html +128 -0
- data/doc/ja/cairo-pdf-surface.html +86 -0
- data/doc/ja/cairo-point.html +90 -0
- data/doc/ja/cairo-ps-level.html +62 -0
- data/doc/ja/cairo-ps-surface.html +214 -0
- data/doc/ja/cairo-quartz-image-surface.html +75 -0
- data/doc/ja/cairo-quartz-surface.html +93 -0
- data/doc/ja/cairo-radial-pattern.html +93 -0
- data/doc/ja/cairo-read-error.html +55 -0
- data/doc/ja/cairo-rectangle.html +109 -0
- data/doc/ja/cairo-scaled-font.html +144 -0
- data/doc/ja/cairo-solid-pattern.html +87 -0
- data/doc/ja/cairo-subpixel-order.html +57 -0
- data/doc/ja/cairo-surface-finished-error.html +54 -0
- data/doc/ja/cairo-surface-pattern.html +68 -0
- data/doc/ja/cairo-surface-type-mismatch-error.html +56 -0
- data/doc/ja/cairo-surface.html +191 -0
- data/doc/ja/cairo-svg-surface.html +114 -0
- data/doc/ja/cairo-svg-version.html +66 -0
- data/doc/ja/cairo-temp-file-error.html +50 -0
- data/doc/ja/cairo-text-extents.html +101 -0
- data/doc/ja/cairo-win32-printing-surface.html +80 -0
- data/doc/ja/cairo-win32-surface.html +100 -0
- data/doc/ja/cairo-write-error.html +55 -0
- data/doc/ja/cairo.html +148 -0
- data/doc/ja/index.html +1080 -0
- data/extconf.rb +153 -0
- data/misc/update-colors.rb +143 -0
- data/pkg-config.rb +278 -0
- data/samples/agg/README +4 -0
- data/samples/agg/aa_demo.rb +47 -0
- data/samples/agg/aa_test.rb +304 -0
- data/samples/blur.rb +47 -0
- data/samples/pac.rb +99 -0
- data/samples/pac2.rb +171 -0
- data/samples/png.rb +45 -0
- data/samples/scalable.rb +56 -0
- data/samples/text-on-path.rb +60 -0
- data/samples/text2.rb +131 -0
- data/src/cairo.def +96 -0
- data/src/cairo.so +0 -0
- data/src/lib/cairo.rb +141 -0
- data/src/lib/cairo/color.rb +255 -0
- data/src/lib/cairo/colors.rb +656 -0
- data/src/lib/cairo/constants.rb +21 -0
- data/src/lib/cairo/context.rb +29 -0
- data/src/lib/cairo/context/blur.rb +45 -0
- data/src/lib/cairo/context/circle.rb +9 -0
- data/src/lib/cairo/context/color.rb +11 -0
- data/src/lib/cairo/context/path.rb +116 -0
- data/src/lib/cairo/context/rectangle.rb +33 -0
- data/src/lib/cairo/context/triangle.rb +12 -0
- data/src/lib/cairo/paper.rb +183 -0
- data/src/lib/cairo/papers.rb +41 -0
- data/src/lib/cairo/path.rb +15 -0
- data/src/lib/cairo/point.rb +7 -0
- data/src/libruby-cairo.a +0 -0
- data/src/rb_cairo.c +82 -0
- data/src/rb_cairo.h +264 -0
- data/src/rb_cairo_constants.c +456 -0
- data/src/rb_cairo_context.c +1548 -0
- data/src/rb_cairo_exception.c +214 -0
- data/src/rb_cairo_font_extents.c +125 -0
- data/src/rb_cairo_font_face.c +56 -0
- data/src/rb_cairo_font_options.c +197 -0
- data/src/rb_cairo_glyph.c +159 -0
- data/src/rb_cairo_matrix.c +350 -0
- data/src/rb_cairo_path.c +459 -0
- data/src/rb_cairo_pattern.c +540 -0
- data/src/rb_cairo_private.c +78 -0
- data/src/rb_cairo_private.h +72 -0
- data/src/rb_cairo_scaled_font.c +177 -0
- data/src/rb_cairo_surface.c +1252 -0
- data/src/rb_cairo_text_extents.c +138 -0
- data/test/run-test.rb +15 -0
- data/test/test_paper.rb +81 -0
- data/test/test_pkg_config.rb +122 -0
- metadata +490 -0
@@ -0,0 +1,53 @@
|
|
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::PathDataTypeモジュール</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::PathDataTypeモジュール</a></h1><!-- RDLabel: "Cairo::PathDataTypeモジュール" -->
|
20
|
+
<p><a href="cairo-path.html">Cairo::Path</a>として表現されているパスの各部分の種類を表します。</p>
|
21
|
+
<h2><a name="label-1" id="label-1">定数</a></h2><!-- RDLabel: "定数" -->
|
22
|
+
<dl>
|
23
|
+
<dt><a name="label-2" id="label-2"><code>CLOSE_PATH</code></a></dt><!-- RDLabel: "CLOSE_PATH" -->
|
24
|
+
<dd>
|
25
|
+
パスを閉じる操作</dd>
|
26
|
+
<dt><a name="label-3" id="label-3"><code>CURVE_TO</code></a></dt><!-- RDLabel: "CURVE_TO" -->
|
27
|
+
<dd>
|
28
|
+
曲線を描く操作</dd>
|
29
|
+
<dt><a name="label-4" id="label-4"><code>LINE_TO</code></a></dt><!-- RDLabel: "LINE_TO" -->
|
30
|
+
<dd>
|
31
|
+
直線を描く操作</dd>
|
32
|
+
<dt><a name="label-5" id="label-5"><code>MOVE_TO</code></a></dt><!-- RDLabel: "MOVE_TO" -->
|
33
|
+
<dd>
|
34
|
+
移動する操作</dd>
|
35
|
+
</dl>
|
36
|
+
<h2><a name="label-6" id="label-6">参考</a></h2><!-- RDLabel: "参考" -->
|
37
|
+
<ul>
|
38
|
+
<li><a href="index.html#label-0">索引</a></li>
|
39
|
+
</ul>
|
40
|
+
<h2><a name="label-7" id="label-7">変更履歴</a></h2><!-- RDLabel: "変更履歴" -->
|
41
|
+
<ul>
|
42
|
+
<li>2007-05-22: kou: スタート。</li>
|
43
|
+
</ul>
|
44
|
+
|
45
|
+
<div class="footer">
|
46
|
+
<ul>
|
47
|
+
<li><a href="./">索引</a></li>
|
48
|
+
</ul>
|
49
|
+
|
50
|
+
</div>
|
51
|
+
</body>
|
52
|
+
|
53
|
+
</html>
|
@@ -0,0 +1,127 @@
|
|
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::PathDataクラス</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::PathDataクラス</a></h1><!-- RDLabel: "Cairo::PathDataクラス" -->
|
20
|
+
<p><a href="cairo-path.html">Cairo::Path</a>の中にあるパスデータを表します。実際に使うのはサ
|
21
|
+
ブクラスの<a href="cairo-path-move-to.html">Cairo::PathMoveTo</a>, <a href="cairo-path-line-to.html">Cairo::PathLineTo</a>,
|
22
|
+
<a href="cairo-path-curve-to.html">Cairo::PathCurveTo</a>, <a href="cairo-path-close-path.html">Cairo::PathClosePath</a>でしょう。</p>
|
23
|
+
<p>パスは<a href="cairo-path-data.html">Cairo::PathData</a>の配列として表現されます。</p>
|
24
|
+
<h2><a name="label-1" id="label-1">オブジェクト階層</a></h2><!-- RDLabel: "オブジェクト階層" -->
|
25
|
+
<ul>
|
26
|
+
<li>Object
|
27
|
+
<ul>
|
28
|
+
<li>Cairo::PathData</li>
|
29
|
+
</ul></li>
|
30
|
+
</ul>
|
31
|
+
<h2><a name="label-2" id="label-2">includeしているモジュール</a></h2><!-- RDLabel: "includeしているモジュール" -->
|
32
|
+
<ul>
|
33
|
+
<li>Enumerable</li>
|
34
|
+
</ul>
|
35
|
+
<h2><a name="label-3" id="label-3">クラスメソッド</a></h2><!-- RDLabel: "クラスメソッド" -->
|
36
|
+
<dl>
|
37
|
+
<dt><a name="label-4" id="label-4"><code>Cairo::PathData.new(<var>type</var>, <var>points</var>)</code></a></dt><!-- RDLabel: "Cairo::PathData.new" -->
|
38
|
+
<dd>
|
39
|
+
<a href="cairo-path-data.html">Cairo::PathData</a>オブジェクトを作成します。通常はサブクラ
|
40
|
+
スのオブジェクトを作成します。
|
41
|
+
<ul>
|
42
|
+
<li>type: :move_toや:line_toなど<a href="cairo-path-data-type.html">Cairo::PathDataType</a>に定義
|
43
|
+
されている定数名と同じもの。大文字小文字は関
|
44
|
+
係ありません。また、シンボルではなくて文字列で
|
45
|
+
"move_to"のように指定することもできます。もちろん、
|
46
|
+
<a href="cairo-path-data-type.html">Cairo::PathDataType</a>に定義されている定数を指定するこ
|
47
|
+
ともできます。</li>
|
48
|
+
<li>points: Ciaro::Pointの配列。</li>
|
49
|
+
<li>Returns: 新しく作成した<a href="cairo-path-data.html">Cairo::PathData</a>オブジェクト。</li>
|
50
|
+
</ul></dd>
|
51
|
+
</dl>
|
52
|
+
<h2><a name="label-5" id="label-5">インタンスメソッド</a></h2><!-- RDLabel: "インタンスメソッド" -->
|
53
|
+
<dl>
|
54
|
+
<dt><a name="label-6" id="label-6"><code>close_path?</code></a></dt><!-- RDLabel: "close_path?" -->
|
55
|
+
<dd>
|
56
|
+
パスを閉じる操作なら真を返します。
|
57
|
+
<ul>
|
58
|
+
<li>Returns: パスを閉じる操作なら<code>true</code>、それ以外は<code>false</code>。</li>
|
59
|
+
</ul></dd>
|
60
|
+
<dt><a name="label-7" id="label-7"><code>curve_to?</code></a></dt><!-- RDLabel: "curve_to?" -->
|
61
|
+
<dd>
|
62
|
+
曲線を描く操作なら真を返します。
|
63
|
+
<ul>
|
64
|
+
<li>Returns: 曲線を描く操作なら<code>true</code>、それ以外は<code>false</code>。</li>
|
65
|
+
</ul></dd>
|
66
|
+
<dt><a name="label-8" id="label-8"><code>each {|<var>point</var>| ...}</code></a></dt><!-- RDLabel: "each" -->
|
67
|
+
<dd>
|
68
|
+
各点毎にブロックを呼び出します。</dd>
|
69
|
+
<dt><a name="label-9" id="label-9"><code>line_to?</code></a></dt><!-- RDLabel: "line_to?" -->
|
70
|
+
<dd>
|
71
|
+
直線を描く操作なら真を返します。
|
72
|
+
<ul>
|
73
|
+
<li>Returns: 直線を描く操作なら<code>true</code>、それ以外は<code>false</code>。</li>
|
74
|
+
</ul></dd>
|
75
|
+
<dt><a name="label-10" id="label-10"><code>move_to?</code></a></dt><!-- RDLabel: "move_to?" -->
|
76
|
+
<dd>
|
77
|
+
移動する操作なら真を返します。
|
78
|
+
<ul>
|
79
|
+
<li>Returns: 移動する操作なら<code>true</code>、それ以外は<code>false</code>。</li>
|
80
|
+
</ul></dd>
|
81
|
+
<dt><a name="label-11" id="label-11"><code>points</code></a></dt><!-- RDLabel: "points" -->
|
82
|
+
<dd>
|
83
|
+
操作に必要な点を返します。
|
84
|
+
<ul>
|
85
|
+
<li>Returns: <a href="cairo-point.html">Cairo::Point</a>の配列。</li>
|
86
|
+
</ul></dd>
|
87
|
+
<dt><a name="label-12" id="label-12"><code>to_a</code></a></dt><!-- RDLabel: "to_a" -->
|
88
|
+
<dt><a name="label-13" id="label-13"><code>to_ary</code></a></dt><!-- RDLabel: "to_ary" -->
|
89
|
+
<dd>
|
90
|
+
配列化します。
|
91
|
+
<ul>
|
92
|
+
<li>Returns: <code>[type, points]</code>
|
93
|
+
<ul>
|
94
|
+
<li>type: 操作の種類。</li>
|
95
|
+
<li>points: <a href="cairo-point.html">Cairo::Point</a>の配列。</li>
|
96
|
+
</ul></li>
|
97
|
+
</ul></dd>
|
98
|
+
<dt><a name="label-14" id="label-14"><code>type</code></a></dt><!-- RDLabel: "type" -->
|
99
|
+
<dd>
|
100
|
+
操作の種類を返します。
|
101
|
+
<ul>
|
102
|
+
<li>Returns: <a href="cairo-path-data-type.html">Cairo::PathDataType</a>に定義されている定数のど
|
103
|
+
れか。あるいはそれの文字列表現。</li>
|
104
|
+
</ul></dd>
|
105
|
+
</dl>
|
106
|
+
<h2><a name="label-15" id="label-15">参考</a></h2><!-- RDLabel: "参考" -->
|
107
|
+
<ul>
|
108
|
+
<li><a href="index.html#label-0">索引</a></li>
|
109
|
+
<li><a href="cairo-path-move-to.html">Cairo::PathMoveTo</a></li>
|
110
|
+
<li><a href="cairo-path-line-to.html">Cairo::PathLineTo</a></li>
|
111
|
+
<li><a href="cairo-path-curve-to.html">Cairo::PathCurveTo</a></li>
|
112
|
+
<li><a href="cairo-path-close-path.html">Cairo::PathClosePath</a></li>
|
113
|
+
</ul>
|
114
|
+
<h2><a name="label-16" id="label-16">変更履歴</a></h2><!-- RDLabel: "変更履歴" -->
|
115
|
+
<ul>
|
116
|
+
<li>2007-05-22: kou: スタート。</li>
|
117
|
+
</ul>
|
118
|
+
|
119
|
+
<div class="footer">
|
120
|
+
<ul>
|
121
|
+
<li><a href="./">索引</a></li>
|
122
|
+
</ul>
|
123
|
+
|
124
|
+
</div>
|
125
|
+
</body>
|
126
|
+
|
127
|
+
</html>
|
@@ -0,0 +1,62 @@
|
|
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::PathLineToクラス</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::PathLineToクラス</a></h1><!-- RDLabel: "Cairo::PathLineToクラス" -->
|
20
|
+
<p>直線を描く操作を表すパスデータです。</p>
|
21
|
+
<h2><a name="label-1" id="label-1">オブジェクト階層</a></h2><!-- RDLabel: "オブジェクト階層" -->
|
22
|
+
<ul>
|
23
|
+
<li>Object
|
24
|
+
<ul>
|
25
|
+
<li><a href="cairo-path-data.html">Cairo::PathData</a>
|
26
|
+
<ul>
|
27
|
+
<li>Cairo::PathLineTo</li>
|
28
|
+
</ul></li>
|
29
|
+
</ul></li>
|
30
|
+
</ul>
|
31
|
+
<h2><a name="label-2" id="label-2">クラスメソッド</a></h2><!-- RDLabel: "クラスメソッド" -->
|
32
|
+
<dl>
|
33
|
+
<dt><a name="label-3" id="label-3"><code>Cairo::PathLineTo.new(<var>x</var>, <var>y</var>)</code></a></dt><!-- RDLabel: "Cairo::PathLineTo.new" -->
|
34
|
+
<dt><a name="label-4" id="label-4"><code>Cairo::PathLineTo.new(<var>point</var>)</code></a></dt><!-- RDLabel: "Cairo::PathLineTo.new" -->
|
35
|
+
<dd>
|
36
|
+
現在の点から(<var>x</var>, <var>y</var>)あるいは<var>point</var>の点ま
|
37
|
+
での線分をパスに追加するパスデータを生成します。
|
38
|
+
<ul>
|
39
|
+
<li>x: 線分の終点のX座標</li>
|
40
|
+
<li>y: 線分の終点のY座標</li>
|
41
|
+
<li>point: 線分の終点</li>
|
42
|
+
<li>Returns: <a href="cairo-path-line-to.html">Cairo::PathLineTo</a>オブジェクト</li>
|
43
|
+
</ul></dd>
|
44
|
+
</dl>
|
45
|
+
<h2><a name="label-5" id="label-5">参考</a></h2><!-- RDLabel: "参考" -->
|
46
|
+
<ul>
|
47
|
+
<li><a href="index.html#label-0">索引</a></li>
|
48
|
+
</ul>
|
49
|
+
<h2><a name="label-6" id="label-6">変更履歴</a></h2><!-- RDLabel: "変更履歴" -->
|
50
|
+
<ul>
|
51
|
+
<li>2007-05-22: kou: スタート。</li>
|
52
|
+
</ul>
|
53
|
+
|
54
|
+
<div class="footer">
|
55
|
+
<ul>
|
56
|
+
<li><a href="./">索引</a></li>
|
57
|
+
</ul>
|
58
|
+
|
59
|
+
</div>
|
60
|
+
</body>
|
61
|
+
|
62
|
+
</html>
|
@@ -0,0 +1,62 @@
|
|
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::PathMoveToクラス</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::PathMoveToクラス</a></h1><!-- RDLabel: "Cairo::PathMoveToクラス" -->
|
20
|
+
<p>移動する操作を表すパスデータです。</p>
|
21
|
+
<h2><a name="label-1" id="label-1">オブジェクト階層</a></h2><!-- RDLabel: "オブジェクト階層" -->
|
22
|
+
<ul>
|
23
|
+
<li>Object
|
24
|
+
<ul>
|
25
|
+
<li><a href="cairo-path-data.html">Cairo::PathData</a>
|
26
|
+
<ul>
|
27
|
+
<li>Cairo::PathMoveTo</li>
|
28
|
+
</ul></li>
|
29
|
+
</ul></li>
|
30
|
+
</ul>
|
31
|
+
<h2><a name="label-2" id="label-2">クラスメソッド</a></h2><!-- RDLabel: "クラスメソッド" -->
|
32
|
+
<dl>
|
33
|
+
<dt><a name="label-3" id="label-3"><code>Cairo::PathMoveTo.new(<var>x</var>, <var>y</var>)</code></a></dt><!-- RDLabel: "Cairo::PathMoveTo.new" -->
|
34
|
+
<dt><a name="label-4" id="label-4"><code>Cairo::PathMoveTo.new(<var>point</var>)</code></a></dt><!-- RDLabel: "Cairo::PathMoveTo.new" -->
|
35
|
+
<dd>
|
36
|
+
(<var>x</var>, <var>y</var>)あるいは<var>point</var>へ移動するパスデー
|
37
|
+
タを生成します。
|
38
|
+
<ul>
|
39
|
+
<li>x: 新しい位置のX座標</li>
|
40
|
+
<li>y: 新しい位置のY座標</li>
|
41
|
+
<li>point: 新しい位置</li>
|
42
|
+
<li>Returns: <a href="cairo-path-move-to.html">Cairo::PathMoveTo</a>オブジェクト。</li>
|
43
|
+
</ul></dd>
|
44
|
+
</dl>
|
45
|
+
<h2><a name="label-5" id="label-5">参考</a></h2><!-- RDLabel: "参考" -->
|
46
|
+
<ul>
|
47
|
+
<li><a href="index.html#label-0">索引</a></li>
|
48
|
+
</ul>
|
49
|
+
<h2><a name="label-6" id="label-6">変更履歴</a></h2><!-- RDLabel: "変更履歴" -->
|
50
|
+
<ul>
|
51
|
+
<li>2007-05-22: kou: スタート。</li>
|
52
|
+
</ul>
|
53
|
+
|
54
|
+
<div class="footer">
|
55
|
+
<ul>
|
56
|
+
<li><a href="./">索引</a></li>
|
57
|
+
</ul>
|
58
|
+
|
59
|
+
</div>
|
60
|
+
</body>
|
61
|
+
|
62
|
+
</html>
|
@@ -0,0 +1,144 @@
|
|
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::Pathクラス</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::Pathクラス</a></h1><!-- RDLabel: "Cairo::Pathクラス" -->
|
20
|
+
<p>パスを持つオブジェクトです。<a href="cairo-context.html#label-21">Cairo::Context#copy_path</a>あるいは
|
21
|
+
<a href="cairo-context.html#label-22">Cairo::Context#copy_path_flat</a>で取得できます。また、
|
22
|
+
<a href="cairo-context.html#label-9">Cairo::Context#append_path</a>の入力値としても使えます。</p>
|
23
|
+
<h2><a name="label-1" id="label-1">オブジェクト階層</a></h2><!-- RDLabel: "オブジェクト階層" -->
|
24
|
+
<ul>
|
25
|
+
<li>Object
|
26
|
+
<ul>
|
27
|
+
<li>Cairo::Path</li>
|
28
|
+
</ul></li>
|
29
|
+
</ul>
|
30
|
+
<h2><a name="label-2" id="label-2">includeしているモジュール</a></h2><!-- RDLabel: "includeしているモジュール" -->
|
31
|
+
<ul>
|
32
|
+
<li>Enumerable</li>
|
33
|
+
</ul>
|
34
|
+
<h2><a name="label-3" id="label-3">クラスメソッド</a></h2><!-- RDLabel: "クラスメソッド" -->
|
35
|
+
<dl>
|
36
|
+
<dt><a name="label-4" id="label-4"><code>Cairo::Path.new</code></a></dt><!-- RDLabel: "Cairo::Path.new" -->
|
37
|
+
<dd>
|
38
|
+
新しくパスを生成します。
|
39
|
+
<ul>
|
40
|
+
<li>Returns: <a href="cairo-path.html">Cairo::Path</a>オブジェクト。</li>
|
41
|
+
</ul></dd>
|
42
|
+
</dl>
|
43
|
+
<h2><a name="label-5" id="label-5">インタンスメソッド</a></h2><!-- RDLabel: "インタンスメソッド" -->
|
44
|
+
<dl>
|
45
|
+
<dt><a name="label-6" id="label-6"><code>[<var>index</var>]</code></a></dt><!-- RDLabel: "[]" -->
|
46
|
+
<dd>
|
47
|
+
<var>index</var>番目のパスデータを返します。<var>index</var>番目
|
48
|
+
のパスデータがない場合は<code>nil</code>を返します。
|
49
|
+
<ul>
|
50
|
+
<li>Returns: <a href="cairo-path-data.html">Cairo::PathData</a>オブジェクトまたは<code>nil</code>。</li>
|
51
|
+
</ul></dd>
|
52
|
+
<dt><a name="label-7" id="label-7"><code>arc(<var>center_x</var>, <var>center_y</var>, <var>radius</var>, <var>angle1</var>, <var>angle2</var>)</code></a></dt><!-- RDLabel: "arc" -->
|
53
|
+
<dd>
|
54
|
+
<a href="cairo-context.html#label-10">Cairo::Context#arc</a>を見てください。</dd>
|
55
|
+
<dt><a name="label-8" id="label-8"><code>arc_negative(<var>center_x</var>, <var>center_y</var>, <var>radius</var>, <var>angle1</var>, <var>angle2</var>)</code></a></dt><!-- RDLabel: "arc_negative" -->
|
56
|
+
<dd>
|
57
|
+
<a href="cairo-context.html#label-11">Cairo::Context#arc_negative</a>を見てください。</dd>
|
58
|
+
<dt><a name="label-9" id="label-9"><code>circle(<var>center_x</var>, <var>center_y</var>, <var>radius</var>)</code></a></dt><!-- RDLabel: "circle" -->
|
59
|
+
<dd>
|
60
|
+
<a href="cairo-context.html#label-12">Cairo::Context#circle</a>を見てください。</dd>
|
61
|
+
<dt><a name="label-10" id="label-10"><code>close</code></a></dt><!-- RDLabel: "close" -->
|
62
|
+
<dd>
|
63
|
+
<a href="cairo-context.html#label-19">Cairo::Context#close_path</a>を見てください。</dd>
|
64
|
+
<dt><a name="label-11" id="label-11"><code>curve_to(<var>x1</var>, <var>y1</var>, <var>x2</var>, <var>y2</var>, <var>x3</var>, <var>y3</var>)</code></a></dt><!-- RDLabel: "curve_to" -->
|
65
|
+
<dd>
|
66
|
+
<a href="cairo-context.html#label-24">Cairo::Context#curve_to</a>を見てください。</dd>
|
67
|
+
<dt><a name="label-12" id="label-12"><code>each {|<var>data</var>| ...}</code></a></dt><!-- RDLabel: "each" -->
|
68
|
+
<dd>
|
69
|
+
各パスデータ毎にブロックを呼び出します。</dd>
|
70
|
+
<dt><a name="label-13" id="label-13"><code>empty?</code></a></dt><!-- RDLabel: "empty?" -->
|
71
|
+
<dd>
|
72
|
+
ひとつもパスデータがない場合は真を返します。
|
73
|
+
<ul>
|
74
|
+
<li>Returns: パスデータがない場合は<code>true</code>、そうでない
|
75
|
+
場合は<code>false</code>。</li>
|
76
|
+
</ul></dd>
|
77
|
+
<dt><a name="label-14" id="label-14"><code>line_to(<var>x</var>, <var>y</var>)</code></a></dt><!-- RDLabel: "line_to" -->
|
78
|
+
<dd>
|
79
|
+
<a href="cairo-context.html#label-63">Cairo::Context#line_to</a>を見てください。</dd>
|
80
|
+
<dt><a name="label-15" id="label-15"><code>move_to(<var>x</var>, <var>y</var>)</code></a></dt><!-- RDLabel: "move_to" -->
|
81
|
+
<dd>
|
82
|
+
<a href="cairo-context.html#label-75">Cairo::Context#move_to</a>を見てください。</dd>
|
83
|
+
<dt><a name="label-16" id="label-16"><code>new_path</code></a></dt><!-- RDLabel: "new_path" -->
|
84
|
+
<dd>
|
85
|
+
<a href="cairo-context.html#label-76">Cairo::Context#new_path</a>を見てください。</dd>
|
86
|
+
<dt><a name="label-17" id="label-17"><code>new_sub_path</code></a></dt><!-- RDLabel: "new_sub_path" -->
|
87
|
+
<dd>
|
88
|
+
<a href="cairo-context.html#label-77">Cairo::Context#new_sub_path</a>を見てください。</dd>
|
89
|
+
<dt><a name="label-18" id="label-18"><code>rectangle(<var>x</var>, <var>y</var>, <var>width</var>, <var>height</var>)</code></a></dt><!-- RDLabel: "rectangle" -->
|
90
|
+
<dd>
|
91
|
+
<a href="cairo-context.html#label-87">Cairo::Context#rectangle</a>を見てください。</dd>
|
92
|
+
<dt><a name="label-19" id="label-19"><code>rel_curve_to(<var>dx1</var>, <var>dy1</var>, <var>dx2</var>, <var>dy2</var>, <var>dx3</var>, <var>dy3</var>)</code></a></dt><!-- RDLabel: "rel_curve_to" -->
|
93
|
+
<dd>
|
94
|
+
<a href="cairo-context.html#label-89">Cairo::Context#rel_curve_to</a>を見てください。</dd>
|
95
|
+
<dt><a name="label-20" id="label-20"><code>rel_line_to(<var>dx</var>, <var>dy</var>)</code></a></dt><!-- RDLabel: "rel_line_to" -->
|
96
|
+
<dd>
|
97
|
+
<a href="cairo-context.html#label-90">Cairo::Context#rel_line_to</a>を見てください。</dd>
|
98
|
+
<dt><a name="label-21" id="label-21"><code>rel_move_to(<var>dx</var>, <var>dy</var>)</code></a></dt><!-- RDLabel: "rel_move_to" -->
|
99
|
+
<dd>
|
100
|
+
<a href="cairo-context.html#label-91">Cairo::Context#rel_move_to</a>を見てください。</dd>
|
101
|
+
<dt><a name="label-22" id="label-22"><code>rounded_rectangle(<var>x</var>, <var>y</var>, <var>width</var>, <var>height</var>, <var>x_radius</var>, <var>y_radius</var>=<var>nil</var>)</code></a></dt><!-- RDLabel: "rounded_rectangle" -->
|
102
|
+
<dd>
|
103
|
+
<a href="cairo-context.html#label-88">Cairo::Context#rounded_rectangle</a>を見てください。</dd>
|
104
|
+
<dt><a name="label-23" id="label-23"><code>size</code></a></dt><!-- RDLabel: "size" -->
|
105
|
+
<dt><a name="label-24" id="label-24"><code>length</code></a></dt><!-- RDLabel: "length" -->
|
106
|
+
<dd>
|
107
|
+
持っているパスデータの数を返します。
|
108
|
+
<ul>
|
109
|
+
<li>Returns: パスデータの数。</li>
|
110
|
+
</ul></dd>
|
111
|
+
</dl>
|
112
|
+
<h2><a name="label-25" id="label-25">定数</a></h2><!-- RDLabel: "定数" -->
|
113
|
+
<dl>
|
114
|
+
<dt><a name="label-26" id="label-26"><code>CLOSE_PATH</code></a></dt><!-- RDLabel: "CLOSE_PATH" -->
|
115
|
+
<dd>
|
116
|
+
<a href="cairo-path-data-type.html#label-2">Cairo::PathDataType::CLOSE_PATH</a>を見てください。</dd>
|
117
|
+
<dt><a name="label-27" id="label-27"><code>CURVE_TO</code></a></dt><!-- RDLabel: "CURVE_TO" -->
|
118
|
+
<dd>
|
119
|
+
<a href="cairo-path-data-type.html#label-3">Cairo::PathDataType::CURVE_TO</a>を見てください。</dd>
|
120
|
+
<dt><a name="label-28" id="label-28"><code>LINE_TO</code></a></dt><!-- RDLabel: "LINE_TO" -->
|
121
|
+
<dd>
|
122
|
+
<a href="cairo-path-data-type.html#label-4">Cairo::PathDataType::LINE_TO</a>を見てください。</dd>
|
123
|
+
<dt><a name="label-29" id="label-29"><code>MOVE_TO</code></a></dt><!-- RDLabel: "MOVE_TO" -->
|
124
|
+
<dd>
|
125
|
+
<a href="cairo-path-data-type.html#label-5">Cairo::PathDataType::MOVE_TO</a>を見てください。</dd>
|
126
|
+
</dl>
|
127
|
+
<h2><a name="label-30" id="label-30">参考</a></h2><!-- RDLabel: "参考" -->
|
128
|
+
<ul>
|
129
|
+
<li><a href="index.html#label-0">索引</a></li>
|
130
|
+
</ul>
|
131
|
+
<h2><a name="label-31" id="label-31">変更履歴</a></h2><!-- RDLabel: "変更履歴" -->
|
132
|
+
<ul>
|
133
|
+
<li>2007-05-22: kou: スタート。</li>
|
134
|
+
</ul>
|
135
|
+
|
136
|
+
<div class="footer">
|
137
|
+
<ul>
|
138
|
+
<li><a href="./">索引</a></li>
|
139
|
+
</ul>
|
140
|
+
|
141
|
+
</div>
|
142
|
+
</body>
|
143
|
+
|
144
|
+
</html>
|