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
data/doc/index.html
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>rcairo reference manual</title>
|
5
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
6
|
+
</head>
|
7
|
+
|
8
|
+
<body>
|
9
|
+
<h1>rcairo reference manual</h1>
|
10
|
+
|
11
|
+
<ul>
|
12
|
+
<li><a href="en/">English</a></li>
|
13
|
+
<li><a href="ja/">日本語</a></li>
|
14
|
+
</ui>
|
15
|
+
|
16
|
+
<p><a href="../">Up</a></p>
|
17
|
+
</body>
|
18
|
+
</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::Antialiasモジュール</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::Antialiasモジュール</a></h1><!-- RDLabel: "Cairo::Antialiasモジュール" -->
|
20
|
+
<p>テキストや形を描画するときに使うアンチエイリアスの種類を指定
|
21
|
+
します。</p>
|
22
|
+
<h2><a name="label-1" id="label-1">定数</a></h2><!-- RDLabel: "定数" -->
|
23
|
+
<dl>
|
24
|
+
<dt><a name="label-2" id="label-2"><code>DEFAULT</code></a></dt><!-- RDLabel: "DEFAULT" -->
|
25
|
+
<dd>
|
26
|
+
サブシステムと対象装置のデフォルトのアンチエイリアスを
|
27
|
+
使います。</dd>
|
28
|
+
<dt><a name="label-3" id="label-3"><code>GRAY</code></a></dt><!-- RDLabel: "GRAY" -->
|
29
|
+
<dd>
|
30
|
+
1色のアンチエイリアスを実行します。(例えば、白い背景
|
31
|
+
上の黒いテキストには灰色の陰を使います。)</dd>
|
32
|
+
<dt><a name="label-4" id="label-4"><code>NONE</code></a></dt><!-- RDLabel: "NONE" -->
|
33
|
+
<dd>
|
34
|
+
2層のアルファマスクを使います。</dd>
|
35
|
+
<dt><a name="label-5" id="label-5"><code>SUBPIXEL</code></a></dt><!-- RDLabel: "SUBPIXEL" -->
|
36
|
+
<dd>
|
37
|
+
LCDパネルのような装置上のサブピクセル要素の順序で適して
|
38
|
+
いるアンチエイリアスを実行します。</dd>
|
39
|
+
</dl>
|
40
|
+
<h2><a name="label-6" id="label-6">参考</a></h2><!-- RDLabel: "参考" -->
|
41
|
+
<ul>
|
42
|
+
<li><a href="index.html#label-0">索引</a></li>
|
43
|
+
</ul>
|
44
|
+
<h2><a name="label-7" id="label-7">変更履歴</a></h2><!-- RDLabel: "変更履歴" -->
|
45
|
+
<ul>
|
46
|
+
<li>2007-05-20: 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,56 @@
|
|
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::ClipNotRepresentableErrorクラス</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::ClipNotRepresentableErrorクラス</a></h1><!-- RDLabel: "Cairo::ClipNotRepresentableErrorクラス" -->
|
20
|
+
<p><em>Since 1.4</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><a href="cairo-error.html">Cairo::Error</a>
|
31
|
+
<ul>
|
32
|
+
<li>Cairo::ClipNotRepresentableError</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-context.html#label-18">Cairo::Context#clip_rectangle_list</a></li>
|
41
|
+
<li><a href="index.html#label-0">索引</a></li>
|
42
|
+
</ul>
|
43
|
+
<h2><a name="label-3" id="label-3">変更履歴</a></h2><!-- RDLabel: "変更履歴" -->
|
44
|
+
<ul>
|
45
|
+
<li>2007-04-26: kou: クラスの説明を追加。</li>
|
46
|
+
</ul>
|
47
|
+
|
48
|
+
<div class="footer">
|
49
|
+
<ul>
|
50
|
+
<li><a href="./">索引</a></li>
|
51
|
+
</ul>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
</body>
|
55
|
+
|
56
|
+
</html>
|
@@ -0,0 +1,75 @@
|
|
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::Color::Baseクラス</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::Color::Baseクラス</a></h1><!-- RDLabel: "Cairo::Color::Baseクラス" -->
|
20
|
+
<p><em>Since 1.5?</em>: 簡単に色を扱うためのクラスです。RGBで指定し
|
21
|
+
ていたものはすべてこのクラスのオブジェクトで指定する事もでき
|
22
|
+
ます。実際に使うときは<a href="cairo-color-rgb.html">Cairo::Color::RGB</a>などこのクラスの
|
23
|
+
サブクラスを使います。</p>
|
24
|
+
<p>cairoにはないrcairoでの拡張です。</p>
|
25
|
+
<h2><a name="label-1" id="label-1">オブジェクト階層</a></h2><!-- RDLabel: "オブジェクト階層" -->
|
26
|
+
<ul>
|
27
|
+
<li>Object
|
28
|
+
<ul>
|
29
|
+
<li>Cairo::Color::Base</li>
|
30
|
+
</ul></li>
|
31
|
+
</ul>
|
32
|
+
<h2><a name="label-2" id="label-2">クラスメソッド</a></h2><!-- RDLabel: "クラスメソッド" -->
|
33
|
+
<dl>
|
34
|
+
<dt><a name="label-3" id="label-3"><code>Cairo::Color::Base.new(<var>alpha</var>)</code></a></dt><!-- RDLabel: "Cairo::Color::Base.new" -->
|
35
|
+
<dd>
|
36
|
+
普通は使いません。</dd>
|
37
|
+
</dl>
|
38
|
+
<h2><a name="label-4" id="label-4">インタンスメソッド</a></h2><!-- RDLabel: "インタンスメソッド" -->
|
39
|
+
<dl>
|
40
|
+
<dt><a name="label-5" id="label-5"><code>alpha</code></a></dt><!-- RDLabel: "alpha" -->
|
41
|
+
<dt><a name="label-6" id="label-6"><code>a</code></a></dt><!-- RDLabel: "a" -->
|
42
|
+
<dd>
|
43
|
+
アルファ値を返します。
|
44
|
+
<ul>
|
45
|
+
<li>Returns: アルファ値</li>
|
46
|
+
</ul></dd>
|
47
|
+
<dt><a name="label-7" id="label-7"><code>alpha=(<var>value</var>)</code></a></dt><!-- RDLabel: "alpha=" -->
|
48
|
+
<dt><a name="label-8" id="label-8"><code>a=(<var>value</var>)</code></a></dt><!-- RDLabel: "a=" -->
|
49
|
+
<dd>
|
50
|
+
アルファ値を設定します。
|
51
|
+
<ul>
|
52
|
+
<li>value: 新しいアルファ値</li>
|
53
|
+
</ul></dd>
|
54
|
+
</dl>
|
55
|
+
<h2><a name="label-9" id="label-9">参考</a></h2><!-- RDLabel: "参考" -->
|
56
|
+
<ul>
|
57
|
+
<li><a href="cairo-color-rgb.html">Cairo::Color::RGB</a></li>
|
58
|
+
<li><a href="cairo-color-cmyk.html">Cairo::Color::CMYK</a></li>
|
59
|
+
<li><a href="cairo-color-hsv.html">Cairo::Color::HSV</a></li>
|
60
|
+
<li><a href="index.html#label-0">索引</a></li>
|
61
|
+
</ul>
|
62
|
+
<h2><a name="label-10" id="label-10">変更履歴</a></h2><!-- RDLabel: "変更履歴" -->
|
63
|
+
<ul>
|
64
|
+
<li>2007-04-26: kou: スタート。</li>
|
65
|
+
</ul>
|
66
|
+
|
67
|
+
<div class="footer">
|
68
|
+
<ul>
|
69
|
+
<li><a href="./">索引</a></li>
|
70
|
+
</ul>
|
71
|
+
|
72
|
+
</div>
|
73
|
+
</body>
|
74
|
+
|
75
|
+
</html>
|
@@ -0,0 +1,152 @@
|
|
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::Color::CMYKクラス</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::Color::CMYKクラス</a></h1><!-- RDLabel: "Cairo::Color::CMYKクラス" -->
|
20
|
+
<p><em>Since 1.5?</em>: CMYK(シアン、マゼンタ、黄色、キー・プレー
|
21
|
+
ト)で色を表現します。</p>
|
22
|
+
<p>cairoにはないrcairoでの拡張です。</p>
|
23
|
+
<h2><a name="label-1" id="label-1">オブジェクト階層</a></h2><!-- RDLabel: "オブジェクト階層" -->
|
24
|
+
<ul>
|
25
|
+
<li>Object
|
26
|
+
<ul>
|
27
|
+
<li><a href="cairo-color-base.html">Cairo::Color::Base</a>
|
28
|
+
<ul>
|
29
|
+
<li>Cairo::Color::CMYK</li>
|
30
|
+
</ul></li>
|
31
|
+
</ul></li>
|
32
|
+
</ul>
|
33
|
+
<h2><a name="label-2" id="label-2">クラスメソッド</a></h2><!-- RDLabel: "クラスメソッド" -->
|
34
|
+
<dl>
|
35
|
+
<dt><a name="label-3" id="label-3"><code>Cairo::Color::CMYK.new(<var>c</var>, <var>m</var>, <var>y</var>, <var>k</var>, <var>a</var>=<var>1</var>.<var>0</var>)</code></a></dt><!-- RDLabel: "Cairo::Color::CMYK.new" -->
|
36
|
+
<dd>
|
37
|
+
CMYKで表現した色を生成します。
|
38
|
+
<ul>
|
39
|
+
<li>c: シアン</li>
|
40
|
+
<li>m: マゼンタ</li>
|
41
|
+
<li>y: 黄色</li>
|
42
|
+
<li>k: キー・プレート(黒)</li>
|
43
|
+
<li>a: アルファ値</li>
|
44
|
+
<li>Returns: 生成した色</li>
|
45
|
+
</ul></dd>
|
46
|
+
</dl>
|
47
|
+
<h2><a name="label-4" id="label-4">インタンスメソッド</a></h2><!-- RDLabel: "インタンスメソッド" -->
|
48
|
+
<dl>
|
49
|
+
<dt><a name="label-5" id="label-5"><code>cyan</code></a></dt><!-- RDLabel: "cyan" -->
|
50
|
+
<dt><a name="label-6" id="label-6"><code>c</code></a></dt><!-- RDLabel: "c" -->
|
51
|
+
<dd>
|
52
|
+
シアンの値を返します。
|
53
|
+
<ul>
|
54
|
+
<li>Returns: シアンの値</li>
|
55
|
+
</ul></dd>
|
56
|
+
<dt><a name="label-7" id="label-7"><code>cyan=(<var>value</var>)</code></a></dt><!-- RDLabel: "cyan=" -->
|
57
|
+
<dt><a name="label-8" id="label-8"><code>c=(<var>value</var>)</code></a></dt><!-- RDLabel: "c=" -->
|
58
|
+
<dd>
|
59
|
+
シアンの値を設定します。
|
60
|
+
<ul>
|
61
|
+
<li>value: 新しいシアンの値</li>
|
62
|
+
</ul></dd>
|
63
|
+
<dt><a name="label-9" id="label-9"><code>magenta</code></a></dt><!-- RDLabel: "magenta" -->
|
64
|
+
<dt><a name="label-10" id="label-10"><code>m</code></a></dt><!-- RDLabel: "m" -->
|
65
|
+
<dd>
|
66
|
+
マゼンタの値を返します。
|
67
|
+
<ul>
|
68
|
+
<li>Returns: マゼンタの値</li>
|
69
|
+
</ul></dd>
|
70
|
+
<dt><a name="label-11" id="label-11"><code>magenta=(<var>value</var>)</code></a></dt><!-- RDLabel: "magenta=" -->
|
71
|
+
<dt><a name="label-12" id="label-12"><code>m=(<var>value</var>)</code></a></dt><!-- RDLabel: "m=" -->
|
72
|
+
<dd>
|
73
|
+
シアンの値を設定します。
|
74
|
+
<ul>
|
75
|
+
<li>value: 新しいマゼンタの値</li>
|
76
|
+
</ul></dd>
|
77
|
+
<dt><a name="label-13" id="label-13"><code>yellow</code></a></dt><!-- RDLabel: "yellow" -->
|
78
|
+
<dt><a name="label-14" id="label-14"><code>y</code></a></dt><!-- RDLabel: "y" -->
|
79
|
+
<dd>
|
80
|
+
黄色の値を返します。
|
81
|
+
<ul>
|
82
|
+
<li>Returns: 黄色の値</li>
|
83
|
+
</ul></dd>
|
84
|
+
<dt><a name="label-15" id="label-15"><code>yellow=(<var>value</var>)</code></a></dt><!-- RDLabel: "yellow=" -->
|
85
|
+
<dt><a name="label-16" id="label-16"><code>y=(<var>value</var>)</code></a></dt><!-- RDLabel: "y=" -->
|
86
|
+
<dd>
|
87
|
+
黄色の値を設定します。
|
88
|
+
<ul>
|
89
|
+
<li>value: 新しい黄色の値</li>
|
90
|
+
</ul></dd>
|
91
|
+
<dt><a name="label-17" id="label-17"><code>key_plate</code></a></dt><!-- RDLabel: "key_plate" -->
|
92
|
+
<dt><a name="label-18" id="label-18"><code>k</code></a></dt><!-- RDLabel: "k" -->
|
93
|
+
<dd>
|
94
|
+
キー・プレートの値を返します。
|
95
|
+
<ul>
|
96
|
+
<li>Returns: キー・プレートの値</li>
|
97
|
+
</ul></dd>
|
98
|
+
<dt><a name="label-19" id="label-19"><code>key_plate=(<var>value</var>)</code></a></dt><!-- RDLabel: "key_plate=" -->
|
99
|
+
<dt><a name="label-20" id="label-20"><code>k=(<var>value</var>)</code></a></dt><!-- RDLabel: "k=" -->
|
100
|
+
<dd>
|
101
|
+
キー・プレートの値を設定します。
|
102
|
+
<ul>
|
103
|
+
<li>value: 新しいキー・プレートの値</li>
|
104
|
+
</ul></dd>
|
105
|
+
<dt><a name="label-21" id="label-21"><code>to_a</code></a></dt><!-- RDLabel: "to_a" -->
|
106
|
+
<dt><a name="label-22" id="label-22"><code>to_ary</code></a></dt><!-- RDLabel: "to_ary" -->
|
107
|
+
<dd>
|
108
|
+
[cyan, magenta, yellow, key_plate, alpha]を返します。
|
109
|
+
<ul>
|
110
|
+
<li>Returns: シアン、マゼンタ、黄色、キー・プレート、アル
|
111
|
+
ファ値の配列</li>
|
112
|
+
</ul></dd>
|
113
|
+
<dt><a name="label-23" id="label-23"><code>to_cmyk</code></a></dt><!-- RDLabel: "to_cmyk" -->
|
114
|
+
<dd>
|
115
|
+
複製を返します。
|
116
|
+
<ul>
|
117
|
+
<li>Returns: 自分自身の複製</li>
|
118
|
+
</ul></dd>
|
119
|
+
<dt><a name="label-24" id="label-24"><code>to_hsv</code></a></dt><!-- RDLabel: "to_hsv" -->
|
120
|
+
<dd>
|
121
|
+
HSV形式に変換した色を返します。
|
122
|
+
<ul>
|
123
|
+
<li>Returns: <a href="cairo-color-hsv.html">Cairo::Color::HSV</a>オブジェクト</li>
|
124
|
+
</ul></dd>
|
125
|
+
<dt><a name="label-25" id="label-25"><code>to_rgb</code></a></dt><!-- RDLabel: "to_rgb" -->
|
126
|
+
<dd>
|
127
|
+
RGB形式に変換した色を返します。
|
128
|
+
<ul>
|
129
|
+
<li>Returns: <a href="cairo-color-rgb.html">Cairo::Color::RGB</a>オブジェクト</li>
|
130
|
+
</ul></dd>
|
131
|
+
</dl>
|
132
|
+
<h2><a name="label-26" id="label-26">参考</a></h2><!-- RDLabel: "参考" -->
|
133
|
+
<ul>
|
134
|
+
<li><a href="cairo-color-base.html">Cairo::Color::Base</a></li>
|
135
|
+
<li><a href="cairo-color-rgb.html">Cairo::Color::RGB</a></li>
|
136
|
+
<li><a href="cairo-color-hsv.html">Cairo::Color::HSV</a></li>
|
137
|
+
<li><a href="index.html#label-0">索引</a></li>
|
138
|
+
</ul>
|
139
|
+
<h2><a name="label-27" id="label-27">変更履歴</a></h2><!-- RDLabel: "変更履歴" -->
|
140
|
+
<ul>
|
141
|
+
<li>2007-04-26: kou: スタート。</li>
|
142
|
+
</ul>
|
143
|
+
|
144
|
+
<div class="footer">
|
145
|
+
<ul>
|
146
|
+
<li><a href="./">索引</a></li>
|
147
|
+
</ul>
|
148
|
+
|
149
|
+
</div>
|
150
|
+
</body>
|
151
|
+
|
152
|
+
</html>
|
@@ -0,0 +1,135 @@
|
|
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::Color::HSVクラス</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::Color::HSVクラス</a></h1><!-- RDLabel: "Cairo::Color::HSVクラス" -->
|
20
|
+
<p><em>Since 1.5?</em>: HSV(色相、彩度、明度)で色を表現します。</p>
|
21
|
+
<p>cairoにはないrcairoでの拡張です。</p>
|
22
|
+
<h2><a name="label-1" id="label-1">オブジェクト階層</a></h2><!-- RDLabel: "オブジェクト階層" -->
|
23
|
+
<ul>
|
24
|
+
<li>Object
|
25
|
+
<ul>
|
26
|
+
<li><a href="cairo-color-base.html">Cairo::Color::Base</a>
|
27
|
+
<ul>
|
28
|
+
<li>Cairo::Color::HSV</li>
|
29
|
+
</ul></li>
|
30
|
+
</ul></li>
|
31
|
+
</ul>
|
32
|
+
<h2><a name="label-2" id="label-2">クラスメソッド</a></h2><!-- RDLabel: "クラスメソッド" -->
|
33
|
+
<dl>
|
34
|
+
<dt><a name="label-3" id="label-3"><code>Cairo::Color::HSV.new(<var>h</var>, <var>s</var>, <var>v</var>, <var>a</var>=<var>1</var>.<var>0</var></code></a></dt><!-- RDLabel: "Cairo::Color::HSV.new" -->
|
35
|
+
<dd>
|
36
|
+
HSVで表現した色を生成します。
|
37
|
+
<ul>
|
38
|
+
<li>h: 色相</li>
|
39
|
+
<li>s: 彩度</li>
|
40
|
+
<li>v: 明度</li>
|
41
|
+
<li>a: アルファ値</li>
|
42
|
+
<li>Returns: 生成した色</li>
|
43
|
+
</ul></dd>
|
44
|
+
</dl>
|
45
|
+
<h2><a name="label-4" id="label-4">インタンスメソッド</a></h2><!-- RDLabel: "インタンスメソッド" -->
|
46
|
+
<dl>
|
47
|
+
<dt><a name="label-5" id="label-5"><code>hue</code></a></dt><!-- RDLabel: "hue" -->
|
48
|
+
<dt><a name="label-6" id="label-6"><code>h</code></a></dt><!-- RDLabel: "h" -->
|
49
|
+
<dd>
|
50
|
+
色相の値返します。
|
51
|
+
<ul>
|
52
|
+
<li>Returns: 色相の値</li>
|
53
|
+
</ul></dd>
|
54
|
+
<dt><a name="label-7" id="label-7"><code>hue=(<var>value</var>)</code></a></dt><!-- RDLabel: "hue=" -->
|
55
|
+
<dt><a name="label-8" id="label-8"><code>h=(<var>value</var>)</code></a></dt><!-- RDLabel: "h=" -->
|
56
|
+
<dd>
|
57
|
+
色相の値を設定します。
|
58
|
+
<ul>
|
59
|
+
<li>value: 新しい色相の値</li>
|
60
|
+
</ul></dd>
|
61
|
+
<dt><a name="label-9" id="label-9"><code>saturation</code></a></dt><!-- RDLabel: "saturation" -->
|
62
|
+
<dt><a name="label-10" id="label-10"><code>s</code></a></dt><!-- RDLabel: "s" -->
|
63
|
+
<dd>
|
64
|
+
彩度の値を返します。
|
65
|
+
<ul>
|
66
|
+
<li>Returns: 彩度の値</li>
|
67
|
+
</ul></dd>
|
68
|
+
<dt><a name="label-11" id="label-11"><code>saturation=(<var>value</var>)</code></a></dt><!-- RDLabel: "saturation=" -->
|
69
|
+
<dt><a name="label-12" id="label-12"><code>s=(<var>value</var>)</code></a></dt><!-- RDLabel: "s=" -->
|
70
|
+
<dd>
|
71
|
+
彩度の値を設定します。
|
72
|
+
<ul>
|
73
|
+
<li>value: 新しい彩度の値</li>
|
74
|
+
</ul></dd>
|
75
|
+
<dt><a name="label-13" id="label-13"><code>value</code></a></dt><!-- RDLabel: "value" -->
|
76
|
+
<dt><a name="label-14" id="label-14"><code>v</code></a></dt><!-- RDLabel: "v" -->
|
77
|
+
<dd>
|
78
|
+
明度の値を返します。
|
79
|
+
<ul>
|
80
|
+
<li>Returns: 明度の値</li>
|
81
|
+
</ul></dd>
|
82
|
+
<dt><a name="label-15" id="label-15"><code>value=(<var>value</var>)</code></a></dt><!-- RDLabel: "value=" -->
|
83
|
+
<dt><a name="label-16" id="label-16"><code>v=(<var>value</var>)</code></a></dt><!-- RDLabel: "v=" -->
|
84
|
+
<dd>
|
85
|
+
明度の値を設定します。
|
86
|
+
<ul>
|
87
|
+
<li>value: 新しい明度の値</li>
|
88
|
+
</ul></dd>
|
89
|
+
<dt><a name="label-17" id="label-17"><code>to_a</code></a></dt><!-- RDLabel: "to_a" -->
|
90
|
+
<dt><a name="label-18" id="label-18"><code>to_ary</code></a></dt><!-- RDLabel: "to_ary" -->
|
91
|
+
<dd>
|
92
|
+
[hue, saturation, value, alpha]を返します。
|
93
|
+
<ul>
|
94
|
+
<li>Returns: 色相、彩度、明度、アルファ値の配列</li>
|
95
|
+
</ul></dd>
|
96
|
+
<dt><a name="label-19" id="label-19"><code>to_cmyk</code></a></dt><!-- RDLabel: "to_cmyk" -->
|
97
|
+
<dd>
|
98
|
+
CMYK形式に変換した色を返します。
|
99
|
+
<ul>
|
100
|
+
<li>Returns: <a href="cairo-color-cmyk.html">Cairo::Color::CMYK</a>オブジェクト</li>
|
101
|
+
</ul></dd>
|
102
|
+
<dt><a name="label-20" id="label-20"><code>to_hsv</code></a></dt><!-- RDLabel: "to_hsv" -->
|
103
|
+
<dd>
|
104
|
+
複製を返します。
|
105
|
+
<ul>
|
106
|
+
<li>Returns: 自分自身の複製</li>
|
107
|
+
</ul></dd>
|
108
|
+
<dt><a name="label-21" id="label-21"><code>to_rgb</code></a></dt><!-- RDLabel: "to_rgb" -->
|
109
|
+
<dd>
|
110
|
+
RGB形式に変換した色を返します。
|
111
|
+
<ul>
|
112
|
+
<li>Returns: <a href="cairo-color-rgb.html">Cairo::Color::RGB</a>オブジェクト</li>
|
113
|
+
</ul></dd>
|
114
|
+
</dl>
|
115
|
+
<h2><a name="label-22" id="label-22">参考</a></h2><!-- RDLabel: "参考" -->
|
116
|
+
<ul>
|
117
|
+
<li><a href="cairo-color-base.html">Cairo::Color::Base</a></li>
|
118
|
+
<li><a href="cairo-color-rgb.html">Cairo::Color::RGB</a></li>
|
119
|
+
<li><a href="cairo-color-cmyk.html">Cairo::Color::CMYK</a></li>
|
120
|
+
<li><a href="index.html#label-0">索引</a></li>
|
121
|
+
</ul>
|
122
|
+
<h2><a name="label-23" id="label-23">変更履歴</a></h2><!-- RDLabel: "変更履歴" -->
|
123
|
+
<ul>
|
124
|
+
<li>2007-04-26: kou: スタート。</li>
|
125
|
+
</ul>
|
126
|
+
|
127
|
+
<div class="footer">
|
128
|
+
<ul>
|
129
|
+
<li><a href="./">索引</a></li>
|
130
|
+
</ul>
|
131
|
+
|
132
|
+
</div>
|
133
|
+
</body>
|
134
|
+
|
135
|
+
</html>
|