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,161 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
5
|
+
<title>Quartz (CGFont) Fonts</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
|
7
|
+
<link rel="start" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
|
+
<link rel="up" href="Fonts.html" title="Fonts">
|
9
|
+
<link rel="prev" href="cairo-Win32-Fonts.html" title="Win32 Fonts">
|
10
|
+
<link rel="next" href="Surfaces.html" title="Surfaces">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
<link rel="chapter" href="Drawing.html" title="Drawing">
|
14
|
+
<link rel="chapter" href="Fonts.html" title="Fonts">
|
15
|
+
<link rel="chapter" href="Surfaces.html" title="Surfaces">
|
16
|
+
<link rel="chapter" href="Support.html" title="Utilities">
|
17
|
+
<link rel="index" href="ix01.html" title="Index">
|
18
|
+
<link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
|
19
|
+
<link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
|
20
|
+
<link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
|
21
|
+
<link rel="appendix" href="language-bindings.html" title="Appendix A. Creating a language binding for cairo">
|
22
|
+
</head>
|
23
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
24
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
25
|
+
<tr valign="middle">
|
26
|
+
<td><a accesskey="p" href="cairo-Win32-Fonts.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
27
|
+
<td><a accesskey="u" href="Fonts.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
28
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
29
|
+
<th width="100%" align="center">Cairo: A Vector Graphics Library</th>
|
30
|
+
<td><a accesskey="n" href="Surfaces.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
31
|
+
</tr>
|
32
|
+
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2616697" class="shortcut">Top</a>
|
33
|
+
 | 
|
34
|
+
<a href="#id2654317" class="shortcut">Description</a></nobr></td></tr>
|
35
|
+
</table>
|
36
|
+
<div class="refentry" lang="en">
|
37
|
+
<a name="cairo-Quartz-Fonts"></a><div class="titlepage"></div>
|
38
|
+
<div class="refnamediv"><table width="100%"><tr>
|
39
|
+
<td valign="top">
|
40
|
+
<h2>
|
41
|
+
<a name="id2616697"></a><span class="refentrytitle">Quartz (CGFont) Fonts</span>
|
42
|
+
</h2>
|
43
|
+
<p>Quartz (CGFont) Fonts — Font support via CGFont on OS X</p>
|
44
|
+
</td>
|
45
|
+
<td valign="top" align="right"></td>
|
46
|
+
</tr></table></div>
|
47
|
+
<div class="refsynopsisdiv">
|
48
|
+
<h2>Synopsis</h2>
|
49
|
+
<pre class="synopsis">
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
#define <a class="link" href="cairo-Quartz-Fonts.html#CAIRO-HAS-QUARTZ-FONT:CAPS">CAIRO_HAS_QUARTZ_FONT</a>
|
54
|
+
<a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t">cairo_font_face_t</a>* <a class="link" href="cairo-Quartz-Fonts.html#cairo-quartz-font-face-create-for-cgfont">cairo_quartz_font_face_create_for_cgfont</a>
|
55
|
+
(CGFontRef font);
|
56
|
+
<a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t">cairo_font_face_t</a>* <a class="link" href="cairo-Quartz-Fonts.html#cairo-quartz-font-face-create-for-atsu-font-id">cairo_quartz_font_face_create_for_atsu_font_id</a>
|
57
|
+
(ATSUFontID font_id);
|
58
|
+
</pre>
|
59
|
+
</div>
|
60
|
+
<div class="refsect1" lang="en">
|
61
|
+
<a name="id2654317"></a><h2>Description</h2>
|
62
|
+
<p>
|
63
|
+
The Quartz font backend is primarily used to render text on Apple
|
64
|
+
MacOS X systems. The CGFont API is used for the internal
|
65
|
+
implementation of the font backend methods.
|
66
|
+
</p>
|
67
|
+
</div>
|
68
|
+
<div class="refsect1" lang="en">
|
69
|
+
<a name="id2622157"></a><h2>Details</h2>
|
70
|
+
<div class="refsect2" lang="en">
|
71
|
+
<a name="id2593760"></a><h3>
|
72
|
+
<a name="CAIRO-HAS-QUARTZ-FONT:CAPS"></a>CAIRO_HAS_QUARTZ_FONT</h3>
|
73
|
+
<a class="indexterm" name="id2594990"></a><pre class="programlisting">#define CAIRO_HAS_QUARTZ_FONT 1
|
74
|
+
</pre>
|
75
|
+
<p>
|
76
|
+
|
77
|
+
</p>
|
78
|
+
</div>
|
79
|
+
<hr>
|
80
|
+
<div class="refsect2" lang="en">
|
81
|
+
<a name="id2595005"></a><h3>
|
82
|
+
<a name="cairo-quartz-font-face-create-for-cgfont"></a>cairo_quartz_font_face_create_for_cgfont ()</h3>
|
83
|
+
<a class="indexterm" name="id2595018"></a><pre class="programlisting"><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t">cairo_font_face_t</a>* cairo_quartz_font_face_create_for_cgfont
|
84
|
+
(CGFontRef font);</pre>
|
85
|
+
<p>
|
86
|
+
Creates a new font for the Quartz font backend based on a
|
87
|
+
<span class="type">CGFontRef</span>. This font can then be used with
|
88
|
+
<a class="link" href="cairo-Text.html#cairo-set-font-face"><code class="function">cairo_set_font_face()</code></a> or <a class="link" href="cairo-Scaled-Fonts.html#cairo-scaled-font-create"><code class="function">cairo_scaled_font_create()</code></a>.</p>
|
89
|
+
<p>
|
90
|
+
|
91
|
+
</p>
|
92
|
+
<div class="variablelist"><table border="0">
|
93
|
+
<col align="left" valign="top">
|
94
|
+
<tbody>
|
95
|
+
<tr>
|
96
|
+
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
97
|
+
<td> a <span class="type">CGFontRef</span> obtained through a method external to cairo.
|
98
|
+
</td>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
102
|
+
<td> a newly created <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t"><span class="type">cairo_font_face_t</span></a>. Free with
|
103
|
+
<a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-destroy"><code class="function">cairo_font_face_destroy()</code></a> when you are done using it.
|
104
|
+
|
105
|
+
</td>
|
106
|
+
</tr>
|
107
|
+
</tbody>
|
108
|
+
</table></div>
|
109
|
+
<p class="since">Since 1.6
|
110
|
+
</p>
|
111
|
+
</div>
|
112
|
+
<hr>
|
113
|
+
<div class="refsect2" lang="en">
|
114
|
+
<a name="id2650866"></a><h3>
|
115
|
+
<a name="cairo-quartz-font-face-create-for-atsu-font-id"></a>cairo_quartz_font_face_create_for_atsu_font_id ()</h3>
|
116
|
+
<a class="indexterm" name="id2650882"></a><pre class="programlisting"><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t">cairo_font_face_t</a>* cairo_quartz_font_face_create_for_atsu_font_id
|
117
|
+
(ATSUFontID font_id);</pre>
|
118
|
+
<p>
|
119
|
+
Creates a new font for the Quartz font backend based on an
|
120
|
+
<span class="type">ATSUFontID</span>. This font can then be used with
|
121
|
+
<a class="link" href="cairo-Text.html#cairo-set-font-face"><code class="function">cairo_set_font_face()</code></a> or <a class="link" href="cairo-Scaled-Fonts.html#cairo-scaled-font-create"><code class="function">cairo_scaled_font_create()</code></a>.</p>
|
122
|
+
<p>
|
123
|
+
|
124
|
+
</p>
|
125
|
+
<div class="variablelist"><table border="0">
|
126
|
+
<col align="left" valign="top">
|
127
|
+
<tbody>
|
128
|
+
<tr>
|
129
|
+
<td><p><span class="term"><em class="parameter"><code>font_id</code></em> :</span></p></td>
|
130
|
+
<td> an ATSUFontID for the font.
|
131
|
+
</td>
|
132
|
+
</tr>
|
133
|
+
<tr>
|
134
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
135
|
+
<td> a newly created <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t"><span class="type">cairo_font_face_t</span></a>. Free with
|
136
|
+
<a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-destroy"><code class="function">cairo_font_face_destroy()</code></a> when you are done using it.
|
137
|
+
|
138
|
+
</td>
|
139
|
+
</tr>
|
140
|
+
</tbody>
|
141
|
+
</table></div>
|
142
|
+
<p class="since">Since 1.6
|
143
|
+
</p>
|
144
|
+
</div>
|
145
|
+
</div>
|
146
|
+
<div class="refsect1" lang="en">
|
147
|
+
<a name="id2605119"></a><h2>See Also</h2>
|
148
|
+
<p>
|
149
|
+
</p>
|
150
|
+
<div class="itemizedlist"><ul type="disc"><li><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t"><span class="type">cairo_font_face_t</span></a></li></ul></div>
|
151
|
+
<p>
|
152
|
+
</p>
|
153
|
+
</div>
|
154
|
+
<div class="refsect1" lang="en">
|
155
|
+
<a name="id2605142"></a><div class="refsect2" lang="en"><a name="id2621300"></a></div>
|
156
|
+
<hr>
|
157
|
+
<div class="refsect2" lang="en"><a name="id2621301"></a></div>
|
158
|
+
</div>
|
159
|
+
</div>
|
160
|
+
</body>
|
161
|
+
</html>
|
@@ -0,0 +1,232 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
5
|
+
<title>Quartz Surfaces</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
|
7
|
+
<link rel="start" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
|
+
<link rel="up" href="Surfaces.html" title="Surfaces">
|
9
|
+
<link rel="prev" href="cairo-SVG-Surfaces.html" title="SVG Surfaces">
|
10
|
+
<link rel="next" href="cairo-XLib-Surfaces.html" title="XLib Surfaces">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
<link rel="chapter" href="Drawing.html" title="Drawing">
|
14
|
+
<link rel="chapter" href="Fonts.html" title="Fonts">
|
15
|
+
<link rel="chapter" href="Surfaces.html" title="Surfaces">
|
16
|
+
<link rel="chapter" href="Support.html" title="Utilities">
|
17
|
+
<link rel="index" href="ix01.html" title="Index">
|
18
|
+
<link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
|
19
|
+
<link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
|
20
|
+
<link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
|
21
|
+
<link rel="appendix" href="language-bindings.html" title="Appendix A. Creating a language binding for cairo">
|
22
|
+
</head>
|
23
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
24
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
25
|
+
<tr valign="middle">
|
26
|
+
<td><a accesskey="p" href="cairo-SVG-Surfaces.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
27
|
+
<td><a accesskey="u" href="Surfaces.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
28
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
29
|
+
<th width="100%" align="center">Cairo: A Vector Graphics Library</th>
|
30
|
+
<td><a accesskey="n" href="cairo-XLib-Surfaces.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
31
|
+
</tr>
|
32
|
+
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2600152" class="shortcut">Top</a>
|
33
|
+
 | 
|
34
|
+
<a href="#id2658109" class="shortcut">Description</a></nobr></td></tr>
|
35
|
+
</table>
|
36
|
+
<div class="refentry" lang="en">
|
37
|
+
<a name="cairo-Quartz-Surfaces"></a><div class="titlepage"></div>
|
38
|
+
<div class="refnamediv"><table width="100%"><tr>
|
39
|
+
<td valign="top">
|
40
|
+
<h2>
|
41
|
+
<a name="id2600152"></a><span class="refentrytitle">Quartz Surfaces</span>
|
42
|
+
</h2>
|
43
|
+
<p>Quartz Surfaces — Rendering to Quartz surfaces</p>
|
44
|
+
</td>
|
45
|
+
<td valign="top" align="right"></td>
|
46
|
+
</tr></table></div>
|
47
|
+
<div class="refsynopsisdiv">
|
48
|
+
<h2>Synopsis</h2>
|
49
|
+
<pre class="synopsis">
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
#define <a class="link" href="cairo-Quartz-Surfaces.html#CAIRO-HAS-QUARTZ-SURFACE:CAPS">CAIRO_HAS_QUARTZ_SURFACE</a>
|
54
|
+
<a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t">cairo_surface_t</a>* <a class="link" href="cairo-Quartz-Surfaces.html#cairo-quartz-surface-create">cairo_quartz_surface_create</a> (<a class="link" href="cairo-Image-Surfaces.html#cairo-format-t">cairo_format_t</a> format,
|
55
|
+
unsigned int width,
|
56
|
+
unsigned int height);
|
57
|
+
<a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t">cairo_surface_t</a>* <a class="link" href="cairo-Quartz-Surfaces.html#cairo-quartz-surface-create-for-cg-context">cairo_quartz_surface_create_for_cg_context</a>
|
58
|
+
(CGContextRef cgContext,
|
59
|
+
unsigned int width,
|
60
|
+
unsigned int height);
|
61
|
+
CGContextRef <a class="link" href="cairo-Quartz-Surfaces.html#cairo-quartz-surface-get-cg-context">cairo_quartz_surface_get_cg_context</a> (<a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t">cairo_surface_t</a> *surface);
|
62
|
+
</pre>
|
63
|
+
</div>
|
64
|
+
<div class="refsect1" lang="en">
|
65
|
+
<a name="id2658109"></a><h2>Description</h2>
|
66
|
+
<p>
|
67
|
+
The Quartz surface is used to render cairo graphics targeting the
|
68
|
+
Apple OS X Quartz rendering system.
|
69
|
+
</p>
|
70
|
+
</div>
|
71
|
+
<div class="refsect1" lang="en">
|
72
|
+
<a name="id2658126"></a><h2>Details</h2>
|
73
|
+
<div class="refsect2" lang="en">
|
74
|
+
<a name="id2658137"></a><h3>
|
75
|
+
<a name="CAIRO-HAS-QUARTZ-SURFACE:CAPS"></a>CAIRO_HAS_QUARTZ_SURFACE</h3>
|
76
|
+
<a class="indexterm" name="id2658148"></a><pre class="programlisting">#define CAIRO_HAS_QUARTZ_SURFACE 1
|
77
|
+
</pre>
|
78
|
+
<p>
|
79
|
+
|
80
|
+
</p>
|
81
|
+
</div>
|
82
|
+
<hr>
|
83
|
+
<div class="refsect2" lang="en">
|
84
|
+
<a name="id2667279"></a><h3>
|
85
|
+
<a name="cairo-quartz-surface-create"></a>cairo_quartz_surface_create ()</h3>
|
86
|
+
<a class="indexterm" name="id2667293"></a><pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t">cairo_surface_t</a>* cairo_quartz_surface_create (<a class="link" href="cairo-Image-Surfaces.html#cairo-format-t">cairo_format_t</a> format,
|
87
|
+
unsigned int width,
|
88
|
+
unsigned int height);</pre>
|
89
|
+
<p>
|
90
|
+
Creates a Quartz surface backed by a CGBitmap. The surface is
|
91
|
+
created using the Device RGB (or Device Gray, for A8) color space.
|
92
|
+
All Cairo operations, including those that require software
|
93
|
+
rendering, will succeed on this surface.</p>
|
94
|
+
<p>
|
95
|
+
|
96
|
+
</p>
|
97
|
+
<div class="variablelist"><table border="0">
|
98
|
+
<col align="left" valign="top">
|
99
|
+
<tbody>
|
100
|
+
<tr>
|
101
|
+
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
102
|
+
<td> format of pixels in the surface to create
|
103
|
+
</td>
|
104
|
+
</tr>
|
105
|
+
<tr>
|
106
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
107
|
+
<td> width of the surface, in pixels
|
108
|
+
</td>
|
109
|
+
</tr>
|
110
|
+
<tr>
|
111
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
112
|
+
<td> height of the surface, in pixels
|
113
|
+
</td>
|
114
|
+
</tr>
|
115
|
+
<tr>
|
116
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
117
|
+
<td> the newly created surface.
|
118
|
+
|
119
|
+
</td>
|
120
|
+
</tr>
|
121
|
+
</tbody>
|
122
|
+
</table></div>
|
123
|
+
<p class="since">Since 1.4
|
124
|
+
</p>
|
125
|
+
</div>
|
126
|
+
<hr>
|
127
|
+
<div class="refsect2" lang="en">
|
128
|
+
<a name="id2656409"></a><h3>
|
129
|
+
<a name="cairo-quartz-surface-create-for-cg-context"></a>cairo_quartz_surface_create_for_cg_context ()</h3>
|
130
|
+
<a class="indexterm" name="id2656423"></a><pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t">cairo_surface_t</a>* cairo_quartz_surface_create_for_cg_context
|
131
|
+
(CGContextRef cgContext,
|
132
|
+
unsigned int width,
|
133
|
+
unsigned int height);</pre>
|
134
|
+
<p>
|
135
|
+
Creates a Quartz surface that wraps the given CGContext. The
|
136
|
+
CGContext is assumed to be in the standard Cairo coordinate space
|
137
|
+
(that is, with the origin at the upper left and the Y axis
|
138
|
+
increasing downward). If the CGContext is in the Quartz coordinate
|
139
|
+
space (with the origin at the bottom left), then it should be
|
140
|
+
flipped before this function is called. The flip can be accomplished
|
141
|
+
using a translate and a scale; for example:
|
142
|
+
</p>
|
143
|
+
<p>
|
144
|
+
</p>
|
145
|
+
<div class="informalexample"><pre class="programlisting">
|
146
|
+
CGContextTranslateCTM (cgContext, 0.0, height);
|
147
|
+
CGContextScaleCTM (cgContext, 1.0, -1.0);
|
148
|
+
</pre></div>
|
149
|
+
<p>
|
150
|
+
</p>
|
151
|
+
<p>
|
152
|
+
All Cairo operations are implemented in terms of Quartz operations,
|
153
|
+
as long as Quartz-compatible elements are used (such as Quartz fonts).</p>
|
154
|
+
<p>
|
155
|
+
|
156
|
+
</p>
|
157
|
+
<div class="variablelist"><table border="0">
|
158
|
+
<col align="left" valign="top">
|
159
|
+
<tbody>
|
160
|
+
<tr>
|
161
|
+
<td><p><span class="term"><em class="parameter"><code>cgContext</code></em> :</span></p></td>
|
162
|
+
<td> the existing CGContext for which to create the surface
|
163
|
+
</td>
|
164
|
+
</tr>
|
165
|
+
<tr>
|
166
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
167
|
+
<td> width of the surface, in pixels
|
168
|
+
</td>
|
169
|
+
</tr>
|
170
|
+
<tr>
|
171
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
172
|
+
<td> height of the surface, in pixels
|
173
|
+
</td>
|
174
|
+
</tr>
|
175
|
+
<tr>
|
176
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
177
|
+
<td> the newly created Cairo surface.
|
178
|
+
|
179
|
+
</td>
|
180
|
+
</tr>
|
181
|
+
</tbody>
|
182
|
+
</table></div>
|
183
|
+
<p class="since">Since 1.4
|
184
|
+
</p>
|
185
|
+
</div>
|
186
|
+
<hr>
|
187
|
+
<div class="refsect2" lang="en">
|
188
|
+
<a name="id2665348"></a><h3>
|
189
|
+
<a name="cairo-quartz-surface-get-cg-context"></a>cairo_quartz_surface_get_cg_context ()</h3>
|
190
|
+
<a class="indexterm" name="id2665362"></a><pre class="programlisting">CGContextRef cairo_quartz_surface_get_cg_context (<a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t">cairo_surface_t</a> *surface);</pre>
|
191
|
+
<p>
|
192
|
+
Returns the CGContextRef that the given Quartz surface is backed
|
193
|
+
by.</p>
|
194
|
+
<p>
|
195
|
+
|
196
|
+
</p>
|
197
|
+
<div class="variablelist"><table border="0">
|
198
|
+
<col align="left" valign="top">
|
199
|
+
<tbody>
|
200
|
+
<tr>
|
201
|
+
<td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
|
202
|
+
<td> the Cairo Quartz surface
|
203
|
+
</td>
|
204
|
+
</tr>
|
205
|
+
<tr>
|
206
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
207
|
+
<td> the CGContextRef for the given surface.
|
208
|
+
|
209
|
+
</td>
|
210
|
+
</tr>
|
211
|
+
</tbody>
|
212
|
+
</table></div>
|
213
|
+
<p class="since">Since 1.4
|
214
|
+
</p>
|
215
|
+
</div>
|
216
|
+
</div>
|
217
|
+
<div class="refsect1" lang="en">
|
218
|
+
<a name="id2665930"></a><h2>See Also</h2>
|
219
|
+
<p>
|
220
|
+
</p>
|
221
|
+
<div class="itemizedlist"><ul type="disc"><li><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a></li></ul></div>
|
222
|
+
<p>
|
223
|
+
</p>
|
224
|
+
</div>
|
225
|
+
<div class="refsect1" lang="en">
|
226
|
+
<a name="id2665954"></a><div class="refsect2" lang="en"><a name="id2665955"></a></div>
|
227
|
+
<hr>
|
228
|
+
<div class="refsect2" lang="en"><a name="id2665956"></a></div>
|
229
|
+
</div>
|
230
|
+
</div>
|
231
|
+
</body>
|
232
|
+
</html>
|
@@ -0,0 +1,337 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
5
|
+
<title>SVG Surfaces</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
|
7
|
+
<link rel="start" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
|
+
<link rel="up" href="Surfaces.html" title="Surfaces">
|
9
|
+
<link rel="prev" href="cairo-Win32-Surfaces.html" title="Win32 Surfaces">
|
10
|
+
<link rel="next" href="cairo-Quartz-Surfaces.html" title="Quartz Surfaces">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
<link rel="chapter" href="Drawing.html" title="Drawing">
|
14
|
+
<link rel="chapter" href="Fonts.html" title="Fonts">
|
15
|
+
<link rel="chapter" href="Surfaces.html" title="Surfaces">
|
16
|
+
<link rel="chapter" href="Support.html" title="Utilities">
|
17
|
+
<link rel="index" href="ix01.html" title="Index">
|
18
|
+
<link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
|
19
|
+
<link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
|
20
|
+
<link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
|
21
|
+
<link rel="appendix" href="language-bindings.html" title="Appendix A. Creating a language binding for cairo">
|
22
|
+
</head>
|
23
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
24
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
25
|
+
<tr valign="middle">
|
26
|
+
<td><a accesskey="p" href="cairo-Win32-Surfaces.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
27
|
+
<td><a accesskey="u" href="Surfaces.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
28
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
29
|
+
<th width="100%" align="center">Cairo: A Vector Graphics Library</th>
|
30
|
+
<td><a accesskey="n" href="cairo-Quartz-Surfaces.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
31
|
+
</tr>
|
32
|
+
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2576112" class="shortcut">Top</a>
|
33
|
+
 | 
|
34
|
+
<a href="#id2664821" class="shortcut">Description</a></nobr></td></tr>
|
35
|
+
</table>
|
36
|
+
<div class="refentry" lang="en">
|
37
|
+
<a name="cairo-SVG-Surfaces"></a><div class="titlepage"></div>
|
38
|
+
<div class="refnamediv"><table width="100%"><tr>
|
39
|
+
<td valign="top">
|
40
|
+
<h2>
|
41
|
+
<a name="id2576112"></a><span class="refentrytitle">SVG Surfaces</span>
|
42
|
+
</h2>
|
43
|
+
<p>SVG Surfaces — Rendering SVG documents</p>
|
44
|
+
</td>
|
45
|
+
<td valign="top" align="right"></td>
|
46
|
+
</tr></table></div>
|
47
|
+
<div class="refsynopsisdiv">
|
48
|
+
<h2>Synopsis</h2>
|
49
|
+
<pre class="synopsis">
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
#define <a class="link" href="cairo-SVG-Surfaces.html#CAIRO-HAS-SVG-SURFACE:CAPS">CAIRO_HAS_SVG_SURFACE</a>
|
54
|
+
<a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t">cairo_surface_t</a>* <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-surface-create">cairo_svg_surface_create</a> (const char *filename,
|
55
|
+
double width_in_points,
|
56
|
+
double height_in_points);
|
57
|
+
<a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t">cairo_surface_t</a>* <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-surface-create-for-stream">cairo_svg_surface_create_for_stream</a> (<a class="link" href="cairo-PNG-Support.html#cairo-write-func-t">cairo_write_func_t</a> write_func,
|
58
|
+
void *closure,
|
59
|
+
double width_in_points,
|
60
|
+
double height_in_points);
|
61
|
+
void <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-surface-restrict-to-version">cairo_svg_surface_restrict_to_version</a>
|
62
|
+
(<a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t">cairo_surface_t</a> *surface,
|
63
|
+
<a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t">cairo_svg_version_t</a> version);
|
64
|
+
enum <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t">cairo_svg_version_t</a>;
|
65
|
+
void <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-get-versions">cairo_svg_get_versions</a> (<a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t">cairo_svg_version_t</a> const **versions,
|
66
|
+
int *num_versions);
|
67
|
+
const char* <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-to-string">cairo_svg_version_to_string</a> (<a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t">cairo_svg_version_t</a> version);
|
68
|
+
</pre>
|
69
|
+
</div>
|
70
|
+
<div class="refsect1" lang="en">
|
71
|
+
<a name="id2664821"></a><h2>Description</h2>
|
72
|
+
<p>
|
73
|
+
The SVG surface is used to render cairo graphics to
|
74
|
+
SVG files and is a multi-page vector surface backend.
|
75
|
+
</p>
|
76
|
+
</div>
|
77
|
+
<div class="refsect1" lang="en">
|
78
|
+
<a name="id2664838"></a><h2>Details</h2>
|
79
|
+
<div class="refsect2" lang="en">
|
80
|
+
<a name="id2664849"></a><h3>
|
81
|
+
<a name="CAIRO-HAS-SVG-SURFACE:CAPS"></a>CAIRO_HAS_SVG_SURFACE</h3>
|
82
|
+
<a class="indexterm" name="id2664860"></a><pre class="programlisting">#define CAIRO_HAS_SVG_SURFACE 1
|
83
|
+
</pre>
|
84
|
+
<p>
|
85
|
+
Defined if the SVG surface backend is available.
|
86
|
+
This macro can be used to conditionally compile backend-specific code.
|
87
|
+
</p>
|
88
|
+
</div>
|
89
|
+
<hr>
|
90
|
+
<div class="refsect2" lang="en">
|
91
|
+
<a name="id2664877"></a><h3>
|
92
|
+
<a name="cairo-svg-surface-create"></a>cairo_svg_surface_create ()</h3>
|
93
|
+
<a class="indexterm" name="id2664891"></a><pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t">cairo_surface_t</a>* cairo_svg_surface_create (const char *filename,
|
94
|
+
double width_in_points,
|
95
|
+
double height_in_points);</pre>
|
96
|
+
<p>
|
97
|
+
Creates a SVG surface of the specified size in points to be written
|
98
|
+
to <em class="parameter"><code>filename</code></em>.</p>
|
99
|
+
<p>
|
100
|
+
|
101
|
+
</p>
|
102
|
+
<div class="variablelist"><table border="0">
|
103
|
+
<col align="left" valign="top">
|
104
|
+
<tbody>
|
105
|
+
<tr>
|
106
|
+
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
107
|
+
<td> a filename for the SVG output (must be writable)
|
108
|
+
</td>
|
109
|
+
</tr>
|
110
|
+
<tr>
|
111
|
+
<td><p><span class="term"><em class="parameter"><code>width_in_points</code></em> :</span></p></td>
|
112
|
+
<td> width of the surface, in points (1 point == 1/72.0 inch)
|
113
|
+
</td>
|
114
|
+
</tr>
|
115
|
+
<tr>
|
116
|
+
<td><p><span class="term"><em class="parameter"><code>height_in_points</code></em> :</span></p></td>
|
117
|
+
<td> height of the surface, in points (1 point == 1/72.0 inch)
|
118
|
+
</td>
|
119
|
+
</tr>
|
120
|
+
<tr>
|
121
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
122
|
+
<td> a pointer to the newly created surface. The caller
|
123
|
+
owns the surface and should call <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-destroy"><code class="function">cairo_surface_destroy()</code></a> when done
|
124
|
+
with it.
|
125
|
+
|
126
|
+
This function always returns a valid pointer, but it will return a
|
127
|
+
pointer to a "nil" surface if an error such as out of memory
|
128
|
+
occurs. You can use <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-status"><code class="function">cairo_surface_status()</code></a> to check for this.
|
129
|
+
|
130
|
+
</td>
|
131
|
+
</tr>
|
132
|
+
</tbody>
|
133
|
+
</table></div>
|
134
|
+
<p class="since">Since 1.2
|
135
|
+
</p>
|
136
|
+
</div>
|
137
|
+
<hr>
|
138
|
+
<div class="refsect2" lang="en">
|
139
|
+
<a name="id2665032"></a><h3>
|
140
|
+
<a name="cairo-svg-surface-create-for-stream"></a>cairo_svg_surface_create_for_stream ()</h3>
|
141
|
+
<a class="indexterm" name="id2665046"></a><pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t">cairo_surface_t</a>* cairo_svg_surface_create_for_stream (<a class="link" href="cairo-PNG-Support.html#cairo-write-func-t">cairo_write_func_t</a> write_func,
|
142
|
+
void *closure,
|
143
|
+
double width_in_points,
|
144
|
+
double height_in_points);</pre>
|
145
|
+
<p>
|
146
|
+
Creates a SVG surface of the specified size in points to be written
|
147
|
+
incrementally to the stream represented by <em class="parameter"><code>write_func</code></em> and <em class="parameter"><code>closure</code></em>.</p>
|
148
|
+
<p>
|
149
|
+
|
150
|
+
</p>
|
151
|
+
<div class="variablelist"><table border="0">
|
152
|
+
<col align="left" valign="top">
|
153
|
+
<tbody>
|
154
|
+
<tr>
|
155
|
+
<td><p><span class="term"><em class="parameter"><code>write_func</code></em> :</span></p></td>
|
156
|
+
<td> a <a class="link" href="cairo-PNG-Support.html#cairo-write-func-t"><span class="type">cairo_write_func_t</span></a> to accept the output data
|
157
|
+
</td>
|
158
|
+
</tr>
|
159
|
+
<tr>
|
160
|
+
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
161
|
+
<td> the closure argument for <em class="parameter"><code>write_func</code></em>
|
162
|
+
</td>
|
163
|
+
</tr>
|
164
|
+
<tr>
|
165
|
+
<td><p><span class="term"><em class="parameter"><code>width_in_points</code></em> :</span></p></td>
|
166
|
+
<td> width of the surface, in points (1 point == 1/72.0 inch)
|
167
|
+
</td>
|
168
|
+
</tr>
|
169
|
+
<tr>
|
170
|
+
<td><p><span class="term"><em class="parameter"><code>height_in_points</code></em> :</span></p></td>
|
171
|
+
<td> height of the surface, in points (1 point == 1/72.0 inch)
|
172
|
+
</td>
|
173
|
+
</tr>
|
174
|
+
<tr>
|
175
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
176
|
+
<td> a pointer to the newly created surface. The caller
|
177
|
+
owns the surface and should call <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-destroy"><code class="function">cairo_surface_destroy()</code></a> when done
|
178
|
+
with it.
|
179
|
+
|
180
|
+
This function always returns a valid pointer, but it will return a
|
181
|
+
pointer to a "nil" surface if an error such as out of memory
|
182
|
+
occurs. You can use <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-status"><code class="function">cairo_surface_status()</code></a> to check for this.
|
183
|
+
|
184
|
+
</td>
|
185
|
+
</tr>
|
186
|
+
</tbody>
|
187
|
+
</table></div>
|
188
|
+
<p class="since">Since 1.2
|
189
|
+
</p>
|
190
|
+
</div>
|
191
|
+
<hr>
|
192
|
+
<div class="refsect2" lang="en">
|
193
|
+
<a name="id2665227"></a><h3>
|
194
|
+
<a name="cairo-svg-surface-restrict-to-version"></a>cairo_svg_surface_restrict_to_version ()</h3>
|
195
|
+
<a class="indexterm" name="id2665243"></a><pre class="programlisting">void cairo_svg_surface_restrict_to_version
|
196
|
+
(<a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t">cairo_surface_t</a> *surface,
|
197
|
+
<a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t">cairo_svg_version_t</a> version);</pre>
|
198
|
+
<p>
|
199
|
+
Restricts the generated SVG file to <em class="parameter"><code>version</code></em>. See <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-get-versions"><code class="function">cairo_svg_get_versions()</code></a>
|
200
|
+
for a list of available version values that can be used here.
|
201
|
+
</p>
|
202
|
+
<p>
|
203
|
+
This function should only be called before any drawing operations
|
204
|
+
have been performed on the given surface. The simplest way to do
|
205
|
+
this is to call this function immediately after creating the
|
206
|
+
surface.</p>
|
207
|
+
<p>
|
208
|
+
|
209
|
+
</p>
|
210
|
+
<div class="variablelist"><table border="0">
|
211
|
+
<col align="left" valign="top">
|
212
|
+
<tbody>
|
213
|
+
<tr>
|
214
|
+
<td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
|
215
|
+
<td> a SVG <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a>
|
216
|
+
</td>
|
217
|
+
</tr>
|
218
|
+
<tr>
|
219
|
+
<td><p><span class="term"><em class="parameter"><code>version</code></em> :</span></p></td>
|
220
|
+
<td> SVG version
|
221
|
+
</td>
|
222
|
+
</tr>
|
223
|
+
</tbody>
|
224
|
+
</table></div>
|
225
|
+
<p class="since">Since 1.2
|
226
|
+
</p>
|
227
|
+
</div>
|
228
|
+
<hr>
|
229
|
+
<div class="refsect2" lang="en">
|
230
|
+
<a name="id2665562"></a><h3>
|
231
|
+
<a name="cairo-svg-version-t"></a>enum cairo_svg_version_t</h3>
|
232
|
+
<a class="indexterm" name="id2665575"></a><pre class="programlisting">typedef enum _cairo_svg_version {
|
233
|
+
CAIRO_SVG_VERSION_1_1,
|
234
|
+
CAIRO_SVG_VERSION_1_2
|
235
|
+
} cairo_svg_version_t;
|
236
|
+
</pre>
|
237
|
+
<p>
|
238
|
+
<a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t"><span class="type">cairo_svg_version_t</span></a> is used to describe the version number of the SVG
|
239
|
+
specification that a generated SVG file will conform to.</p>
|
240
|
+
<p>
|
241
|
+
|
242
|
+
</p>
|
243
|
+
<div class="variablelist"><table border="0">
|
244
|
+
<col align="left" valign="top">
|
245
|
+
<tbody>
|
246
|
+
<tr>
|
247
|
+
<td><p><span class="term"><a name="CAIRO-SVG-VERSION-1-1:CAPS"></a><code class="literal">CAIRO_SVG_VERSION_1_1</code></span></p></td>
|
248
|
+
<td> The version 1.1 of the SVG specification.
|
249
|
+
</td>
|
250
|
+
</tr>
|
251
|
+
<tr>
|
252
|
+
<td><p><span class="term"><a name="CAIRO-SVG-VERSION-1-2:CAPS"></a><code class="literal">CAIRO_SVG_VERSION_1_2</code></span></p></td>
|
253
|
+
<td> The version 1.2 of the SVG specification.
|
254
|
+
</td>
|
255
|
+
</tr>
|
256
|
+
</tbody>
|
257
|
+
</table></div>
|
258
|
+
</div>
|
259
|
+
<hr>
|
260
|
+
<div class="refsect2" lang="en">
|
261
|
+
<a name="id2665652"></a><h3>
|
262
|
+
<a name="cairo-svg-get-versions"></a>cairo_svg_get_versions ()</h3>
|
263
|
+
<a class="indexterm" name="id2665665"></a><pre class="programlisting">void cairo_svg_get_versions (<a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t">cairo_svg_version_t</a> const **versions,
|
264
|
+
int *num_versions);</pre>
|
265
|
+
<p>
|
266
|
+
Used to retrieve the list of supported versions. See
|
267
|
+
<a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-surface-restrict-to-version"><code class="function">cairo_svg_surface_restrict_to_version()</code></a>.</p>
|
268
|
+
<p>
|
269
|
+
|
270
|
+
</p>
|
271
|
+
<div class="variablelist"><table border="0">
|
272
|
+
<col align="left" valign="top">
|
273
|
+
<tbody>
|
274
|
+
<tr>
|
275
|
+
<td><p><span class="term"><em class="parameter"><code>versions</code></em> :</span></p></td>
|
276
|
+
<td> supported version list
|
277
|
+
</td>
|
278
|
+
</tr>
|
279
|
+
<tr>
|
280
|
+
<td><p><span class="term"><em class="parameter"><code>num_versions</code></em> :</span></p></td>
|
281
|
+
<td> list length
|
282
|
+
</td>
|
283
|
+
</tr>
|
284
|
+
</tbody>
|
285
|
+
</table></div>
|
286
|
+
<p class="since">Since 1.2
|
287
|
+
</p>
|
288
|
+
</div>
|
289
|
+
<hr>
|
290
|
+
<div class="refsect2" lang="en">
|
291
|
+
<a name="id2665754"></a><h3>
|
292
|
+
<a name="cairo-svg-version-to-string"></a>cairo_svg_version_to_string ()</h3>
|
293
|
+
<a class="indexterm" name="id2665768"></a><pre class="programlisting">const char* cairo_svg_version_to_string (<a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t">cairo_svg_version_t</a> version);</pre>
|
294
|
+
<p>
|
295
|
+
Get the string representation of the given <em class="parameter"><code>version</code></em> id. This function
|
296
|
+
will return <code class="literal">NULL</code> if <em class="parameter"><code>version</code></em> isn't valid. See <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-get-versions"><code class="function">cairo_svg_get_versions()</code></a>
|
297
|
+
for a way to get the list of valid version ids.</p>
|
298
|
+
<p>
|
299
|
+
|
300
|
+
</p>
|
301
|
+
<div class="variablelist"><table border="0">
|
302
|
+
<col align="left" valign="top">
|
303
|
+
<tbody>
|
304
|
+
<tr>
|
305
|
+
<td><p><span class="term"><em class="parameter"><code>version</code></em> :</span></p></td>
|
306
|
+
<td> a version id
|
307
|
+
</td>
|
308
|
+
</tr>
|
309
|
+
<tr>
|
310
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
311
|
+
<td> the string associated to given version.
|
312
|
+
|
313
|
+
</td>
|
314
|
+
</tr>
|
315
|
+
</tbody>
|
316
|
+
</table></div>
|
317
|
+
<p class="since">Since 1.2
|
318
|
+
</p>
|
319
|
+
</div>
|
320
|
+
</div>
|
321
|
+
<div class="refsect1" lang="en">
|
322
|
+
<a name="id2665870"></a><h2>See Also</h2>
|
323
|
+
<p>
|
324
|
+
</p>
|
325
|
+
<div class="itemizedlist"><ul type="disc"><li>#<a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t"><code class="function">cairo_surface_t()</code></a>
|
326
|
+
</li></ul></div>
|
327
|
+
<p>
|
328
|
+
</p>
|
329
|
+
</div>
|
330
|
+
<div class="refsect1" lang="en">
|
331
|
+
<a name="id2665897"></a><div class="refsect2" lang="en"><a name="id2665898"></a></div>
|
332
|
+
<hr>
|
333
|
+
<div class="refsect2" lang="en"><a name="id2665899"></a></div>
|
334
|
+
</div>
|
335
|
+
</div>
|
336
|
+
</body>
|
337
|
+
</html>
|