cairo 1.12.4-x86-mingw32 → 1.12.5-x86-mingw32
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/NEWS +8 -0
- data/Rakefile +357 -31
- data/ext/cairo/rb_cairo.h +1 -1
- data/lib/1.9/cairo.so +0 -0
- data/lib/2.0/cairo.so +0 -0
- data/vendor/local/bin/fc-cache.exe +0 -0
- data/vendor/local/bin/fc-cat.exe +0 -0
- data/vendor/local/bin/fc-list.exe +0 -0
- data/vendor/local/bin/fc-match.exe +0 -0
- data/vendor/local/bin/fc-pattern.exe +0 -0
- data/vendor/local/bin/fc-query.exe +0 -0
- data/vendor/local/bin/fc-scan.exe +0 -0
- data/vendor/local/bin/fc-validate.exe +0 -0
- data/vendor/local/bin/freetype-config +14 -16
- data/vendor/local/bin/libcairo-2.dll +0 -0
- data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
- data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
- data/vendor/local/bin/libfontconfig-1.dll +0 -0
- data/vendor/local/bin/libfreetype-6.dll +0 -0
- data/vendor/local/bin/libpixman-1-0.dll +0 -0
- data/vendor/local/bin/libpng-config +127 -0
- data/vendor/local/bin/libpng16-16.dll +0 -0
- data/vendor/local/bin/libpng16-config +127 -0
- data/vendor/local/bin/libxml2-2.dll +0 -0
- data/vendor/local/bin/xml2-config +106 -0
- data/vendor/local/bin/xmlcatalog.exe +0 -0
- data/vendor/local/bin/xmllint.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/fonts/conf.d/10-scale-bitmap-fonts.conf +81 -0
- data/vendor/local/etc/fonts/conf.d/20-unhint-small-vera.conf +48 -0
- data/vendor/local/etc/fonts/conf.d/30-metric-aliases.conf +291 -0
- data/vendor/local/etc/fonts/conf.d/30-urw-aliases.conf +40 -0
- data/vendor/local/etc/fonts/conf.d/40-nonlatin.conf +231 -0
- data/vendor/local/etc/fonts/conf.d/45-latin.conf +173 -0
- data/vendor/local/etc/fonts/conf.d/49-sansserif.conf +21 -0
- data/vendor/local/etc/fonts/conf.d/50-user.conf +15 -0
- data/vendor/local/etc/fonts/conf.d/51-local.conf +6 -0
- data/vendor/local/etc/fonts/conf.d/60-latin.conf +70 -0
- data/vendor/local/etc/fonts/conf.d/65-fonts-persian.conf +419 -0
- data/vendor/local/etc/fonts/conf.d/65-nonlatin.conf +196 -0
- data/vendor/local/etc/fonts/conf.d/69-unifont.conf +28 -0
- data/vendor/local/etc/fonts/conf.d/80-delicious.conf +19 -0
- data/vendor/local/etc/fonts/conf.d/90-synthetic.conf +64 -0
- data/vendor/local/etc/fonts/conf.d/README +23 -0
- data/vendor/local/etc/fonts/fonts.conf +8 -4
- data/vendor/local/include/cairo/cairo-features.h +4 -0
- data/vendor/local/include/cairo/cairo-ft.h +36 -0
- data/vendor/local/include/cairo/cairo-gobject.h +3 -1
- data/vendor/local/include/cairo/cairo-pdf.h +4 -4
- data/vendor/local/include/cairo/cairo-ps.h +5 -3
- data/vendor/local/include/cairo/cairo-script-interpreter.h +7 -0
- data/vendor/local/include/cairo/cairo-script.h +98 -0
- data/vendor/local/include/cairo/cairo-svg.h +5 -3
- data/vendor/local/include/cairo/cairo-version.h +2 -2
- data/vendor/local/include/cairo/cairo.h +642 -209
- data/vendor/local/include/fontconfig/fcfreetype.h +2 -2
- data/vendor/local/include/fontconfig/fcprivate.h +2 -2
- data/vendor/local/include/fontconfig/fontconfig.h +59 -19
- data/vendor/local/include/freetype2/freetype/config/ftconfig.h +74 -5
- data/vendor/local/include/freetype2/freetype/config/ftheader.h +27 -1
- data/vendor/local/include/freetype2/freetype/config/ftoption.h +24 -2
- data/vendor/local/include/freetype2/freetype/config/ftstdlib.h +2 -2
- data/vendor/local/include/freetype2/freetype/freetype.h +46 -16
- data/vendor/local/include/freetype2/freetype/ftautoh.h +349 -0
- data/vendor/local/include/freetype2/freetype/ftcffdrv.h +150 -0
- data/vendor/local/include/freetype2/freetype/ftchapters.h +28 -0
- data/vendor/local/include/freetype2/freetype/fterrdef.h +5 -1
- data/vendor/local/include/freetype2/freetype/fterrors.h +7 -16
- data/vendor/local/include/freetype2/freetype/ftglyph.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftimage.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftlcdfil.h +38 -0
- data/vendor/local/include/freetype2/freetype/ftmodapi.h +156 -5
- data/vendor/local/include/freetype2/freetype/ftmoderr.h +51 -13
- data/vendor/local/include/freetype2/freetype/ftoutln.h +2 -0
- data/vendor/local/include/freetype2/freetype/ftstroke.h +1 -1
- data/vendor/local/include/freetype2/freetype/fttrigon.h +5 -5
- data/vendor/local/include/freetype2/freetype/fttypes.h +19 -9
- data/vendor/local/include/freetype2/freetype/ttnameid.h +5 -15
- data/vendor/local/include/freetype2/freetype/tttables.h +14 -1
- data/vendor/local/include/libpng16/png.h +3304 -0
- data/vendor/local/include/libpng16/pngconf.h +616 -0
- data/vendor/local/include/libpng16/pnglibconf.h +209 -0
- data/vendor/local/include/libxml2/libxml/DOCBparser.h +96 -0
- data/vendor/local/include/libxml2/libxml/HTMLparser.h +306 -0
- data/vendor/local/include/libxml2/libxml/HTMLtree.h +147 -0
- data/vendor/local/include/libxml2/libxml/SAX.h +173 -0
- data/vendor/local/include/libxml2/libxml/SAX2.h +176 -0
- data/vendor/local/include/libxml2/libxml/c14n.h +126 -0
- data/vendor/local/include/libxml2/libxml/catalog.h +182 -0
- data/vendor/local/include/libxml2/libxml/chvalid.h +230 -0
- data/vendor/local/include/libxml2/libxml/debugXML.h +217 -0
- data/vendor/local/include/libxml2/libxml/dict.h +80 -0
- data/vendor/local/include/libxml2/libxml/encoding.h +240 -0
- data/vendor/local/include/libxml2/libxml/entities.h +151 -0
- data/vendor/local/include/libxml2/libxml/globals.h +502 -0
- data/vendor/local/include/libxml2/libxml/hash.h +233 -0
- data/vendor/local/include/libxml2/libxml/list.h +137 -0
- data/vendor/local/include/libxml2/libxml/nanoftp.h +163 -0
- data/vendor/local/include/libxml2/libxml/nanohttp.h +81 -0
- data/vendor/local/include/libxml2/libxml/parser.h +1241 -0
- data/vendor/local/include/libxml2/libxml/parserInternals.h +644 -0
- data/vendor/local/include/libxml2/libxml/pattern.h +100 -0
- data/vendor/local/include/libxml2/libxml/relaxng.h +213 -0
- data/vendor/local/include/libxml2/libxml/schemasInternals.h +958 -0
- data/vendor/local/include/libxml2/libxml/schematron.h +142 -0
- data/vendor/local/include/libxml2/libxml/threads.h +84 -0
- data/vendor/local/include/libxml2/libxml/tree.h +1303 -0
- data/vendor/local/include/libxml2/libxml/uri.h +94 -0
- data/vendor/local/include/libxml2/libxml/valid.h +458 -0
- data/vendor/local/include/libxml2/libxml/xinclude.h +129 -0
- data/vendor/local/include/libxml2/libxml/xlink.h +189 -0
- data/vendor/local/include/libxml2/libxml/xmlIO.h +366 -0
- data/vendor/local/include/libxml2/libxml/xmlautomata.h +146 -0
- data/vendor/local/include/libxml2/libxml/xmlerror.h +945 -0
- data/vendor/local/include/libxml2/libxml/xmlexports.h +162 -0
- data/vendor/local/include/libxml2/libxml/xmlmemory.h +224 -0
- data/vendor/local/include/libxml2/libxml/xmlmodule.h +57 -0
- data/vendor/local/include/libxml2/libxml/xmlreader.h +428 -0
- data/vendor/local/include/libxml2/libxml/xmlregexp.h +222 -0
- data/vendor/local/include/libxml2/libxml/xmlsave.h +88 -0
- data/vendor/local/include/libxml2/libxml/xmlschemas.h +246 -0
- data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +151 -0
- data/vendor/local/include/libxml2/libxml/xmlstring.h +140 -0
- data/vendor/local/include/libxml2/libxml/xmlunicode.h +202 -0
- data/vendor/local/include/libxml2/libxml/xmlversion.h +489 -0
- data/vendor/local/include/libxml2/libxml/xmlwriter.h +488 -0
- data/vendor/local/include/libxml2/libxml/xpath.h +557 -0
- data/vendor/local/include/libxml2/libxml/xpathInternals.h +632 -0
- data/vendor/local/include/libxml2/libxml/xpointer.h +114 -0
- data/vendor/local/include/pixman-1/pixman-version.h +50 -0
- data/vendor/local/include/pixman-1/pixman.h +1111 -0
- data/vendor/local/include/png.h +1993 -1426
- data/vendor/local/include/pngconf.h +462 -1398
- data/vendor/local/include/pnglibconf.h +209 -0
- data/vendor/local/include/zconf.h +141 -91
- data/vendor/local/include/zlib.h +273 -94
- data/vendor/local/lib/fontconfig.def +11 -1
- data/vendor/local/lib/libcairo-gobject.a +0 -0
- data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
- data/vendor/local/lib/libcairo-gobject.la +41 -0
- data/vendor/local/lib/libcairo-script-interpreter.a +0 -0
- data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
- data/vendor/local/lib/libcairo-script-interpreter.la +41 -0
- data/vendor/local/lib/libcairo.a +0 -0
- data/vendor/local/lib/libcairo.dll.a +0 -0
- data/vendor/local/lib/libcairo.la +41 -0
- data/vendor/local/lib/libfontconfig.a +0 -0
- data/vendor/local/lib/libfontconfig.dll.a +0 -0
- data/vendor/local/lib/libfontconfig.la +41 -0
- data/vendor/local/lib/libfreetype.a +0 -0
- data/vendor/local/lib/libfreetype.dll.a +0 -0
- data/vendor/local/lib/libfreetype.la +41 -0
- data/vendor/local/lib/libpixman-1.a +0 -0
- data/vendor/local/lib/libpixman-1.dll.a +0 -0
- data/vendor/local/lib/libpixman-1.la +41 -0
- data/vendor/local/lib/libpng.a +0 -0
- data/vendor/local/lib/libpng.dll.a +0 -0
- data/vendor/local/lib/libpng.la +41 -0
- data/vendor/local/lib/libpng16.a +0 -0
- data/vendor/local/lib/libpng16.dll.a +0 -0
- data/vendor/local/lib/libpng16.la +41 -0
- data/vendor/local/lib/libxml2.a +0 -0
- data/vendor/local/lib/libxml2.dll.a +0 -0
- data/vendor/local/lib/libxml2.la +41 -0
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-script.pc +12 -0
- data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo.pc +3 -3
- data/vendor/local/lib/pkgconfig/fontconfig.pc +7 -2
- data/vendor/local/lib/pkgconfig/freetype2.pc +6 -6
- data/vendor/local/lib/pkgconfig/libpng.pc +3 -3
- data/vendor/local/lib/pkgconfig/libpng16.pc +11 -0
- data/vendor/local/lib/pkgconfig/libxml-2.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/pixman-1.pc +11 -0
- data/vendor/local/lib/pkgconfig/zlib.pc +13 -0
- data/vendor/local/lib/xml2Conf.sh +8 -0
- data/vendor/local/share/aclocal/libxml.m4 +188 -0
- data/vendor/local/share/doc/libxml2-2.9.1/Copyright +23 -0
- data/vendor/local/share/doc/libxml2-2.9.1/examples/testHTML.c +880 -0
- data/vendor/local/share/doc/libxml2-2.9.1/examples/testSAX.c +1198 -0
- data/vendor/local/share/doc/libxml2-2.9.1/examples/testXPath.c +229 -0
- data/vendor/local/share/doc/libxml2-2.9.1/examples/xmllint.c +3776 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/DOM.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/FAQ.html +282 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/Libxml2-Logo-180x168.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/Libxml2-Logo-90x34.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/encoding.html +207 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/examples.xml +751 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/examples.xsl +174 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/book1.html +13 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/index.html +13 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/left.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-DOCBparser.html +51 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-HTMLparser.html +184 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-HTMLtree.html +73 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-SAX.html +125 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-SAX2.html +128 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-c14n.html +38 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-catalog.html +142 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-chvalid.html +72 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-debugXML.html +120 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-dict.html +58 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-encoding.html +124 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-entities.html +79 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-globals.html +152 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-hash.html +116 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-lib.html +13 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-list.html +120 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-nanoftp.html +94 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-nanohttp.html +65 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-parser.html +559 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-parserInternals.html +322 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-pattern.html +76 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-relaxng.html +162 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-schemasInternals.html +373 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-schematron.html +81 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-threads.html +72 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-tree.html +990 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-uri.html +73 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-valid.html +289 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xinclude.html +59 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xlink.html +82 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlIO.html +212 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlautomata.html +85 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlerror.html +865 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlexports.html +20 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlmemory.html +107 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlmodule.html +38 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlreader.html +330 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlregexp.html +143 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlsave.html +60 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlschemas.html +185 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlschemastypes.html +123 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlstring.html +108 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlunicode.html +512 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlversion.html +63 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlwriter.html +261 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xpath.html +316 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xpathInternals.html +394 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xpointer.html +83 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xzlib.html +16 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/right.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/html/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/index.html +14 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/io1.c +166 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/io1.res +5 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/io2.c +58 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/io2.res +2 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/libxml.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/parse1.c +56 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/parse2.c +72 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/parse3.c +60 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/parse4.c +143 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/reader1.c +107 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/reader1.res +14 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/reader2.c +122 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/reader3.c +120 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/reader3.res +13 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/reader4.c +122 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/reader4.res +3 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/redhat.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/smallfootonly.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/structure.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/test1.xml +1 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/test2.xml +13 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/test3.xml +39 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/testWriter.c +1198 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tree1.c +94 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tree1.res +4 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tree2.c +118 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tree2.res +18 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tst.xml +7 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/apa.html +8 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/apb.html +14 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/apc.html +82 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/apd.html +76 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ape.html +78 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/apf.html +67 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/apg.html +75 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/aph.html +76 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/api.html +4 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ar01s02.html +14 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ar01s03.html +47 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ar01s04.html +54 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ar01s05.html +55 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ar01s06.html +35 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ar01s07.html +30 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ar01s08.html +38 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ar01s09.html +63 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/1.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/10.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/2.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/3.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/4.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/5.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/6.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/7.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/8.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/9.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/caution.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/draft.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/important.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/next.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/note.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/prev.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/tip.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/toc-blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/toc-minus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/toc-plus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/warning.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/includeaddattribute.c +64 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/includeaddkeyword.c +75 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/includeconvert.c +73 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/includegetattribute.c +72 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/includekeyword.c +79 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/includexpath.c +74 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/index.html +14 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ix01.html +1 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/xmltutorial.pdf +1336 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/w3c.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/writer.xml +2 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/xml.html +5715 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/xpath1.c +250 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/xpath1.res +5 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/xpath2.c +190 -0
- data/vendor/local/share/doc/libxml2-2.9.1/html/xpath2.res +30 -0
- data/vendor/local/share/fontconfig/conf.avail/10-autohint.conf +14 -0
- data/vendor/local/share/fontconfig/conf.avail/10-no-sub-pixel.conf +14 -0
- data/vendor/local/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf +81 -0
- data/vendor/local/share/fontconfig/conf.avail/10-sub-pixel-bgr.conf +14 -0
- data/vendor/local/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf +14 -0
- data/vendor/local/share/fontconfig/conf.avail/10-sub-pixel-vbgr.conf +14 -0
- data/vendor/local/share/fontconfig/conf.avail/10-sub-pixel-vrgb.conf +14 -0
- data/vendor/local/share/fontconfig/conf.avail/10-unhinted.conf +14 -0
- data/vendor/local/share/fontconfig/conf.avail/11-lcdfilter-default.conf +16 -0
- data/vendor/local/share/fontconfig/conf.avail/11-lcdfilter-legacy.conf +16 -0
- data/vendor/local/share/fontconfig/conf.avail/11-lcdfilter-light.conf +16 -0
- data/vendor/local/share/fontconfig/conf.avail/20-unhint-small-vera.conf +48 -0
- data/vendor/local/share/fontconfig/conf.avail/25-unhint-nonlatin.conf +128 -0
- data/vendor/local/share/fontconfig/conf.avail/30-metric-aliases.conf +291 -0
- data/vendor/local/share/fontconfig/conf.avail/30-urw-aliases.conf +40 -0
- data/vendor/local/share/fontconfig/conf.avail/40-nonlatin.conf +231 -0
- data/vendor/local/share/fontconfig/conf.avail/45-latin.conf +173 -0
- data/vendor/local/share/fontconfig/conf.avail/49-sansserif.conf +21 -0
- data/vendor/local/share/fontconfig/conf.avail/50-user.conf +15 -0
- data/vendor/local/share/fontconfig/conf.avail/51-local.conf +6 -0
- data/vendor/local/share/fontconfig/conf.avail/60-latin.conf +70 -0
- data/vendor/local/share/fontconfig/conf.avail/65-fonts-persian.conf +419 -0
- data/vendor/local/share/fontconfig/conf.avail/65-khmer.conf +16 -0
- data/vendor/local/share/fontconfig/conf.avail/65-nonlatin.conf +196 -0
- data/vendor/local/share/fontconfig/conf.avail/69-unifont.conf +28 -0
- data/vendor/local/share/fontconfig/conf.avail/70-no-bitmaps.conf +12 -0
- data/vendor/local/share/fontconfig/conf.avail/70-yes-bitmaps.conf +12 -0
- data/vendor/local/share/fontconfig/conf.avail/80-delicious.conf +19 -0
- data/vendor/local/share/fontconfig/conf.avail/90-synthetic.conf +64 -0
- data/vendor/local/share/gtk-doc/html/cairo/bindings-errors.html +10 -10
- data/vendor/local/share/gtk-doc/html/cairo/bindings-fonts.html +4 -4
- data/vendor/local/share/gtk-doc/html/cairo/bindings-memory.html +4 -4
- data/vendor/local/share/gtk-doc/html/cairo/bindings-overloading.html +4 -4
- data/vendor/local/share/gtk-doc/html/cairo/bindings-path.html +4 -4
- data/vendor/local/share/gtk-doc/html/cairo/bindings-patterns.html +17 -4
- data/vendor/local/share/gtk-doc/html/cairo/bindings-return-values.html +6 -6
- data/vendor/local/share/gtk-doc/html/cairo/bindings-streams.html +7 -7
- data/vendor/local/share/gtk-doc/html/cairo/bindings-surfaces.html +6 -6
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Error-handling.html +54 -38
- data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +193 -61
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +95 -89
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +45 -66
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PNG-Support.html +58 -63
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Paths.html +249 -232
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +118 -113
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-(CGFont)-Fonts.html +20 -24
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html +51 -45
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Raster-Sources.html +600 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html +73 -35
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Regions.html +102 -126
- data/vendor/local/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +42 -58
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Script-Surfaces.html +360 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Transformations.html +57 -73
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Types.html +37 -30
- data/vendor/local/share/gtk-doc/html/cairo/cairo-User-Fonts.html +91 -129
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +53 -61
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +47 -57
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XCB-Surfaces.html +535 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +148 -83
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-XRender-Backend.html +170 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-device-t.html +127 -96
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +55 -59
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html +96 -87
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html +64 -79
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html +1069 -229
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html +274 -220
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +395 -216
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-t.html +409 -409
- data/vendor/local/share/gtk-doc/html/cairo/cairo-drawing.html +7 -4
- data/vendor/local/share/gtk-doc/html/cairo/cairo-fonts.html +6 -6
- data/vendor/local/share/gtk-doc/html/cairo/cairo-support.html +7 -9
- data/vendor/local/share/gtk-doc/html/cairo/cairo-surfaces.html +13 -4
- data/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +128 -165
- data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +326 -249
- data/vendor/local/share/gtk-doc/html/cairo/index-1.10.html +29 -8
- data/vendor/local/share/gtk-doc/html/cairo/index-1.12.html +193 -0
- data/vendor/local/share/gtk-doc/html/cairo/index-1.2.html +19 -4
- data/vendor/local/share/gtk-doc/html/cairo/index-1.4.html +4 -15
- data/vendor/local/share/gtk-doc/html/cairo/index-1.6.html +32 -7
- data/vendor/local/share/gtk-doc/html/cairo/index-1.8.html +15 -4
- data/vendor/local/share/gtk-doc/html/cairo/index-all.html +140 -27
- data/vendor/local/share/gtk-doc/html/cairo/index.html +18 -8
- data/vendor/local/share/gtk-doc/html/cairo/index.sgml +104 -13
- data/vendor/local/share/gtk-doc/html/cairo/language-bindings.html +7 -7
- data/vendor/local/share/gtk-doc/html/cairo/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/libxml2/general.html +38 -0
- data/vendor/local/share/gtk-doc/html/libxml2/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/index.html +67 -0
- data/vendor/local/share/gtk-doc/html/libxml2/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +138 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +373 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +172 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +243 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +247 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +91 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +278 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +241 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +225 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +134 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +218 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +166 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +383 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +214 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +226 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +187 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +142 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +766 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +688 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +166 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +278 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +860 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +166 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +161 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +1597 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +154 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +528 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +169 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +160 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +347 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +176 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +953 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +87 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +186 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +97 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +565 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +280 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +133 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +314 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +237 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +217 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +887 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +292 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +479 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +542 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +787 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +171 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +3573 -0
- data/vendor/local/share/gtk-doc/html/libxml2/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/style.css +66 -0
- data/vendor/local/share/gtk-doc/html/libxml2/up.png +0 -0
- data/vendor/local/share/license/cairo/AUTHORS +111 -0
- data/vendor/local/share/{doc/cairo_1.10.2-2_win32 → license/cairo}/COPYING +0 -0
- data/vendor/local/share/{doc/cairo_1.10.2-2_win32 → license/cairo}/COPYING-LGPL-2.1 +0 -0
- data/vendor/local/share/{doc/cairo_1.10.2-2_win32 → license/cairo}/COPYING-MPL-1.1 +0 -0
- data/vendor/local/share/license/cairo/README +194 -0
- data/vendor/local/share/license/cairo/README.win32 +66 -0
- data/vendor/local/share/license/fontconfig/AUTHORS +3 -0
- data/vendor/local/share/license/fontconfig/COPYING +28 -0
- data/vendor/local/share/license/fontconfig/README +1350 -0
- data/vendor/local/share/license/freetype/README +83 -0
- data/vendor/local/share/license/freetype/README.git +46 -0
- data/vendor/local/share/license/libpng/README +202 -0
- data/vendor/local/share/license/libxml2/AUTHORS +5 -0
- data/vendor/local/share/license/libxml2/COPYING +23 -0
- data/vendor/local/share/license/libxml2/README +39 -0
- data/vendor/local/share/license/libxml2/README.tests +39 -0
- data/vendor/local/share/license/pixman/AUTHORS +0 -0
- data/vendor/local/share/license/pixman/COPYING +42 -0
- data/vendor/local/share/license/pixman/README +116 -0
- data/vendor/local/share/license/zlib/README +115 -0
- data/vendor/local/share/man/man1/xml2-config.1 +30 -0
- data/vendor/local/share/man/man1/xmlcatalog.1 +340 -0
- data/vendor/local/share/man/man1/xmllint.1 +650 -0
- data/vendor/local/share/man/man3/libpng.3 +2332 -863
- data/vendor/local/share/man/man3/libpngpf.3 +6 -790
- data/vendor/local/share/man/man3/libxml.3 +71 -0
- data/vendor/local/share/man/man5/png.5 +1 -1
- data/vendor/local/share/xml/fontconfig/fonts.dtd +233 -0
- metadata +447 -490
- data/vendor/local/bin/freetype6.dll +0 -0
- data/vendor/local/bin/libexpat-1.dll +0 -0
- data/vendor/local/bin/libpng14-14.dll +0 -0
- data/vendor/local/bin/xmlwf.exe +0 -0
- data/vendor/local/etc/fonts/fonts.dtd +0 -224
- data/vendor/local/include/expat.h +0 -1047
- data/vendor/local/include/expat_external.h +0 -115
- data/vendor/local/include/libpng14/png.h +0 -2737
- data/vendor/local/include/libpng14/pngconf.h +0 -1552
- data/vendor/local/lib/cairo.def +0 -322
- data/vendor/local/lib/cairo.lib +0 -0
- data/vendor/local/lib/expat.lib +0 -0
- data/vendor/local/lib/fontconfig.lib +0 -0
- data/vendor/local/lib/freetype.def +0 -189
- data/vendor/local/lib/freetype.lib +0 -0
- data/vendor/local/lib/libexpat.def +0 -73
- data/vendor/local/lib/libexpat.dll.a +0 -0
- data/vendor/local/lib/libpng.def +0 -192
- data/vendor/local/lib/libpng.lib +0 -0
- data/vendor/local/lib/libpng14.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/libpng14.pc +0 -11
- data/vendor/local/lib/zdll.lib +0 -0
- data/vendor/local/lib/zlib.def +0 -67
- data/vendor/local/manifest/cairo-dev_1.10.2-2_win32.mft +0 -86
- data/vendor/local/manifest/cairo_1.10.2-2_win32.mft +0 -7
- data/vendor/local/manifest/expat-dev_2.1.0-1_win32.mft +0 -10
- data/vendor/local/manifest/expat_2.1.0-1_win32.mft +0 -2
- data/vendor/local/manifest/fontconfig-dev_2.8.0-2_win32.mft +0 -387
- data/vendor/local/manifest/fontconfig_2.8.0-2_win32.mft +0 -3
- data/vendor/local/manifest/freetype-dev_2.4.10-1_win32.mft +0 -57
- data/vendor/local/manifest/freetype_2.4.10-1_win32.mft +0 -2
- data/vendor/local/manifest/libpng-dev_1.4.12-1_win32.mft +0 -15
- data/vendor/local/manifest/libpng_1.4.12-1_win32.mft +0 -2
- data/vendor/local/manifest/zlib-dev_1.2.5-2_win32.mft +0 -8
- data/vendor/local/manifest/zlib_1.2.5-2_win32.mft +0 -2
- data/vendor/local/share/doc/fontconfig/fontconfig-devel.pdf +4 -42484
- data/vendor/local/share/doc/fontconfig/fontconfig-devel.txt +0 -5046
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomiccreate.html +0 -224
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicdeletenew.html +0 -216
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicdestroy.html +0 -210
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomiclock.html +0 -223
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicnewfile.html +0 -222
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicorigfile.html +0 -221
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicreplaceorig.html +0 -223
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicunlock.html +0 -216
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcblanksadd.html +0 -222
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcblankscreate.html +0 -216
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcblanksdestroy.html +0 -216
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcblanksismember.html +0 -211
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachecopyset.html +0 -228
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachedir.html +0 -221
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachenumfont.html +0 -211
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachenumsubdir.html +0 -221
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachesubdir.html +0 -244
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetaddchar.html +0 -226
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetcopy.html +0 -227
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetcount.html +0 -221
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetcoverage.html +0 -249
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetcreate.html +0 -220
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetdestroy.html +0 -226
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetequal.html +0 -232
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetfirstpage.html +0 -238
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsethaschar.html +0 -231
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetintersect.html +0 -232
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetintersectcount.html +0 -231
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetissubset.html +0 -231
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetmerge.html +0 -261
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetnew.html +0 -208
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetnextpage.html +0 -243
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetsubtract.html +0 -231
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetsubtractcount.html +0 -231
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetunion.html +0 -231
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigappfontadddir.html +0 -229
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigappfontaddfile.html +0 -228
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigappfontclear.html +0 -222
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigbuildfonts.html +0 -224
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigcreate.html +0 -216
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigdestroy.html +0 -219
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigenablehome.html +0 -230
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigfilename.html +0 -237
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetblanks.html +0 -225
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetcache.html +0 -217
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetcachedirs.html +0 -227
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetconfigdirs.html +0 -228
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetconfigfiles.html +0 -227
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetcurrent.html +0 -216
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetfontdirs.html +0 -229
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetfonts.html +0 -234
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetrescaninterval.html +0 -230
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfighome.html +0 -221
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigparseandload.html +0 -220
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigreference.html +0 -231
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigsetcurrent.html +0 -222
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigsetrescaninterval.html +0 -229
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigsubstitute.html +0 -233
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigsubstitutewithpat.html +0 -251
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiguptodate.html +0 -228
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdefaultsubstitute.html +0 -234
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheload.html +0 -239
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheloadfile.html +0 -233
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheread.html +0 -239
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheunlink.html +0 -239
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheunload.html +0 -211
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircachevalid.html +0 -222
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdirsave.html +0 -245
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdirscan.html +0 -266
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfileisdir.html +0 -222
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfilescan.html +0 -276
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfini.html +0 -219
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontlist.html +0 -244
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontmatch.html +0 -262
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontrenderprepare.html +0 -259
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetadd.html +0 -223
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetcreate.html +0 -216
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetdestroy.html +0 -217
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetlist.html +0 -261
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetmatch.html +0 -273
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetprint.html +0 -224
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetsort.html +0 -303
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetsortdestroy.html +0 -222
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsort.html +0 -289
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypecharindex.html +0 -226
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypecharset.html +0 -225
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypecharsetandspacing.html +0 -241
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypequery.html +0 -233
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypequeryface.html +0 -222
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcgetlangs.html +0 -216
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcgetversion.html +0 -216
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinit.html +0 -219
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinitbringuptodate.html +0 -208
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinitloadconfig.html +0 -217
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinitloadconfigandfonts.html +0 -217
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinitreinitialize.html +0 -219
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcislower.html +0 -222
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcisupper.html +0 -222
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclanggetcharset.html +0 -205
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetadd.html +0 -239
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetcompare.html +0 -239
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetcontains.html +0 -259
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetcopy.html +0 -225
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetcreate.html +0 -219
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetdestroy.html +0 -220
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetequal.html +0 -232
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetgetlangs.html +0 -221
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsethash.html +0 -233
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsethaslang.html +0 -255
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixcopy.html +0 -225
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixequal.html +0 -236
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixinit.html +0 -225
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixmultiply.html +0 -246
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixrotate.html +0 -261
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixscale.html +0 -261
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixshear.html +0 -250
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameconstant.html +0 -221
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnamegetconstant.html +0 -221
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnamegetobjecttype.html +0 -210
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameparse.html +0 -221
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameregisterconstants.html +0 -228
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameregisterobjecttypes.html +0 -228
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameunparse.html +0 -218
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameunregisterconstants.html +0 -228
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameunregisterobjecttypes.html +0 -226
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcobjectsetadd.html +0 -222
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcobjectsetbuild.html +0 -262
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcobjectsetcreate.html +0 -216
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcobjectsetdestroy.html +0 -216
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternadd-type.html +0 -404
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternadd.html +0 -240
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternaddweak.html +0 -242
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternbuild.html +0 -313
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatterncreate.html +0 -216
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatterndel.html +0 -222
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatterndestroy.html +0 -217
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternduplicate.html +0 -223
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternequal.html +0 -231
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternequalsubset.html +0 -242
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternfilter.html +0 -244
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternformat.html +0 -602
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternget-type.html +0 -435
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternget.html +0 -249
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternhash.html +0 -217
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternprint.html +0 -218
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternreference.html +0 -222
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternremove.html +0 -227
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrbasename.html +0 -212
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrcmp.html +0 -232
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrcmpignorecase.html +0 -233
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrcopy.html +0 -226
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrcopyfilename.html +0 -234
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrdirname.html +0 -223
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrdowncase.html +0 -222
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrfree.html +0 -217
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrlistcreate.html +0 -221
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrlistdone.html +0 -210
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrlistnext.html +0 -221
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrplus.html +0 -233
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetadd.html +0 -231
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetaddfilename.html +0 -233
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetcreate.html +0 -216
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetdel.html +0 -237
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetdestroy.html +0 -221
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetequal.html +0 -233
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetmember.html +0 -232
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrstr.html +0 -244
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrstrignorecase.html +0 -244
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fctolower.html +0 -222
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcucs4toutf8.html +0 -233
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcutf16len.html +0 -278
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcutf16toucs4.html +0 -265
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcutf8len.html +0 -261
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcutf8toucs4.html +0 -249
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcvaluedestroy.html +0 -222
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcvalueequal.html +0 -212
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcvalueprint.html +0 -223
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcvaluesave.html +0 -227
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/ln12.html +0 -128
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/t1.html +0 -133
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/x102.html +0 -1463
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/x19.html +0 -264
- data/vendor/local/share/doc/fontconfig/fontconfig-devel/x31.html +0 -590
- data/vendor/local/share/doc/fontconfig/fontconfig-user.html +0 -1352
- data/vendor/local/share/doc/fontconfig/fontconfig-user.pdf +0 -0
- data/vendor/local/share/doc/fontconfig/fontconfig-user.txt +0 -644
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Version-Information.html +0 -340
- data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp +0 -477
- data/vendor/local/share/man/man1/fc-cache.1 +0 -70
- data/vendor/local/share/man/man1/fc-cat.1 +0 -44
- data/vendor/local/share/man/man1/fc-list.1 +0 -72
- data/vendor/local/share/man/man1/fc-match.1 +0 -73
- data/vendor/local/share/man/man1/fc-query.1 +0 -57
- data/vendor/local/share/man/man1/fc-scan.1 +0 -52
- data/vendor/local/share/man/man1/xmlwf.1 +0 -251
- data/vendor/local/share/man/man3/FcAtomicCreate.3 +0 -19
- data/vendor/local/share/man/man3/FcAtomicDeleteNew.3 +0 -16
- data/vendor/local/share/man/man3/FcAtomicDestroy.3 +0 -16
- data/vendor/local/share/man/man3/FcAtomicLock.3 +0 -18
- data/vendor/local/share/man/man3/FcAtomicNewFile.3 +0 -17
- data/vendor/local/share/man/man3/FcAtomicOrigFile.3 +0 -16
- data/vendor/local/share/man/man3/FcAtomicReplaceOrig.3 +0 -18
- data/vendor/local/share/man/man3/FcAtomicUnlock.3 +0 -16
- data/vendor/local/share/man/man3/FcBlanksAdd.3 +0 -18
- data/vendor/local/share/man/man3/FcBlanksCreate.3 +0 -16
- data/vendor/local/share/man/man3/FcBlanksDestroy.3 +0 -16
- data/vendor/local/share/man/man3/FcBlanksIsMember.3 +0 -18
- data/vendor/local/share/man/man3/FcCacheCopySet.3 +0 -18
- data/vendor/local/share/man/man3/FcCacheDir.3 +0 -16
- data/vendor/local/share/man/man3/FcCacheNumFont.3 +0 -17
- data/vendor/local/share/man/man3/FcCacheNumSubdir.3 +0 -16
- data/vendor/local/share/man/man3/FcCacheSubdir.3 +0 -20
- data/vendor/local/share/man/man3/FcCharSetAddChar.3 +0 -19
- data/vendor/local/share/man/man3/FcCharSetCopy.3 +0 -17
- data/vendor/local/share/man/man3/FcCharSetCount.3 +0 -16
- data/vendor/local/share/man/man3/FcCharSetCoverage.3 +0 -23
- data/vendor/local/share/man/man3/FcCharSetCreate.3 +0 -17
- data/vendor/local/share/man/man3/FcCharSetDestroy.3 +0 -18
- data/vendor/local/share/man/man3/FcCharSetEqual.3 +0 -18
- data/vendor/local/share/man/man3/FcCharSetFirstPage.3 +0 -20
- data/vendor/local/share/man/man3/FcCharSetHasChar.3 +0 -17
- data/vendor/local/share/man/man3/FcCharSetIntersect.3 +0 -18
- data/vendor/local/share/man/man3/FcCharSetIntersectCount.3 +0 -17
- data/vendor/local/share/man/man3/FcCharSetIsSubset.3 +0 -17
- data/vendor/local/share/man/man3/FcCharSetMerge.3 +0 -23
- data/vendor/local/share/man/man3/FcCharSetNew.3 +0 -16
- data/vendor/local/share/man/man3/FcCharSetNextPage.3 +0 -20
- data/vendor/local/share/man/man3/FcCharSetSubtract.3 +0 -17
- data/vendor/local/share/man/man3/FcCharSetSubtractCount.3 +0 -17
- data/vendor/local/share/man/man3/FcCharSetUnion.3 +0 -17
- data/vendor/local/share/man/man3/FcConfigAppFontAddDir.3 +0 -20
- data/vendor/local/share/man/man3/FcConfigAppFontAddFile.3 +0 -19
- data/vendor/local/share/man/man3/FcConfigAppFontClear.3 +0 -17
- data/vendor/local/share/man/man3/FcConfigBuildFonts.3 +0 -19
- data/vendor/local/share/man/man3/FcConfigCreate.3 +0 -16
- data/vendor/local/share/man/man3/FcConfigDestroy.3 +0 -19
- data/vendor/local/share/man/man3/FcConfigEnableHome.3 +0 -20
- data/vendor/local/share/man/man3/FcConfigFilename.3 +0 -26
- data/vendor/local/share/man/man3/FcConfigGetBlanks.3 +0 -20
- data/vendor/local/share/man/man3/FcConfigGetCache.3 +0 -17
- data/vendor/local/share/man/man3/FcConfigGetCacheDirs.3 +0 -19
- data/vendor/local/share/man/man3/FcConfigGetConfigDirs.3 +0 -18
- data/vendor/local/share/man/man3/FcConfigGetConfigFiles.3 +0 -17
- data/vendor/local/share/man/man3/FcConfigGetCurrent.3 +0 -16
- data/vendor/local/share/man/man3/FcConfigGetFontDirs.3 +0 -19
- data/vendor/local/share/man/man3/FcConfigGetFonts.3 +0 -20
- data/vendor/local/share/man/man3/FcConfigGetRescanInterval.3 +0 -20
- data/vendor/local/share/man/man3/FcConfigHome.3 +0 -18
- data/vendor/local/share/man/man3/FcConfigParseAndLoad.3 +0 -23
- data/vendor/local/share/man/man3/FcConfigReference.3 +0 -21
- data/vendor/local/share/man/man3/FcConfigSetCurrent.3 +0 -17
- data/vendor/local/share/man/man3/FcConfigSetRescanInterval.3 +0 -20
- data/vendor/local/share/man/man3/FcConfigSubstitute.3 +0 -20
- data/vendor/local/share/man/man3/FcConfigSubstituteWithPat.3 +0 -24
- data/vendor/local/share/man/man3/FcConfigUptoDate.3 +0 -18
- data/vendor/local/share/man/man3/FcDefaultSubstitute.3 +0 -27
- data/vendor/local/share/man/man3/FcDirCacheLoad.3 +0 -21
- data/vendor/local/share/man/man3/FcDirCacheLoadFile.3 +0 -19
- data/vendor/local/share/man/man3/FcDirCacheRead.3 +0 -21
- data/vendor/local/share/man/man3/FcDirCacheUnlink.3 +0 -20
- data/vendor/local/share/man/man3/FcDirCacheUnload.3 +0 -17
- data/vendor/local/share/man/man3/FcDirCacheValid.3 +0 -17
- data/vendor/local/share/man/man3/FcDirSave.3 +0 -22
- data/vendor/local/share/man/man3/FcDirScan.3 +0 -26
- data/vendor/local/share/man/man3/FcFileIsDir.3 +0 -17
- data/vendor/local/share/man/man3/FcFileScan.3 +0 -31
- data/vendor/local/share/man/man3/FcFini.3 +0 -19
- data/vendor/local/share/man/man3/FcFontList.3 +0 -21
- data/vendor/local/share/man/man3/FcFontMatch.3 +0 -25
- data/vendor/local/share/man/man3/FcFontRenderPrepare.3 +0 -21
- data/vendor/local/share/man/man3/FcFontSetAdd.3 +0 -19
- data/vendor/local/share/man/man3/FcFontSetCreate.3 +0 -16
- data/vendor/local/share/man/man3/FcFontSetDestroy.3 +0 -17
- data/vendor/local/share/man/man3/FcFontSetList.3 +0 -25
- data/vendor/local/share/man/man3/FcFontSetMatch.3 +0 -28
- data/vendor/local/share/man/man3/FcFontSetPrint.3 +0 -19
- data/vendor/local/share/man/man3/FcFontSetSort.3 +0 -39
- data/vendor/local/share/man/man3/FcFontSetSortDestroy.3 +0 -19
- data/vendor/local/share/man/man3/FcFontSort.3 +0 -33
- data/vendor/local/share/man/man3/FcFreeTypeCharIndex.3 +0 -22
- data/vendor/local/share/man/man3/FcFreeTypeCharSet.3 +0 -21
- data/vendor/local/share/man/man3/FcFreeTypeCharSetAndSpacing.3 +0 -28
- data/vendor/local/share/man/man3/FcFreeTypeQuery.3 +0 -21
- data/vendor/local/share/man/man3/FcFreeTypeQueryFace.3 +0 -21
- data/vendor/local/share/man/man3/FcGetLangs.3 +0 -16
- data/vendor/local/share/man/man3/FcGetVersion.3 +0 -16
- data/vendor/local/share/man/man3/FcInit.3 +0 -19
- data/vendor/local/share/man/man3/FcInitBringUptoDate.3 +0 -19
- data/vendor/local/share/man/man3/FcInitLoadConfig.3 +0 -17
- data/vendor/local/share/man/man3/FcInitLoadConfigAndFonts.3 +0 -17
- data/vendor/local/share/man/man3/FcInitReinitialize.3 +0 -19
- data/vendor/local/share/man/man3/FcIsLower.3 +0 -17
- data/vendor/local/share/man/man3/FcIsUpper.3 +0 -17
- data/vendor/local/share/man/man3/FcLangGetCharSet.3 +0 -16
- data/vendor/local/share/man/man3/FcLangSetAdd.3 +0 -20
- data/vendor/local/share/man/man3/FcLangSetCompare.3 +0 -22
- data/vendor/local/share/man/man3/FcLangSetContains.3 +0 -22
- data/vendor/local/share/man/man3/FcLangSetCopy.3 +0 -17
- data/vendor/local/share/man/man3/FcLangSetCreate.3 +0 -16
- data/vendor/local/share/man/man3/FcLangSetDestroy.3 +0 -17
- data/vendor/local/share/man/man3/FcLangSetEqual.3 +0 -18
- data/vendor/local/share/man/man3/FcLangSetGetLangs.3 +0 -16
- data/vendor/local/share/man/man3/FcLangSetHasLang.3 +0 -23
- data/vendor/local/share/man/man3/FcLangSetHash.3 +0 -20
- data/vendor/local/share/man/man3/FcMatrixCopy.3 +0 -17
- data/vendor/local/share/man/man3/FcMatrixEqual.3 +0 -19
- data/vendor/local/share/man/man3/FcMatrixInit.3 +0 -17
- data/vendor/local/share/man/man3/FcMatrixMultiply.3 +0 -20
- data/vendor/local/share/man/man3/FcMatrixRotate.3 +0 -27
- data/vendor/local/share/man/man3/FcMatrixScale.3 +0 -27
- data/vendor/local/share/man/man3/FcMatrixShear.3 +0 -27
- data/vendor/local/share/man/man3/FcNameConstant.3 +0 -18
- data/vendor/local/share/man/man3/FcNameGetConstant.3 +0 -16
- data/vendor/local/share/man/man3/FcNameGetObjectType.3 +0 -16
- data/vendor/local/share/man/man3/FcNameParse.3 +0 -16
- data/vendor/local/share/man/man3/FcNameRegisterConstants.3 +0 -19
- data/vendor/local/share/man/man3/FcNameRegisterObjectTypes.3 +0 -19
- data/vendor/local/share/man/man3/FcNameUnparse.3 +0 -18
- data/vendor/local/share/man/man3/FcNameUnregisterConstants.3 +0 -19
- data/vendor/local/share/man/man3/FcNameUnregisterObjectTypes.3 +0 -17
- data/vendor/local/share/man/man3/FcObjectSetAdd.3 +0 -18
- data/vendor/local/share/man/man3/FcObjectSetBuild.3 +0 -26
- data/vendor/local/share/man/man3/FcObjectSetCreate.3 +0 -16
- data/vendor/local/share/man/man3/FcObjectSetDestroy.3 +0 -16
- data/vendor/local/share/man/man3/FcPatternAdd-Type.3 +0 -49
- data/vendor/local/share/man/man3/FcPatternAdd.3 +0 -23
- data/vendor/local/share/man/man3/FcPatternAddWeak.3 +0 -20
- data/vendor/local/share/man/man3/FcPatternBuild.3 +0 -50
- data/vendor/local/share/man/man3/FcPatternCreate.3 +0 -16
- data/vendor/local/share/man/man3/FcPatternDel.3 +0 -18
- data/vendor/local/share/man/man3/FcPatternDestroy.3 +0 -17
- data/vendor/local/share/man/man3/FcPatternDuplicate.3 +0 -18
- data/vendor/local/share/man/man3/FcPatternEqual.3 +0 -17
- data/vendor/local/share/man/man3/FcPatternEqualSubset.3 +0 -19
- data/vendor/local/share/man/man3/FcPatternFilter.3 +0 -20
- data/vendor/local/share/man/man3/FcPatternFormat.3 +0 -205
- data/vendor/local/share/man/man3/FcPatternGet-Type.3 +0 -56
- data/vendor/local/share/man/man3/FcPatternGet.3 +0 -22
- data/vendor/local/share/man/man3/FcPatternHash.3 +0 -17
- data/vendor/local/share/man/man3/FcPatternPrint.3 +0 -18
- data/vendor/local/share/man/man3/FcPatternReference.3 +0 -17
- data/vendor/local/share/man/man3/FcPatternRemove.3 +0 -19
- data/vendor/local/share/man/man3/FcStrBasename.3 +0 -18
- data/vendor/local/share/man/man3/FcStrCmp.3 +0 -18
- data/vendor/local/share/man/man3/FcStrCmpIgnoreCase.3 +0 -19
- data/vendor/local/share/man/man3/FcStrCopy.3 +0 -18
- data/vendor/local/share/man/man3/FcStrCopyFilename.3 +0 -23
- data/vendor/local/share/man/man3/FcStrDirname.3 +0 -18
- data/vendor/local/share/man/man3/FcStrDowncase.3 +0 -17
- data/vendor/local/share/man/man3/FcStrFree.3 +0 -17
- data/vendor/local/share/man/man3/FcStrListCreate.3 +0 -16
- data/vendor/local/share/man/man3/FcStrListDone.3 +0 -16
- data/vendor/local/share/man/man3/FcStrListNext.3 +0 -16
- data/vendor/local/share/man/man3/FcStrPlus.3 +0 -19
- data/vendor/local/share/man/man3/FcStrSetAdd.3 +0 -17
- data/vendor/local/share/man/man3/FcStrSetAddFilename.3 +0 -19
- data/vendor/local/share/man/man3/FcStrSetCreate.3 +0 -16
- data/vendor/local/share/man/man3/FcStrSetDel.3 +0 -18
- data/vendor/local/share/man/man3/FcStrSetDestroy.3 +0 -16
- data/vendor/local/share/man/man3/FcStrSetEqual.3 +0 -19
- data/vendor/local/share/man/man3/FcStrSetMember.3 +0 -18
- data/vendor/local/share/man/man3/FcStrStr.3 +0 -20
- data/vendor/local/share/man/man3/FcStrStrIgnoreCase.3 +0 -20
- data/vendor/local/share/man/man3/FcToLower.3 +0 -17
- data/vendor/local/share/man/man3/FcUcs4ToUtf8.3 +0 -19
- data/vendor/local/share/man/man3/FcUtf16Len.3 +0 -27
- data/vendor/local/share/man/man3/FcUtf16ToUcs4.3 +0 -23
- data/vendor/local/share/man/man3/FcUtf8Len.3 +0 -24
- data/vendor/local/share/man/man3/FcUtf8ToUcs4.3 +0 -21
- data/vendor/local/share/man/man3/FcValueDestroy.3 +0 -17
- data/vendor/local/share/man/man3/FcValueEqual.3 +0 -19
- data/vendor/local/share/man/man3/FcValuePrint.3 +0 -18
- data/vendor/local/share/man/man3/FcValueSave.3 +0 -17
- data/vendor/local/share/man/man5/fonts-conf.5 +0 -644
- data/vendor/local/src/dieterv/packaging/cairo_1.10.2-2_win32.log +0 -1315
- data/vendor/local/src/dieterv/packaging/cairo_1.10.2-2_win32.sh +0 -251
- data/vendor/local/src/dieterv/packaging/expat_2.1.0-1_win32.log +0 -181
- data/vendor/local/src/dieterv/packaging/expat_2.1.0-1_win32.sh +0 -76
- data/vendor/local/src/dieterv/packaging/freetype_2.4.10-1_win32.log +0 -363
- data/vendor/local/src/dieterv/packaging/freetype_2.4.10-1_win32.sh +0 -92
- data/vendor/local/src/dieterv/packaging/libpng_1.4.12-1_win32.log +0 -283
- data/vendor/local/src/dieterv/packaging/libpng_1.4.12-1_win32.sh +0 -71
- data/vendor/local/src/tml/packaging/fontconfig_2.8.0-2_win32.log +0 -999
- data/vendor/local/src/tml/packaging/fontconfig_2.8.0-2_win32.sh +0 -79
- data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.log +0 -42
- data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.sh +0 -189
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>cairo_matrix_t</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
7
|
<link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
8
|
<link rel="up" href="cairo-support.html" title="Utilities">
|
9
9
|
<link rel="prev" href="cairo-support.html" title="Utilities">
|
10
10
|
<link rel="next" href="cairo-Error-handling.html" title="Error handling">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#cairo-cairo-matrix-t.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="cairo-cairo-matrix-t"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,7 +35,7 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
39
39
|
<a name="cairo-cairo-matrix-t.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis"> <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t">cairo_matrix_t</a>;
|
41
41
|
<span class="returnvalue">void</span> <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-init" title="cairo_matrix_init ()">cairo_matrix_init</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>,
|
@@ -74,7 +74,7 @@
|
|
74
74
|
<em class="parameter"><code><span class="type">double</span> *y</code></em>);
|
75
75
|
</pre>
|
76
76
|
</div>
|
77
|
-
<div class="refsect1"
|
77
|
+
<div class="refsect1">
|
78
78
|
<a name="cairo-cairo-matrix-t.description"></a><h2>Description</h2>
|
79
79
|
<p>
|
80
80
|
<a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> is used throughout cairo to convert between different
|
@@ -98,9 +98,9 @@ coordinates to device-space coordinates. See <a class="link" href="cairo-Transfo
|
|
98
98
|
<a class="link" href="cairo-Transformations.html#cairo-set-matrix" title="cairo_set_matrix ()"><code class="function">cairo_set_matrix()</code></a>.
|
99
99
|
</p>
|
100
100
|
</div>
|
101
|
-
<div class="refsect1"
|
101
|
+
<div class="refsect1">
|
102
102
|
<a name="cairo-cairo-matrix-t.details"></a><h2>Details</h2>
|
103
|
-
<div class="refsect2"
|
103
|
+
<div class="refsect2">
|
104
104
|
<a name="cairo-matrix-t"></a><h3>cairo_matrix_t</h3>
|
105
105
|
<pre class="programlisting">typedef struct {
|
106
106
|
double xx; double yx;
|
@@ -124,39 +124,34 @@ a point (x, y) is given by:
|
|
124
124
|
<tbody>
|
125
125
|
<tr>
|
126
126
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="cairo-matrix-t.xx"></a>xx</code></em>;</span></p></td>
|
127
|
-
<td>xx component of the affine transformation
|
128
|
-
</td>
|
127
|
+
<td>xx component of the affine transformation</td>
|
129
128
|
</tr>
|
130
129
|
<tr>
|
131
130
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="cairo-matrix-t.yx"></a>yx</code></em>;</span></p></td>
|
132
|
-
<td>yx component of the affine transformation
|
133
|
-
</td>
|
131
|
+
<td>yx component of the affine transformation</td>
|
134
132
|
</tr>
|
135
133
|
<tr>
|
136
134
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="cairo-matrix-t.xy"></a>xy</code></em>;</span></p></td>
|
137
|
-
<td>xy component of the affine transformation
|
138
|
-
</td>
|
135
|
+
<td>xy component of the affine transformation</td>
|
139
136
|
</tr>
|
140
137
|
<tr>
|
141
138
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="cairo-matrix-t.yy"></a>yy</code></em>;</span></p></td>
|
142
|
-
<td>yy component of the affine transformation
|
143
|
-
</td>
|
139
|
+
<td>yy component of the affine transformation</td>
|
144
140
|
</tr>
|
145
141
|
<tr>
|
146
142
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="cairo-matrix-t.x0"></a>x0</code></em>;</span></p></td>
|
147
|
-
<td>X translation component of the affine transformation
|
148
|
-
</td>
|
143
|
+
<td>X translation component of the affine transformation</td>
|
149
144
|
</tr>
|
150
145
|
<tr>
|
151
146
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="cairo-matrix-t.y0"></a>y0</code></em>;</span></p></td>
|
152
|
-
<td>Y translation component of the affine transformation
|
153
|
-
</td>
|
147
|
+
<td>Y translation component of the affine transformation</td>
|
154
148
|
</tr>
|
155
149
|
</tbody>
|
156
150
|
</table></div>
|
151
|
+
<p class="since">Since 1.0</p>
|
157
152
|
</div>
|
158
153
|
<hr>
|
159
|
-
<div class="refsect2"
|
154
|
+
<div class="refsect2">
|
160
155
|
<a name="cairo-matrix-init"></a><h3>cairo_matrix_init ()</h3>
|
161
156
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_matrix_init (<em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>,
|
162
157
|
<em class="parameter"><code><span class="type">double</span> xx</code></em>,
|
@@ -186,39 +181,34 @@ by:
|
|
186
181
|
</tr>
|
187
182
|
<tr>
|
188
183
|
<td><p><span class="term"><em class="parameter"><code>xx</code></em> :</span></p></td>
|
189
|
-
<td>xx component of the affine transformation
|
190
|
-
</td>
|
184
|
+
<td>xx component of the affine transformation</td>
|
191
185
|
</tr>
|
192
186
|
<tr>
|
193
187
|
<td><p><span class="term"><em class="parameter"><code>yx</code></em> :</span></p></td>
|
194
|
-
<td>yx component of the affine transformation
|
195
|
-
</td>
|
188
|
+
<td>yx component of the affine transformation</td>
|
196
189
|
</tr>
|
197
190
|
<tr>
|
198
191
|
<td><p><span class="term"><em class="parameter"><code>xy</code></em> :</span></p></td>
|
199
|
-
<td>xy component of the affine transformation
|
200
|
-
</td>
|
192
|
+
<td>xy component of the affine transformation</td>
|
201
193
|
</tr>
|
202
194
|
<tr>
|
203
195
|
<td><p><span class="term"><em class="parameter"><code>yy</code></em> :</span></p></td>
|
204
|
-
<td>yy component of the affine transformation
|
205
|
-
</td>
|
196
|
+
<td>yy component of the affine transformation</td>
|
206
197
|
</tr>
|
207
198
|
<tr>
|
208
199
|
<td><p><span class="term"><em class="parameter"><code>x0</code></em> :</span></p></td>
|
209
|
-
<td>X translation component of the affine transformation
|
210
|
-
</td>
|
200
|
+
<td>X translation component of the affine transformation</td>
|
211
201
|
</tr>
|
212
202
|
<tr>
|
213
203
|
<td><p><span class="term"><em class="parameter"><code>y0</code></em> :</span></p></td>
|
214
|
-
<td>Y translation component of the affine transformation
|
215
|
-
</td>
|
204
|
+
<td>Y translation component of the affine transformation</td>
|
216
205
|
</tr>
|
217
206
|
</tbody>
|
218
207
|
</table></div>
|
208
|
+
<p class="since">Since 1.0</p>
|
219
209
|
</div>
|
220
210
|
<hr>
|
221
|
-
<div class="refsect2"
|
211
|
+
<div class="refsect2">
|
222
212
|
<a name="cairo-matrix-init-identity"></a><h3>cairo_matrix_init_identity ()</h3>
|
223
213
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_matrix_init_identity (<em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>);</pre>
|
224
214
|
<p>
|
@@ -232,9 +222,10 @@ Modifies <em class="parameter"><code>matrix</code></em> to be an identity transf
|
|
232
222
|
</td>
|
233
223
|
</tr></tbody>
|
234
224
|
</table></div>
|
225
|
+
<p class="since">Since 1.0</p>
|
235
226
|
</div>
|
236
227
|
<hr>
|
237
|
-
<div class="refsect2"
|
228
|
+
<div class="refsect2">
|
238
229
|
<a name="cairo-matrix-init-translate"></a><h3>cairo_matrix_init_translate ()</h3>
|
239
230
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_matrix_init_translate (<em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>,
|
240
231
|
<em class="parameter"><code><span class="type">double</span> tx</code></em>,
|
@@ -253,19 +244,18 @@ Initializes <em class="parameter"><code>matrix</code></em> to a transformation t
|
|
253
244
|
</tr>
|
254
245
|
<tr>
|
255
246
|
<td><p><span class="term"><em class="parameter"><code>tx</code></em> :</span></p></td>
|
256
|
-
<td>amount to translate in the X direction
|
257
|
-
</td>
|
247
|
+
<td>amount to translate in the X direction</td>
|
258
248
|
</tr>
|
259
249
|
<tr>
|
260
250
|
<td><p><span class="term"><em class="parameter"><code>ty</code></em> :</span></p></td>
|
261
|
-
<td>amount to translate in the Y direction
|
262
|
-
</td>
|
251
|
+
<td>amount to translate in the Y direction</td>
|
263
252
|
</tr>
|
264
253
|
</tbody>
|
265
254
|
</table></div>
|
255
|
+
<p class="since">Since 1.0</p>
|
266
256
|
</div>
|
267
257
|
<hr>
|
268
|
-
<div class="refsect2"
|
258
|
+
<div class="refsect2">
|
269
259
|
<a name="cairo-matrix-init-scale"></a><h3>cairo_matrix_init_scale ()</h3>
|
270
260
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_matrix_init_scale (<em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>,
|
271
261
|
<em class="parameter"><code><span class="type">double</span> sx</code></em>,
|
@@ -284,19 +274,18 @@ in the X and Y dimensions, respectively.
|
|
284
274
|
</tr>
|
285
275
|
<tr>
|
286
276
|
<td><p><span class="term"><em class="parameter"><code>sx</code></em> :</span></p></td>
|
287
|
-
<td>scale factor in the X direction
|
288
|
-
</td>
|
277
|
+
<td>scale factor in the X direction</td>
|
289
278
|
</tr>
|
290
279
|
<tr>
|
291
280
|
<td><p><span class="term"><em class="parameter"><code>sy</code></em> :</span></p></td>
|
292
|
-
<td>scale factor in the Y direction
|
293
|
-
</td>
|
281
|
+
<td>scale factor in the Y direction</td>
|
294
282
|
</tr>
|
295
283
|
</tbody>
|
296
284
|
</table></div>
|
285
|
+
<p class="since">Since 1.0</p>
|
297
286
|
</div>
|
298
287
|
<hr>
|
299
|
-
<div class="refsect2"
|
288
|
+
<div class="refsect2">
|
300
289
|
<a name="cairo-matrix-init-rotate"></a><h3>cairo_matrix_init_rotate ()</h3>
|
301
290
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_matrix_init_rotate (<em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>,
|
302
291
|
<em class="parameter"><code><span class="type">double</span> radians</code></em>);</pre>
|
@@ -317,14 +306,14 @@ Initialized <em class="parameter"><code>matrix</code></em> to a transformation t
|
|
317
306
|
is defined such that positive angles rotate in the direction from
|
318
307
|
the positive X axis toward the positive Y axis. With the default
|
319
308
|
axis orientation of cairo, positive angles rotate in a clockwise
|
320
|
-
direction
|
321
|
-
</td>
|
309
|
+
direction.</td>
|
322
310
|
</tr>
|
323
311
|
</tbody>
|
324
312
|
</table></div>
|
313
|
+
<p class="since">Since 1.0</p>
|
325
314
|
</div>
|
326
315
|
<hr>
|
327
|
-
<div class="refsect2"
|
316
|
+
<div class="refsect2">
|
328
317
|
<a name="cairo-matrix-translate"></a><h3>cairo_matrix_translate ()</h3>
|
329
318
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_matrix_translate (<em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>,
|
330
319
|
<em class="parameter"><code><span class="type">double</span> tx</code></em>,
|
@@ -345,19 +334,18 @@ to the coordinates.
|
|
345
334
|
</tr>
|
346
335
|
<tr>
|
347
336
|
<td><p><span class="term"><em class="parameter"><code>tx</code></em> :</span></p></td>
|
348
|
-
<td>amount to translate in the X direction
|
349
|
-
</td>
|
337
|
+
<td>amount to translate in the X direction</td>
|
350
338
|
</tr>
|
351
339
|
<tr>
|
352
340
|
<td><p><span class="term"><em class="parameter"><code>ty</code></em> :</span></p></td>
|
353
|
-
<td>amount to translate in the Y direction
|
354
|
-
</td>
|
341
|
+
<td>amount to translate in the Y direction</td>
|
355
342
|
</tr>
|
356
343
|
</tbody>
|
357
344
|
</table></div>
|
345
|
+
<p class="since">Since 1.0</p>
|
358
346
|
</div>
|
359
347
|
<hr>
|
360
|
-
<div class="refsect2"
|
348
|
+
<div class="refsect2">
|
361
349
|
<a name="cairo-matrix-scale"></a><h3>cairo_matrix_scale ()</h3>
|
362
350
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_matrix_scale (<em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>,
|
363
351
|
<em class="parameter"><code><span class="type">double</span> sx</code></em>,
|
@@ -377,19 +365,18 @@ by <em class="parameter"><code>sx</code></em> and <em class="parameter"><code>sy
|
|
377
365
|
</tr>
|
378
366
|
<tr>
|
379
367
|
<td><p><span class="term"><em class="parameter"><code>sx</code></em> :</span></p></td>
|
380
|
-
<td>scale factor in the X direction
|
381
|
-
</td>
|
368
|
+
<td>scale factor in the X direction</td>
|
382
369
|
</tr>
|
383
370
|
<tr>
|
384
371
|
<td><p><span class="term"><em class="parameter"><code>sy</code></em> :</span></p></td>
|
385
|
-
<td>scale factor in the Y direction
|
386
|
-
</td>
|
372
|
+
<td>scale factor in the Y direction</td>
|
387
373
|
</tr>
|
388
374
|
</tbody>
|
389
375
|
</table></div>
|
376
|
+
<p class="since">Since 1.0</p>
|
390
377
|
</div>
|
391
378
|
<hr>
|
392
|
-
<div class="refsect2"
|
379
|
+
<div class="refsect2">
|
393
380
|
<a name="cairo-matrix-rotate"></a><h3>cairo_matrix_rotate ()</h3>
|
394
381
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_matrix_rotate (<em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>,
|
395
382
|
<em class="parameter"><code><span class="type">double</span> radians</code></em>);</pre>
|
@@ -413,14 +400,14 @@ to the coordinates.
|
|
413
400
|
is defined such that positive angles rotate in the direction from
|
414
401
|
the positive X axis toward the positive Y axis. With the default
|
415
402
|
axis orientation of cairo, positive angles rotate in a clockwise
|
416
|
-
direction
|
417
|
-
</td>
|
403
|
+
direction.</td>
|
418
404
|
</tr>
|
419
405
|
</tbody>
|
420
406
|
</table></div>
|
407
|
+
<p class="since">Since 1.0</p>
|
421
408
|
</div>
|
422
409
|
<hr>
|
423
|
-
<div class="refsect2"
|
410
|
+
<div class="refsect2">
|
424
411
|
<a name="cairo-matrix-invert"></a><h3>cairo_matrix_invert ()</h3>
|
425
412
|
<pre class="programlisting"><a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> cairo_matrix_invert (<em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>);</pre>
|
426
413
|
<p>
|
@@ -439,16 +426,16 @@ then it has no inverse and this function will fail.
|
|
439
426
|
</tr>
|
440
427
|
<tr>
|
441
428
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
442
|
-
<td>
|
443
|
-
|
444
|
-
|
445
|
-
</td>
|
429
|
+
<td>If <em class="parameter"><code>matrix</code></em> has an inverse, modifies <em class="parameter"><code>matrix</code></em> to
|
430
|
+
be the inverse matrix and returns <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a>. Otherwise,
|
431
|
+
returns <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-MATRIX:CAPS"><code class="literal">CAIRO_STATUS_INVALID_MATRIX</code></a>.</td>
|
446
432
|
</tr>
|
447
433
|
</tbody>
|
448
434
|
</table></div>
|
435
|
+
<p class="since">Since 1.0</p>
|
449
436
|
</div>
|
450
437
|
<hr>
|
451
|
-
<div class="refsect2"
|
438
|
+
<div class="refsect2">
|
452
439
|
<a name="cairo-matrix-multiply"></a><h3>cairo_matrix_multiply ()</h3>
|
453
440
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_matrix_multiply (<em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *result</code></em>,
|
454
441
|
<em class="parameter"><code>const <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *a</code></em>,
|
@@ -468,8 +455,7 @@ It is allowable for <em class="parameter"><code>result</code></em> to be identic
|
|
468
455
|
<tbody>
|
469
456
|
<tr>
|
470
457
|
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
471
|
-
<td>a <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> in which to store the result
|
472
|
-
</td>
|
458
|
+
<td>a <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> in which to store the result</td>
|
473
459
|
</tr>
|
474
460
|
<tr>
|
475
461
|
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
|
@@ -483,9 +469,10 @@ It is allowable for <em class="parameter"><code>result</code></em> to be identic
|
|
483
469
|
</tr>
|
484
470
|
</tbody>
|
485
471
|
</table></div>
|
472
|
+
<p class="since">Since 1.0</p>
|
486
473
|
</div>
|
487
474
|
<hr>
|
488
|
-
<div class="refsect2"
|
475
|
+
<div class="refsect2">
|
489
476
|
<a name="cairo-matrix-transform-distance"></a><h3>cairo_matrix_transform_distance ()</h3>
|
490
477
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_matrix_transform_distance (<em class="parameter"><code>const <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>,
|
491
478
|
<em class="parameter"><code><span class="type">double</span> *dx</code></em>,
|
@@ -520,19 +507,18 @@ to (<em class="parameter"><code>x2</code></em>,<em class="parameter"><code>y2</c
|
|
520
507
|
</tr>
|
521
508
|
<tr>
|
522
509
|
<td><p><span class="term"><em class="parameter"><code>dx</code></em> :</span></p></td>
|
523
|
-
<td>X component of a distance vector. An in/out parameter
|
524
|
-
</td>
|
510
|
+
<td>X component of a distance vector. An in/out parameter</td>
|
525
511
|
</tr>
|
526
512
|
<tr>
|
527
513
|
<td><p><span class="term"><em class="parameter"><code>dy</code></em> :</span></p></td>
|
528
|
-
<td>Y component of a distance vector. An in/out parameter
|
529
|
-
</td>
|
514
|
+
<td>Y component of a distance vector. An in/out parameter</td>
|
530
515
|
</tr>
|
531
516
|
</tbody>
|
532
517
|
</table></div>
|
518
|
+
<p class="since">Since 1.0</p>
|
533
519
|
</div>
|
534
520
|
<hr>
|
535
|
-
<div class="refsect2"
|
521
|
+
<div class="refsect2">
|
536
522
|
<a name="cairo-matrix-transform-point"></a><h3>cairo_matrix_transform_point ()</h3>
|
537
523
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_matrix_transform_point (<em class="parameter"><code>const <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>,
|
538
524
|
<em class="parameter"><code><span class="type">double</span> *x</code></em>,
|
@@ -550,25 +536,24 @@ Transforms the point (<em class="parameter"><code>x</code></em>, <em class="para
|
|
550
536
|
</tr>
|
551
537
|
<tr>
|
552
538
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
553
|
-
<td>X position. An in/out parameter
|
554
|
-
</td>
|
539
|
+
<td>X position. An in/out parameter</td>
|
555
540
|
</tr>
|
556
541
|
<tr>
|
557
542
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
558
|
-
<td>Y position. An in/out parameter
|
559
|
-
</td>
|
543
|
+
<td>Y position. An in/out parameter</td>
|
560
544
|
</tr>
|
561
545
|
</tbody>
|
562
546
|
</table></div>
|
547
|
+
<p class="since">Since 1.0</p>
|
563
548
|
</div>
|
564
549
|
</div>
|
565
|
-
<div class="refsect1"
|
550
|
+
<div class="refsect1">
|
566
551
|
<a name="cairo-cairo-matrix-t.see-also"></a><h2>See Also</h2>
|
567
552
|
<a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
|
568
553
|
</div>
|
569
554
|
</div>
|
570
555
|
<div class="footer">
|
571
556
|
<hr>
|
572
|
-
Generated by GTK-Doc V1.
|
557
|
+
Generated by GTK-Doc V1.18</div>
|
573
558
|
</body>
|
574
559
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>cairo_pattern_t</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
7
|
<link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
8
|
<link rel="up" href="cairo-drawing.html" title="Drawing">
|
9
9
|
<link rel="prev" href="cairo-Paths.html" title="Paths">
|
10
10
|
<link rel="next" href="cairo-Regions.html" title="Regions">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#cairo-cairo-pattern-t.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="cairo-cairo-pattern-t"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,7 +35,7 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
39
39
|
<a name="cairo-cairo-pattern-t.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">typedef <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t">cairo_pattern_t</a>;
|
41
41
|
<span class="returnvalue">void</span> <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-add-color-stop-rgb" title="cairo_pattern_add_color_stop_rgb ()">cairo_pattern_add_color_stop_rgb</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
@@ -95,6 +95,58 @@
|
|
95
95
|
<em class="parameter"><code><span class="type">double</span> *x1</code></em>,
|
96
96
|
<em class="parameter"><code><span class="type">double</span> *y1</code></em>,
|
97
97
|
<em class="parameter"><code><span class="type">double</span> *r1</code></em>);
|
98
|
+
<a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="returnvalue">cairo_pattern_t</span></a> * <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-create-mesh" title="cairo_pattern_create_mesh ()">cairo_pattern_create_mesh</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
99
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-begin-patch" title="cairo_mesh_pattern_begin_patch ()">cairo_mesh_pattern_begin_patch</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>);
|
100
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-end-patch" title="cairo_mesh_pattern_end_patch ()">cairo_mesh_pattern_end_patch</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>);
|
101
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-move-to" title="cairo_mesh_pattern_move_to ()">cairo_mesh_pattern_move_to</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
102
|
+
<em class="parameter"><code><span class="type">double</span> x</code></em>,
|
103
|
+
<em class="parameter"><code><span class="type">double</span> y</code></em>);
|
104
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-line-to" title="cairo_mesh_pattern_line_to ()">cairo_mesh_pattern_line_to</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
105
|
+
<em class="parameter"><code><span class="type">double</span> x</code></em>,
|
106
|
+
<em class="parameter"><code><span class="type">double</span> y</code></em>);
|
107
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-curve-to" title="cairo_mesh_pattern_curve_to ()">cairo_mesh_pattern_curve_to</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
108
|
+
<em class="parameter"><code><span class="type">double</span> x1</code></em>,
|
109
|
+
<em class="parameter"><code><span class="type">double</span> y1</code></em>,
|
110
|
+
<em class="parameter"><code><span class="type">double</span> x2</code></em>,
|
111
|
+
<em class="parameter"><code><span class="type">double</span> y2</code></em>,
|
112
|
+
<em class="parameter"><code><span class="type">double</span> x3</code></em>,
|
113
|
+
<em class="parameter"><code><span class="type">double</span> y3</code></em>);
|
114
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-set-control-point" title="cairo_mesh_pattern_set_control_point ()">cairo_mesh_pattern_set_control_point</a>
|
115
|
+
(<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
116
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> point_num</code></em>,
|
117
|
+
<em class="parameter"><code><span class="type">double</span> x</code></em>,
|
118
|
+
<em class="parameter"><code><span class="type">double</span> y</code></em>);
|
119
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-set-corner-color-rgb" title="cairo_mesh_pattern_set_corner_color_rgb ()">cairo_mesh_pattern_set_corner_color_rgb</a>
|
120
|
+
(<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
121
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> corner_num</code></em>,
|
122
|
+
<em class="parameter"><code><span class="type">double</span> red</code></em>,
|
123
|
+
<em class="parameter"><code><span class="type">double</span> green</code></em>,
|
124
|
+
<em class="parameter"><code><span class="type">double</span> blue</code></em>);
|
125
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-set-corner-color-rgba" title="cairo_mesh_pattern_set_corner_color_rgba ()">cairo_mesh_pattern_set_corner_color_rgba</a>
|
126
|
+
(<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
127
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> corner_num</code></em>,
|
128
|
+
<em class="parameter"><code><span class="type">double</span> red</code></em>,
|
129
|
+
<em class="parameter"><code><span class="type">double</span> green</code></em>,
|
130
|
+
<em class="parameter"><code><span class="type">double</span> blue</code></em>,
|
131
|
+
<em class="parameter"><code><span class="type">double</span> alpha</code></em>);
|
132
|
+
<a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-get-patch-count" title="cairo_mesh_pattern_get_patch_count ()">cairo_mesh_pattern_get_patch_count</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
133
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> *count</code></em>);
|
134
|
+
<a class="link" href="cairo-Paths.html#cairo-path-t" title="cairo_path_t"><span class="returnvalue">cairo_path_t</span></a> * <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-get-path" title="cairo_mesh_pattern_get_path ()">cairo_mesh_pattern_get_path</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
135
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> patch_num</code></em>);
|
136
|
+
<a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-get-control-point" title="cairo_mesh_pattern_get_control_point ()">cairo_mesh_pattern_get_control_point</a>
|
137
|
+
(<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
138
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> patch_num</code></em>,
|
139
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> point_num</code></em>,
|
140
|
+
<em class="parameter"><code><span class="type">double</span> *x</code></em>,
|
141
|
+
<em class="parameter"><code><span class="type">double</span> *y</code></em>);
|
142
|
+
<a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-get-corner-color-rgba" title="cairo_mesh_pattern_get_corner_color_rgba ()">cairo_mesh_pattern_get_corner_color_rgba</a>
|
143
|
+
(<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
144
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> patch_num</code></em>,
|
145
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> corner_num</code></em>,
|
146
|
+
<em class="parameter"><code><span class="type">double</span> *red</code></em>,
|
147
|
+
<em class="parameter"><code><span class="type">double</span> *green</code></em>,
|
148
|
+
<em class="parameter"><code><span class="type">double</span> *blue</code></em>,
|
149
|
+
<em class="parameter"><code><span class="type">double</span> *alpha</code></em>);
|
98
150
|
<a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="returnvalue">cairo_pattern_t</span></a> * <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-reference" title="cairo_pattern_reference ()">cairo_pattern_reference</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>);
|
99
151
|
<span class="returnvalue">void</span> <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-destroy" title="cairo_pattern_destroy ()">cairo_pattern_destroy</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>);
|
100
152
|
<a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-status" title="cairo_pattern_status ()">cairo_pattern_status</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>);
|
@@ -111,7 +163,7 @@ enum <a class="link" href="cairo-cairo-pattern-t.html#cairo-filte
|
|
111
163
|
<span class="returnvalue">void</span> <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-get-matrix" title="cairo_pattern_get_matrix ()">cairo_pattern_get_matrix</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
112
164
|
<em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>);
|
113
165
|
enum <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-type-t" title="enum cairo_pattern_type_t">cairo_pattern_type_t</a>;
|
114
|
-
<a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-type-t" title="enum cairo_pattern_type_t"><span class="returnvalue">cairo_pattern_type_t</span></a>
|
166
|
+
<a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-type-t" title="enum cairo_pattern_type_t"><span class="returnvalue">cairo_pattern_type_t</span></a> <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-get-type" title="cairo_pattern_get_type ()">cairo_pattern_get_type</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>);
|
115
167
|
unsigned <span class="returnvalue">int</span> <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-get-reference-count" title="cairo_pattern_get_reference_count ()">cairo_pattern_get_reference_count</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>);
|
116
168
|
<a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-set-user-data" title="cairo_pattern_set_user_data ()">cairo_pattern_set_user_data</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
117
169
|
<em class="parameter"><code>const <a class="link" href="cairo-Types.html#cairo-user-data-key-t" title="cairo_user_data_key_t"><span class="type">cairo_user_data_key_t</span></a> *key</code></em>,
|
@@ -121,7 +173,7 @@ unsigned <span class="returnvalue">int</span> <a class="link" href="cairo
|
|
121
173
|
<em class="parameter"><code>const <a class="link" href="cairo-Types.html#cairo-user-data-key-t" title="cairo_user_data_key_t"><span class="type">cairo_user_data_key_t</span></a> *key</code></em>);
|
122
174
|
</pre>
|
123
175
|
</div>
|
124
|
-
<div class="refsect1"
|
176
|
+
<div class="refsect1">
|
125
177
|
<a name="cairo-cairo-pattern-t.description"></a><h2>Description</h2>
|
126
178
|
<p>
|
127
179
|
<a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> is the paint with which cairo draws.
|
@@ -131,14 +183,16 @@ brush too.
|
|
131
183
|
</p>
|
132
184
|
<p>
|
133
185
|
A cairo pattern is created by using one of the many constructors,
|
134
|
-
of the form
|
186
|
+
of the form
|
187
|
+
<code class="function">cairo_pattern_create_<span class="emphasis"><em>type</em></span>()</code>
|
135
188
|
or implicitly through
|
136
|
-
cairo_set_source_<span class="emphasis"><em>type</em></span>()
|
189
|
+
<code class="function">cairo_set_source_<span class="emphasis"><em>type</em></span>()</code>
|
190
|
+
functions.
|
137
191
|
</p>
|
138
192
|
</div>
|
139
|
-
<div class="refsect1"
|
193
|
+
<div class="refsect1">
|
140
194
|
<a name="cairo-cairo-pattern-t.details"></a><h2>Details</h2>
|
141
|
-
<div class="refsect2"
|
195
|
+
<div class="refsect2">
|
142
196
|
<a name="cairo-pattern-t"></a><h3>cairo_pattern_t</h3>
|
143
197
|
<pre class="programlisting">typedef struct _cairo_pattern cairo_pattern_t;
|
144
198
|
</pre>
|
@@ -150,9 +204,10 @@ for different types of sources; for example,
|
|
150
204
|
opaque color.
|
151
205
|
</p>
|
152
206
|
<p>
|
153
|
-
Other than various
|
154
|
-
|
155
|
-
|
207
|
+
Other than various
|
208
|
+
<code class="function">cairo_pattern_create_<span class="emphasis"><em>type</em></span>()</code>
|
209
|
+
functions, some of the pattern types can be implicitly created using various
|
210
|
+
<code class="function">cairo_set_source_<span class="emphasis"><em>type</em></span>()</code> functions;
|
156
211
|
for example <a class="link" href="cairo-cairo-t.html#cairo-set-source-rgb" title="cairo_set_source_rgb ()"><code class="function">cairo_set_source_rgb()</code></a>.
|
157
212
|
</p>
|
158
213
|
<p>
|
@@ -162,9 +217,10 @@ The type of a pattern can be queried with <a class="link" href="cairo-cairo-patt
|
|
162
217
|
Memory management of <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> is done with
|
163
218
|
<a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-reference" title="cairo_pattern_reference ()"><code class="function">cairo_pattern_reference()</code></a> and <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-destroy" title="cairo_pattern_destroy ()"><code class="function">cairo_pattern_destroy()</code></a>.
|
164
219
|
</p>
|
220
|
+
<p class="since">Since 1.0</p>
|
165
221
|
</div>
|
166
222
|
<hr>
|
167
|
-
<div class="refsect2"
|
223
|
+
<div class="refsect2">
|
168
224
|
<a name="cairo-pattern-add-color-stop-rgb"></a><h3>cairo_pattern_add_color_stop_rgb ()</h3>
|
169
225
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_pattern_add_color_stop_rgb (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
170
226
|
<em class="parameter"><code><span class="type">double</span> offset</code></em>,
|
@@ -203,29 +259,26 @@ with a status of <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PA
|
|
203
259
|
</tr>
|
204
260
|
<tr>
|
205
261
|
<td><p><span class="term"><em class="parameter"><code>offset</code></em> :</span></p></td>
|
206
|
-
<td>an offset in the range [0.0 .. 1.0]
|
207
|
-
</td>
|
262
|
+
<td>an offset in the range [0.0 .. 1.0]</td>
|
208
263
|
</tr>
|
209
264
|
<tr>
|
210
265
|
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
211
|
-
<td>red component of color
|
212
|
-
</td>
|
266
|
+
<td>red component of color</td>
|
213
267
|
</tr>
|
214
268
|
<tr>
|
215
269
|
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
216
|
-
<td>green component of color
|
217
|
-
</td>
|
270
|
+
<td>green component of color</td>
|
218
271
|
</tr>
|
219
272
|
<tr>
|
220
273
|
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
221
|
-
<td>blue component of color
|
222
|
-
</td>
|
274
|
+
<td>blue component of color</td>
|
223
275
|
</tr>
|
224
276
|
</tbody>
|
225
277
|
</table></div>
|
278
|
+
<p class="since">Since 1.0</p>
|
226
279
|
</div>
|
227
280
|
<hr>
|
228
|
-
<div class="refsect2"
|
281
|
+
<div class="refsect2">
|
229
282
|
<a name="cairo-pattern-add-color-stop-rgba"></a><h3>cairo_pattern_add_color_stop_rgba ()</h3>
|
230
283
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_pattern_add_color_stop_rgba (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
231
284
|
<em class="parameter"><code><span class="type">double</span> offset</code></em>,
|
@@ -265,34 +318,30 @@ with a status of <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PA
|
|
265
318
|
</tr>
|
266
319
|
<tr>
|
267
320
|
<td><p><span class="term"><em class="parameter"><code>offset</code></em> :</span></p></td>
|
268
|
-
<td>an offset in the range [0.0 .. 1.0]
|
269
|
-
</td>
|
321
|
+
<td>an offset in the range [0.0 .. 1.0]</td>
|
270
322
|
</tr>
|
271
323
|
<tr>
|
272
324
|
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
273
|
-
<td>red component of color
|
274
|
-
</td>
|
325
|
+
<td>red component of color</td>
|
275
326
|
</tr>
|
276
327
|
<tr>
|
277
328
|
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
278
|
-
<td>green component of color
|
279
|
-
</td>
|
329
|
+
<td>green component of color</td>
|
280
330
|
</tr>
|
281
331
|
<tr>
|
282
332
|
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
283
|
-
<td>blue component of color
|
284
|
-
</td>
|
333
|
+
<td>blue component of color</td>
|
285
334
|
</tr>
|
286
335
|
<tr>
|
287
336
|
<td><p><span class="term"><em class="parameter"><code>alpha</code></em> :</span></p></td>
|
288
|
-
<td>alpha component of color
|
289
|
-
</td>
|
337
|
+
<td>alpha component of color</td>
|
290
338
|
</tr>
|
291
339
|
</tbody>
|
292
340
|
</table></div>
|
341
|
+
<p class="since">Since 1.0</p>
|
293
342
|
</div>
|
294
343
|
<hr>
|
295
|
-
<div class="refsect2"
|
344
|
+
<div class="refsect2">
|
296
345
|
<a name="cairo-pattern-get-color-stop-count"></a><h3>cairo_pattern_get_color_stop_count ()</h3>
|
297
346
|
<pre class="programlisting"><a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> cairo_pattern_get_color_stop_count (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
298
347
|
<em class="parameter"><code><span class="type">int</span> *count</code></em>);</pre>
|
@@ -310,23 +359,22 @@ pattern.
|
|
310
359
|
</tr>
|
311
360
|
<tr>
|
312
361
|
<td><p><span class="term"><em class="parameter"><code>count</code></em> :</span></p></td>
|
313
|
-
<td>return value for the number of color stops, or <a href="
|
362
|
+
<td>return value for the number of color stops, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
314
363
|
</td>
|
315
364
|
</tr>
|
316
365
|
<tr>
|
317
366
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
318
|
-
<td>
|
367
|
+
<td>
|
368
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a>, or
|
319
369
|
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a> if <em class="parameter"><code>pattern</code></em> is not a gradient
|
320
|
-
pattern
|
321
|
-
|
322
|
-
</td>
|
370
|
+
pattern.</td>
|
323
371
|
</tr>
|
324
372
|
</tbody>
|
325
373
|
</table></div>
|
326
374
|
<p class="since">Since 1.4</p>
|
327
375
|
</div>
|
328
376
|
<hr>
|
329
|
-
<div class="refsect2"
|
377
|
+
<div class="refsect2">
|
330
378
|
<a name="cairo-pattern-get-color-stop-rgba"></a><h3>cairo_pattern_get_color_stop_rgba ()</h3>
|
331
379
|
<pre class="programlisting"><a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> cairo_pattern_get_color_stop_rgba (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
332
380
|
<em class="parameter"><code><span class="type">int</span> index</code></em>,
|
@@ -350,49 +398,47 @@ returned by <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-get-c
|
|
350
398
|
</tr>
|
351
399
|
<tr>
|
352
400
|
<td><p><span class="term"><em class="parameter"><code>index</code></em> :</span></p></td>
|
353
|
-
<td>index of the stop to return data for
|
354
|
-
</td>
|
401
|
+
<td>index of the stop to return data for</td>
|
355
402
|
</tr>
|
356
403
|
<tr>
|
357
404
|
<td><p><span class="term"><em class="parameter"><code>offset</code></em> :</span></p></td>
|
358
|
-
<td>return value for the offset of the stop, or <a href="
|
405
|
+
<td>return value for the offset of the stop, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
359
406
|
</td>
|
360
407
|
</tr>
|
361
408
|
<tr>
|
362
409
|
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
363
|
-
<td>return value for red component of color, or <a href="
|
410
|
+
<td>return value for red component of color, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
364
411
|
</td>
|
365
412
|
</tr>
|
366
413
|
<tr>
|
367
414
|
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
368
|
-
<td>return value for green component of color, or <a href="
|
415
|
+
<td>return value for green component of color, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
369
416
|
</td>
|
370
417
|
</tr>
|
371
418
|
<tr>
|
372
419
|
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
373
|
-
<td>return value for blue component of color, or <a href="
|
420
|
+
<td>return value for blue component of color, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
374
421
|
</td>
|
375
422
|
</tr>
|
376
423
|
<tr>
|
377
424
|
<td><p><span class="term"><em class="parameter"><code>alpha</code></em> :</span></p></td>
|
378
|
-
<td>return value for alpha component of color, or <a href="
|
425
|
+
<td>return value for alpha component of color, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
379
426
|
</td>
|
380
427
|
</tr>
|
381
428
|
<tr>
|
382
429
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
383
|
-
<td>
|
430
|
+
<td>
|
431
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a>, or <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-INDEX:CAPS"><code class="literal">CAIRO_STATUS_INVALID_INDEX</code></a>
|
384
432
|
if <em class="parameter"><code>index</code></em> is not valid for the given pattern. If the pattern is
|
385
433
|
not a gradient pattern, <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a> is
|
386
|
-
returned
|
387
|
-
|
388
|
-
</td>
|
434
|
+
returned.</td>
|
389
435
|
</tr>
|
390
436
|
</tbody>
|
391
437
|
</table></div>
|
392
438
|
<p class="since">Since 1.4</p>
|
393
439
|
</div>
|
394
440
|
<hr>
|
395
|
-
<div class="refsect2"
|
441
|
+
<div class="refsect2">
|
396
442
|
<a name="cairo-pattern-create-rgb"></a><h3>cairo_pattern_create_rgb ()</h3>
|
397
443
|
<pre class="programlisting"><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="returnvalue">cairo_pattern_t</span></a> * cairo_pattern_create_rgb (<em class="parameter"><code><span class="type">double</span> red</code></em>,
|
398
444
|
<em class="parameter"><code><span class="type">double</span> green</code></em>,
|
@@ -408,36 +454,32 @@ clamped.
|
|
408
454
|
<tbody>
|
409
455
|
<tr>
|
410
456
|
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
411
|
-
<td>red component of the color
|
412
|
-
</td>
|
457
|
+
<td>red component of the color</td>
|
413
458
|
</tr>
|
414
459
|
<tr>
|
415
460
|
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
416
|
-
<td>green component of the color
|
417
|
-
</td>
|
461
|
+
<td>green component of the color</td>
|
418
462
|
</tr>
|
419
463
|
<tr>
|
420
464
|
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
421
|
-
<td>blue component of the color
|
422
|
-
</td>
|
465
|
+
<td>blue component of the color</td>
|
423
466
|
</tr>
|
424
467
|
<tr>
|
425
468
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
426
|
-
<td>
|
469
|
+
<td>the newly created <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> if successful, or
|
427
470
|
an error pattern in case of no memory. The caller owns the
|
428
471
|
returned object and should call <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-destroy" title="cairo_pattern_destroy ()"><code class="function">cairo_pattern_destroy()</code></a> when
|
429
472
|
finished with it.
|
430
|
-
|
431
473
|
This function will always return a valid pointer, but if an error
|
432
474
|
occurred the pattern status will be set to an error. To inspect
|
433
|
-
the status of a pattern use <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-status" title="cairo_pattern_status ()"><code class="function">cairo_pattern_status()</code></a
|
434
|
-
</td>
|
475
|
+
the status of a pattern use <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-status" title="cairo_pattern_status ()"><code class="function">cairo_pattern_status()</code></a>.</td>
|
435
476
|
</tr>
|
436
477
|
</tbody>
|
437
478
|
</table></div>
|
479
|
+
<p class="since">Since 1.0</p>
|
438
480
|
</div>
|
439
481
|
<hr>
|
440
|
-
<div class="refsect2"
|
482
|
+
<div class="refsect2">
|
441
483
|
<a name="cairo-pattern-create-rgba"></a><h3>cairo_pattern_create_rgba ()</h3>
|
442
484
|
<pre class="programlisting"><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="returnvalue">cairo_pattern_t</span></a> * cairo_pattern_create_rgba (<em class="parameter"><code><span class="type">double</span> red</code></em>,
|
443
485
|
<em class="parameter"><code><span class="type">double</span> green</code></em>,
|
@@ -454,41 +496,36 @@ clamped.
|
|
454
496
|
<tbody>
|
455
497
|
<tr>
|
456
498
|
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
457
|
-
<td>red component of the color
|
458
|
-
</td>
|
499
|
+
<td>red component of the color</td>
|
459
500
|
</tr>
|
460
501
|
<tr>
|
461
502
|
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
462
|
-
<td>green component of the color
|
463
|
-
</td>
|
503
|
+
<td>green component of the color</td>
|
464
504
|
</tr>
|
465
505
|
<tr>
|
466
506
|
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
467
|
-
<td>blue component of the color
|
468
|
-
</td>
|
507
|
+
<td>blue component of the color</td>
|
469
508
|
</tr>
|
470
509
|
<tr>
|
471
510
|
<td><p><span class="term"><em class="parameter"><code>alpha</code></em> :</span></p></td>
|
472
|
-
<td>alpha component of the color
|
473
|
-
</td>
|
511
|
+
<td>alpha component of the color</td>
|
474
512
|
</tr>
|
475
513
|
<tr>
|
476
514
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
477
|
-
<td>
|
515
|
+
<td>the newly created <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> if successful, or
|
478
516
|
an error pattern in case of no memory. The caller owns the
|
479
517
|
returned object and should call <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-destroy" title="cairo_pattern_destroy ()"><code class="function">cairo_pattern_destroy()</code></a> when
|
480
518
|
finished with it.
|
481
|
-
|
482
519
|
This function will always return a valid pointer, but if an error
|
483
520
|
occurred the pattern status will be set to an error. To inspect
|
484
|
-
the status of a pattern use <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-status" title="cairo_pattern_status ()"><code class="function">cairo_pattern_status()</code></a
|
485
|
-
</td>
|
521
|
+
the status of a pattern use <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-status" title="cairo_pattern_status ()"><code class="function">cairo_pattern_status()</code></a>.</td>
|
486
522
|
</tr>
|
487
523
|
</tbody>
|
488
524
|
</table></div>
|
525
|
+
<p class="since">Since 1.0</p>
|
489
526
|
</div>
|
490
527
|
<hr>
|
491
|
-
<div class="refsect2"
|
528
|
+
<div class="refsect2">
|
492
529
|
<a name="cairo-pattern-get-rgba"></a><h3>cairo_pattern_get_rgba ()</h3>
|
493
530
|
<pre class="programlisting"><a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> cairo_pattern_get_rgba (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
494
531
|
<em class="parameter"><code><span class="type">double</span> *red</code></em>,
|
@@ -508,38 +545,37 @@ Gets the solid color for a solid color pattern.
|
|
508
545
|
</tr>
|
509
546
|
<tr>
|
510
547
|
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
511
|
-
<td>return value for red component of color, or <a href="
|
548
|
+
<td>return value for red component of color, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
512
549
|
</td>
|
513
550
|
</tr>
|
514
551
|
<tr>
|
515
552
|
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
516
|
-
<td>return value for green component of color, or <a href="
|
553
|
+
<td>return value for green component of color, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
517
554
|
</td>
|
518
555
|
</tr>
|
519
556
|
<tr>
|
520
557
|
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
521
|
-
<td>return value for blue component of color, or <a href="
|
558
|
+
<td>return value for blue component of color, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
522
559
|
</td>
|
523
560
|
</tr>
|
524
561
|
<tr>
|
525
562
|
<td><p><span class="term"><em class="parameter"><code>alpha</code></em> :</span></p></td>
|
526
|
-
<td>return value for alpha component of color, or <a href="
|
563
|
+
<td>return value for alpha component of color, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
527
564
|
</td>
|
528
565
|
</tr>
|
529
566
|
<tr>
|
530
567
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
531
|
-
<td>
|
568
|
+
<td>
|
569
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a>, or
|
532
570
|
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a> if the pattern is not a solid
|
533
|
-
color pattern
|
534
|
-
|
535
|
-
</td>
|
571
|
+
color pattern.</td>
|
536
572
|
</tr>
|
537
573
|
</tbody>
|
538
574
|
</table></div>
|
539
575
|
<p class="since">Since 1.4</p>
|
540
576
|
</div>
|
541
577
|
<hr>
|
542
|
-
<div class="refsect2"
|
578
|
+
<div class="refsect2">
|
543
579
|
<a name="cairo-pattern-create-for-surface"></a><h3>cairo_pattern_create_for_surface ()</h3>
|
544
580
|
<pre class="programlisting"><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="returnvalue">cairo_pattern_t</span></a> * cairo_pattern_create_for_surface (<em class="parameter"><code><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> *surface</code></em>);</pre>
|
545
581
|
<p>
|
@@ -550,26 +586,24 @@ Create a new <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" t
|
|
550
586
|
<tbody>
|
551
587
|
<tr>
|
552
588
|
<td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
|
553
|
-
<td>the surface
|
554
|
-
</td>
|
589
|
+
<td>the surface</td>
|
555
590
|
</tr>
|
556
591
|
<tr>
|
557
592
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
558
|
-
<td>
|
593
|
+
<td>the newly created <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> if successful, or
|
559
594
|
an error pattern in case of no memory. The caller owns the
|
560
595
|
returned object and should call <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-destroy" title="cairo_pattern_destroy ()"><code class="function">cairo_pattern_destroy()</code></a> when
|
561
596
|
finished with it.
|
562
|
-
|
563
597
|
This function will always return a valid pointer, but if an error
|
564
598
|
occurred the pattern status will be set to an error. To inspect
|
565
|
-
the status of a pattern use <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-status" title="cairo_pattern_status ()"><code class="function">cairo_pattern_status()</code></a
|
566
|
-
</td>
|
599
|
+
the status of a pattern use <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-status" title="cairo_pattern_status ()"><code class="function">cairo_pattern_status()</code></a>.</td>
|
567
600
|
</tr>
|
568
601
|
</tbody>
|
569
602
|
</table></div>
|
603
|
+
<p class="since">Since 1.0</p>
|
570
604
|
</div>
|
571
605
|
<hr>
|
572
|
-
<div class="refsect2"
|
606
|
+
<div class="refsect2">
|
573
607
|
<a name="cairo-pattern-get-surface"></a><h3>cairo_pattern_get_surface ()</h3>
|
574
608
|
<pre class="programlisting"><a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> cairo_pattern_get_surface (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
575
609
|
<em class="parameter"><code><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> **surface</code></em>);</pre>
|
@@ -588,23 +622,22 @@ Gets the surface of a surface pattern. The reference returned in
|
|
588
622
|
</tr>
|
589
623
|
<tr>
|
590
624
|
<td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
|
591
|
-
<td>return value for surface of pattern, or <a href="
|
625
|
+
<td>return value for surface of pattern, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
592
626
|
</td>
|
593
627
|
</tr>
|
594
628
|
<tr>
|
595
629
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
596
|
-
<td>
|
630
|
+
<td>
|
631
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a>, or
|
597
632
|
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a> if the pattern is not a surface
|
598
|
-
pattern
|
599
|
-
|
600
|
-
</td>
|
633
|
+
pattern.</td>
|
601
634
|
</tr>
|
602
635
|
</tbody>
|
603
636
|
</table></div>
|
604
637
|
<p class="since">Since 1.4</p>
|
605
638
|
</div>
|
606
639
|
<hr>
|
607
|
-
<div class="refsect2"
|
640
|
+
<div class="refsect2">
|
608
641
|
<a name="cairo-pattern-create-linear"></a><h3>cairo_pattern_create_linear ()</h3>
|
609
642
|
<pre class="programlisting"><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="returnvalue">cairo_pattern_t</span></a> * cairo_pattern_create_linear (<em class="parameter"><code><span class="type">double</span> x0</code></em>,
|
610
643
|
<em class="parameter"><code><span class="type">double</span> y0</code></em>,
|
@@ -627,41 +660,36 @@ between the spaces can be changed with <a class="link" href="cairo-cairo-pattern
|
|
627
660
|
<tbody>
|
628
661
|
<tr>
|
629
662
|
<td><p><span class="term"><em class="parameter"><code>x0</code></em> :</span></p></td>
|
630
|
-
<td>x coordinate of the start point
|
631
|
-
</td>
|
663
|
+
<td>x coordinate of the start point</td>
|
632
664
|
</tr>
|
633
665
|
<tr>
|
634
666
|
<td><p><span class="term"><em class="parameter"><code>y0</code></em> :</span></p></td>
|
635
|
-
<td>y coordinate of the start point
|
636
|
-
</td>
|
667
|
+
<td>y coordinate of the start point</td>
|
637
668
|
</tr>
|
638
669
|
<tr>
|
639
670
|
<td><p><span class="term"><em class="parameter"><code>x1</code></em> :</span></p></td>
|
640
|
-
<td>x coordinate of the end point
|
641
|
-
</td>
|
671
|
+
<td>x coordinate of the end point</td>
|
642
672
|
</tr>
|
643
673
|
<tr>
|
644
674
|
<td><p><span class="term"><em class="parameter"><code>y1</code></em> :</span></p></td>
|
645
|
-
<td>y coordinate of the end point
|
646
|
-
</td>
|
675
|
+
<td>y coordinate of the end point</td>
|
647
676
|
</tr>
|
648
677
|
<tr>
|
649
678
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
650
|
-
<td>
|
679
|
+
<td>the newly created <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> if successful, or
|
651
680
|
an error pattern in case of no memory. The caller owns the
|
652
681
|
returned object and should call <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-destroy" title="cairo_pattern_destroy ()"><code class="function">cairo_pattern_destroy()</code></a> when
|
653
682
|
finished with it.
|
654
|
-
|
655
683
|
This function will always return a valid pointer, but if an error
|
656
684
|
occurred the pattern status will be set to an error. To inspect
|
657
|
-
the status of a pattern use <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-status" title="cairo_pattern_status ()"><code class="function">cairo_pattern_status()</code></a
|
658
|
-
</td>
|
685
|
+
the status of a pattern use <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-status" title="cairo_pattern_status ()"><code class="function">cairo_pattern_status()</code></a>.</td>
|
659
686
|
</tr>
|
660
687
|
</tbody>
|
661
688
|
</table></div>
|
689
|
+
<p class="since">Since 1.0</p>
|
662
690
|
</div>
|
663
691
|
<hr>
|
664
|
-
<div class="refsect2"
|
692
|
+
<div class="refsect2">
|
665
693
|
<a name="cairo-pattern-get-linear-points"></a><h3>cairo_pattern_get_linear_points ()</h3>
|
666
694
|
<pre class="programlisting"><a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> cairo_pattern_get_linear_points (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
667
695
|
<em class="parameter"><code><span class="type">double</span> *x0</code></em>,
|
@@ -681,38 +709,37 @@ Gets the gradient endpoints for a linear gradient.
|
|
681
709
|
</tr>
|
682
710
|
<tr>
|
683
711
|
<td><p><span class="term"><em class="parameter"><code>x0</code></em> :</span></p></td>
|
684
|
-
<td>return value for the x coordinate of the first point, or <a href="
|
712
|
+
<td>return value for the x coordinate of the first point, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
685
713
|
</td>
|
686
714
|
</tr>
|
687
715
|
<tr>
|
688
716
|
<td><p><span class="term"><em class="parameter"><code>y0</code></em> :</span></p></td>
|
689
|
-
<td>return value for the y coordinate of the first point, or <a href="
|
717
|
+
<td>return value for the y coordinate of the first point, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
690
718
|
</td>
|
691
719
|
</tr>
|
692
720
|
<tr>
|
693
721
|
<td><p><span class="term"><em class="parameter"><code>x1</code></em> :</span></p></td>
|
694
|
-
<td>return value for the x coordinate of the second point, or <a href="
|
722
|
+
<td>return value for the x coordinate of the second point, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
695
723
|
</td>
|
696
724
|
</tr>
|
697
725
|
<tr>
|
698
726
|
<td><p><span class="term"><em class="parameter"><code>y1</code></em> :</span></p></td>
|
699
|
-
<td>return value for the y coordinate of the second point, or <a href="
|
727
|
+
<td>return value for the y coordinate of the second point, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
700
728
|
</td>
|
701
729
|
</tr>
|
702
730
|
<tr>
|
703
731
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
704
|
-
<td>
|
732
|
+
<td>
|
733
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a>, or
|
705
734
|
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a> if <em class="parameter"><code>pattern</code></em> is not a linear
|
706
|
-
gradient pattern
|
707
|
-
|
708
|
-
</td>
|
735
|
+
gradient pattern.</td>
|
709
736
|
</tr>
|
710
737
|
</tbody>
|
711
738
|
</table></div>
|
712
739
|
<p class="since">Since 1.4</p>
|
713
740
|
</div>
|
714
741
|
<hr>
|
715
|
-
<div class="refsect2"
|
742
|
+
<div class="refsect2">
|
716
743
|
<a name="cairo-pattern-create-radial"></a><h3>cairo_pattern_create_radial ()</h3>
|
717
744
|
<pre class="programlisting"><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="returnvalue">cairo_pattern_t</span></a> * cairo_pattern_create_radial (<em class="parameter"><code><span class="type">double</span> cx0</code></em>,
|
718
745
|
<em class="parameter"><code><span class="type">double</span> cy0</code></em>,
|
@@ -737,51 +764,44 @@ between the spaces can be changed with <a class="link" href="cairo-cairo-pattern
|
|
737
764
|
<tbody>
|
738
765
|
<tr>
|
739
766
|
<td><p><span class="term"><em class="parameter"><code>cx0</code></em> :</span></p></td>
|
740
|
-
<td>x coordinate for the center of the start circle
|
741
|
-
</td>
|
767
|
+
<td>x coordinate for the center of the start circle</td>
|
742
768
|
</tr>
|
743
769
|
<tr>
|
744
770
|
<td><p><span class="term"><em class="parameter"><code>cy0</code></em> :</span></p></td>
|
745
|
-
<td>y coordinate for the center of the start circle
|
746
|
-
</td>
|
771
|
+
<td>y coordinate for the center of the start circle</td>
|
747
772
|
</tr>
|
748
773
|
<tr>
|
749
774
|
<td><p><span class="term"><em class="parameter"><code>radius0</code></em> :</span></p></td>
|
750
|
-
<td>radius of the start circle
|
751
|
-
</td>
|
775
|
+
<td>radius of the start circle</td>
|
752
776
|
</tr>
|
753
777
|
<tr>
|
754
778
|
<td><p><span class="term"><em class="parameter"><code>cx1</code></em> :</span></p></td>
|
755
|
-
<td>x coordinate for the center of the end circle
|
756
|
-
</td>
|
779
|
+
<td>x coordinate for the center of the end circle</td>
|
757
780
|
</tr>
|
758
781
|
<tr>
|
759
782
|
<td><p><span class="term"><em class="parameter"><code>cy1</code></em> :</span></p></td>
|
760
|
-
<td>y coordinate for the center of the end circle
|
761
|
-
</td>
|
783
|
+
<td>y coordinate for the center of the end circle</td>
|
762
784
|
</tr>
|
763
785
|
<tr>
|
764
786
|
<td><p><span class="term"><em class="parameter"><code>radius1</code></em> :</span></p></td>
|
765
|
-
<td>radius of the end circle
|
766
|
-
</td>
|
787
|
+
<td>radius of the end circle</td>
|
767
788
|
</tr>
|
768
789
|
<tr>
|
769
790
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
770
|
-
<td>
|
791
|
+
<td>the newly created <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> if successful, or
|
771
792
|
an error pattern in case of no memory. The caller owns the
|
772
793
|
returned object and should call <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-destroy" title="cairo_pattern_destroy ()"><code class="function">cairo_pattern_destroy()</code></a> when
|
773
794
|
finished with it.
|
774
|
-
|
775
795
|
This function will always return a valid pointer, but if an error
|
776
796
|
occurred the pattern status will be set to an error. To inspect
|
777
|
-
the status of a pattern use <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-status" title="cairo_pattern_status ()"><code class="function">cairo_pattern_status()</code></a
|
778
|
-
</td>
|
797
|
+
the status of a pattern use <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-status" title="cairo_pattern_status ()"><code class="function">cairo_pattern_status()</code></a>.</td>
|
779
798
|
</tr>
|
780
799
|
</tbody>
|
781
800
|
</table></div>
|
801
|
+
<p class="since">Since 1.0</p>
|
782
802
|
</div>
|
783
803
|
<hr>
|
784
|
-
<div class="refsect2"
|
804
|
+
<div class="refsect2">
|
785
805
|
<a name="cairo-pattern-get-radial-circles"></a><h3>cairo_pattern_get_radial_circles ()</h3>
|
786
806
|
<pre class="programlisting"><a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> cairo_pattern_get_radial_circles (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
787
807
|
<em class="parameter"><code><span class="type">double</span> *x0</code></em>,
|
@@ -804,48 +824,839 @@ specified as a center coordinate and a radius.
|
|
804
824
|
</tr>
|
805
825
|
<tr>
|
806
826
|
<td><p><span class="term"><em class="parameter"><code>x0</code></em> :</span></p></td>
|
807
|
-
<td>return value for the x coordinate of the center of the first circle, or <a href="
|
827
|
+
<td>return value for the x coordinate of the center of the first circle, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
808
828
|
</td>
|
809
829
|
</tr>
|
810
830
|
<tr>
|
811
831
|
<td><p><span class="term"><em class="parameter"><code>y0</code></em> :</span></p></td>
|
812
|
-
<td>return value for the y coordinate of the center of the first circle, or <a href="
|
832
|
+
<td>return value for the y coordinate of the center of the first circle, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
813
833
|
</td>
|
814
834
|
</tr>
|
815
835
|
<tr>
|
816
836
|
<td><p><span class="term"><em class="parameter"><code>r0</code></em> :</span></p></td>
|
817
|
-
<td>return value for the radius of the first circle, or <a href="
|
837
|
+
<td>return value for the radius of the first circle, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
818
838
|
</td>
|
819
839
|
</tr>
|
820
840
|
<tr>
|
821
841
|
<td><p><span class="term"><em class="parameter"><code>x1</code></em> :</span></p></td>
|
822
|
-
<td>return value for the x coordinate of the center of the second circle, or <a href="
|
842
|
+
<td>return value for the x coordinate of the center of the second circle, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
823
843
|
</td>
|
824
844
|
</tr>
|
825
845
|
<tr>
|
826
846
|
<td><p><span class="term"><em class="parameter"><code>y1</code></em> :</span></p></td>
|
827
|
-
<td>return value for the y coordinate of the center of the second circle, or <a href="
|
847
|
+
<td>return value for the y coordinate of the center of the second circle, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
828
848
|
</td>
|
829
849
|
</tr>
|
830
850
|
<tr>
|
831
851
|
<td><p><span class="term"><em class="parameter"><code>r1</code></em> :</span></p></td>
|
832
|
-
<td>return value for the radius of the second circle, or <a href="
|
852
|
+
<td>return value for the radius of the second circle, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
833
853
|
</td>
|
834
854
|
</tr>
|
835
855
|
<tr>
|
836
856
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
837
|
-
<td>
|
857
|
+
<td>
|
858
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a>, or
|
838
859
|
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a> if <em class="parameter"><code>pattern</code></em> is not a radial
|
839
|
-
gradient pattern
|
860
|
+
gradient pattern.</td>
|
861
|
+
</tr>
|
862
|
+
</tbody>
|
863
|
+
</table></div>
|
864
|
+
<p class="since">Since 1.4</p>
|
865
|
+
</div>
|
866
|
+
<hr>
|
867
|
+
<div class="refsect2">
|
868
|
+
<a name="cairo-pattern-create-mesh"></a><h3>cairo_pattern_create_mesh ()</h3>
|
869
|
+
<pre class="programlisting"><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="returnvalue">cairo_pattern_t</span></a> * cairo_pattern_create_mesh (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
870
|
+
<p>
|
871
|
+
Create a new mesh pattern.
|
872
|
+
</p>
|
873
|
+
<p>
|
874
|
+
Mesh patterns are tensor-product patch meshes (type 7 shadings in
|
875
|
+
PDF). Mesh patterns may also be used to create other types of
|
876
|
+
shadings that are special cases of tensor-product patch meshes such
|
877
|
+
as Coons patch meshes (type 6 shading in PDF) and Gouraud-shaded
|
878
|
+
triangle meshes (type 4 and 5 shadings in PDF).
|
879
|
+
</p>
|
880
|
+
<p>
|
881
|
+
Mesh patterns consist of one or more tensor-product patches, which
|
882
|
+
should be defined before using the mesh pattern. Using a mesh
|
883
|
+
pattern with a partially defined patch as source or mask will put
|
884
|
+
the context in an error status with a status of
|
885
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-MESH-CONSTRUCTION:CAPS"><code class="literal">CAIRO_STATUS_INVALID_MESH_CONSTRUCTION</code></a>.
|
886
|
+
</p>
|
887
|
+
<p>
|
888
|
+
A tensor-product patch is defined by 4 Bézier curves (side 0, 1, 2,
|
889
|
+
3) and by 4 additional control points (P0, P1, P2, P3) that provide
|
890
|
+
further control over the patch and complete the definition of the
|
891
|
+
tensor-product patch. The corner C0 is the first point of the
|
892
|
+
patch.
|
893
|
+
</p>
|
894
|
+
<p>
|
895
|
+
Degenerate sides are permitted so straight lines may be used. A
|
896
|
+
zero length line on one side may be used to create 3 sided patches.
|
897
|
+
</p>
|
898
|
+
<p>
|
899
|
+
</p>
|
900
|
+
<div class="informalexample"><pre class="screen">
|
901
|
+
C1 Side 1 C2
|
902
|
+
+---------------+
|
903
|
+
| |
|
904
|
+
| P1 P2 |
|
905
|
+
| |
|
906
|
+
Side 0 | | Side 2
|
907
|
+
| |
|
908
|
+
| |
|
909
|
+
| P0 P3 |
|
910
|
+
| |
|
911
|
+
+---------------+
|
912
|
+
C0 Side 3 C3
|
913
|
+
</pre></div>
|
914
|
+
<p>
|
915
|
+
</p>
|
916
|
+
<p>
|
917
|
+
Each patch is constructed by first calling
|
918
|
+
<a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-begin-patch" title="cairo_mesh_pattern_begin_patch ()"><code class="function">cairo_mesh_pattern_begin_patch()</code></a>, then <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-move-to" title="cairo_mesh_pattern_move_to ()"><code class="function">cairo_mesh_pattern_move_to()</code></a>
|
919
|
+
to specify the first point in the patch (C0). Then the sides are
|
920
|
+
specified with calls to <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-curve-to" title="cairo_mesh_pattern_curve_to ()"><code class="function">cairo_mesh_pattern_curve_to()</code></a> and
|
921
|
+
<a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-line-to" title="cairo_mesh_pattern_line_to ()"><code class="function">cairo_mesh_pattern_line_to()</code></a>.
|
922
|
+
</p>
|
923
|
+
<p>
|
924
|
+
The four additional control points (P0, P1, P2, P3) in a patch can
|
925
|
+
be specified with <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-set-control-point" title="cairo_mesh_pattern_set_control_point ()"><code class="function">cairo_mesh_pattern_set_control_point()</code></a>.
|
926
|
+
</p>
|
927
|
+
<p>
|
928
|
+
At each corner of the patch (C0, C1, C2, C3) a color may be
|
929
|
+
specified with <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-set-corner-color-rgb" title="cairo_mesh_pattern_set_corner_color_rgb ()"><code class="function">cairo_mesh_pattern_set_corner_color_rgb()</code></a> or
|
930
|
+
<a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-set-corner-color-rgba" title="cairo_mesh_pattern_set_corner_color_rgba ()"><code class="function">cairo_mesh_pattern_set_corner_color_rgba()</code></a>. Any corner whose color
|
931
|
+
is not explicitly specified defaults to transparent black.
|
932
|
+
</p>
|
933
|
+
<p>
|
934
|
+
A Coons patch is a special case of the tensor-product patch where
|
935
|
+
the control points are implicitly defined by the sides of the
|
936
|
+
patch. The default value for any control point not specified is the
|
937
|
+
implicit value for a Coons patch, i.e. if no control points are
|
938
|
+
specified the patch is a Coons patch.
|
939
|
+
</p>
|
940
|
+
<p>
|
941
|
+
A triangle is a special case of the tensor-product patch where the
|
942
|
+
control points are implicitly defined by the sides of the patch,
|
943
|
+
all the sides are lines and one of them has length 0, i.e. if the
|
944
|
+
patch is specified using just 3 lines, it is a triangle. If the
|
945
|
+
corners connected by the 0-length side have the same color, the
|
946
|
+
patch is a Gouraud-shaded triangle.
|
947
|
+
</p>
|
948
|
+
<p>
|
949
|
+
Patches may be oriented differently to the above diagram. For
|
950
|
+
example the first point could be at the top left. The diagram only
|
951
|
+
shows the relationship between the sides, corners and control
|
952
|
+
points. Regardless of where the first point is located, when
|
953
|
+
specifying colors, corner 0 will always be the first point, corner
|
954
|
+
1 the point between side 0 and side 1 etc.
|
955
|
+
</p>
|
956
|
+
<p>
|
957
|
+
Calling <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-end-patch" title="cairo_mesh_pattern_end_patch ()"><code class="function">cairo_mesh_pattern_end_patch()</code></a> completes the current
|
958
|
+
patch. If less than 4 sides have been defined, the first missing
|
959
|
+
side is defined as a line from the current point to the first point
|
960
|
+
of the patch (C0) and the other sides are degenerate lines from C0
|
961
|
+
to C0. The corners between the added sides will all be coincident
|
962
|
+
with C0 of the patch and their color will be set to be the same as
|
963
|
+
the color of C0.
|
964
|
+
</p>
|
965
|
+
<p>
|
966
|
+
Additional patches may be added with additional calls to
|
967
|
+
<a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-begin-patch" title="cairo_mesh_pattern_begin_patch ()"><code class="function">cairo_mesh_pattern_begin_patch()</code></a>/<a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-end-patch" title="cairo_mesh_pattern_end_patch ()"><code class="function">cairo_mesh_pattern_end_patch()</code></a>.
|
968
|
+
</p>
|
969
|
+
<p>
|
970
|
+
</p>
|
971
|
+
<div class="informalexample">
|
972
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
973
|
+
<tbody>
|
974
|
+
<tr>
|
975
|
+
<td class="listing_lines" align="right"><pre>1
|
976
|
+
2
|
977
|
+
3
|
978
|
+
4
|
979
|
+
5
|
980
|
+
6
|
981
|
+
7
|
982
|
+
8
|
983
|
+
9
|
984
|
+
10
|
985
|
+
11
|
986
|
+
12
|
987
|
+
13
|
988
|
+
14
|
989
|
+
15
|
990
|
+
16
|
991
|
+
17
|
992
|
+
18
|
993
|
+
19
|
994
|
+
20
|
995
|
+
21
|
996
|
+
22
|
997
|
+
23
|
998
|
+
24</pre></td>
|
999
|
+
<td class="listing_code"><pre class="programlisting">cairo_pattern_t <span class="gtkdoc opt">*</span>pattern <span class="gtkdoc opt">=</span> <span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-pattern-create-mesh">cairo_pattern_create_mesh</a></span> <span class="gtkdoc opt">();</span>
|
1000
|
+
|
1001
|
+
<span class="comment">/* Add a Coons patch */</span>
|
1002
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-begin-patch">cairo_mesh_pattern_begin_patch</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">);</span>
|
1003
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-move-to">cairo_mesh_pattern_move_to</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">);</span>
|
1004
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-curve-to">cairo_mesh_pattern_curve_to</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">,</span> <span class="number">30</span><span class="gtkdoc opt">, -</span><span class="number">30</span><span class="gtkdoc opt">,</span> <span class="number">60</span><span class="gtkdoc opt">,</span> <span class="number">30</span><span class="gtkdoc opt">,</span> <span class="number">100</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">);</span>
|
1005
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-curve-to">cairo_mesh_pattern_curve_to</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">,</span> <span class="number">60</span><span class="gtkdoc opt">,</span> <span class="number">30</span><span class="gtkdoc opt">,</span> <span class="number">130</span><span class="gtkdoc opt">,</span> <span class="number">60</span><span class="gtkdoc opt">,</span> <span class="number">100</span><span class="gtkdoc opt">,</span> <span class="number">100</span><span class="gtkdoc opt">);</span>
|
1006
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-curve-to">cairo_mesh_pattern_curve_to</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">,</span> <span class="number">60</span><span class="gtkdoc opt">,</span> <span class="number">70</span><span class="gtkdoc opt">,</span> <span class="number">30</span><span class="gtkdoc opt">,</span> <span class="number">130</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> <span class="number">100</span><span class="gtkdoc opt">);</span>
|
1007
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-curve-to">cairo_mesh_pattern_curve_to</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">,</span> <span class="number">30</span><span class="gtkdoc opt">,</span> <span class="number">70</span><span class="gtkdoc opt">, -</span><span class="number">30</span><span class="gtkdoc opt">,</span> <span class="number">30</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">);</span>
|
1008
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-set-corner-color-rgb">cairo_mesh_pattern_set_corner_color_rgb</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> <span class="number">1</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">);</span>
|
1009
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-set-corner-color-rgb">cairo_mesh_pattern_set_corner_color_rgb</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">,</span> <span class="number">1</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> <span class="number">1</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">);</span>
|
1010
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-set-corner-color-rgb">cairo_mesh_pattern_set_corner_color_rgb</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">,</span> <span class="number">2</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> <span class="number">1</span><span class="gtkdoc opt">);</span>
|
1011
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-set-corner-color-rgb">cairo_mesh_pattern_set_corner_color_rgb</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">,</span> <span class="number">3</span><span class="gtkdoc opt">,</span> <span class="number">1</span><span class="gtkdoc opt">,</span> <span class="number">1</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">);</span>
|
1012
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-end-patch">cairo_mesh_pattern_end_patch</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">);</span>
|
1013
|
+
|
1014
|
+
<span class="comment">/* Add a Gouraud-shaded triangle */</span>
|
1015
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-begin-patch">cairo_mesh_pattern_begin_patch</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">)</span>
|
1016
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-move-to">cairo_mesh_pattern_move_to</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">,</span> <span class="number">100</span><span class="gtkdoc opt">,</span> <span class="number">100</span><span class="gtkdoc opt">);</span>
|
1017
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-line-to">cairo_mesh_pattern_line_to</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">,</span> <span class="number">130</span><span class="gtkdoc opt">,</span> <span class="number">130</span><span class="gtkdoc opt">);</span>
|
1018
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-line-to">cairo_mesh_pattern_line_to</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">,</span> <span class="number">130</span><span class="gtkdoc opt">,</span> <span class="number">70</span><span class="gtkdoc opt">);</span>
|
1019
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-set-corner-color-rgb">cairo_mesh_pattern_set_corner_color_rgb</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> <span class="number">1</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">);</span>
|
1020
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-set-corner-color-rgb">cairo_mesh_pattern_set_corner_color_rgb</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">,</span> <span class="number">1</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> <span class="number">1</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">);</span>
|
1021
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-set-corner-color-rgb">cairo_mesh_pattern_set_corner_color_rgb</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">,</span> <span class="number">2</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> <span class="number">1</span><span class="gtkdoc opt">);</span>
|
1022
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-mesh-pattern-end-patch">cairo_mesh_pattern_end_patch</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">)</span></pre></td>
|
1023
|
+
</tr>
|
1024
|
+
</tbody>
|
1025
|
+
</table>
|
1026
|
+
</div>
|
840
1027
|
|
1028
|
+
<p>
|
1029
|
+
</p>
|
1030
|
+
<p>
|
1031
|
+
When two patches overlap, the last one that has been added is drawn
|
1032
|
+
over the first one.
|
1033
|
+
</p>
|
1034
|
+
<p>
|
1035
|
+
When a patch folds over itself, points are sorted depending on
|
1036
|
+
their parameter coordinates inside the patch. The v coordinate
|
1037
|
+
ranges from 0 to 1 when moving from side 3 to side 1; the u
|
1038
|
+
coordinate ranges from 0 to 1 when going from side 0 to side
|
1039
|
+
2. Points with higher v coordinate hide points with lower v
|
1040
|
+
coordinate. When two points have the same v coordinate, the one
|
1041
|
+
with higher u coordinate is above. This means that points nearer to
|
1042
|
+
side 1 are above points nearer to side 3; when this is not
|
1043
|
+
sufficient to decide which point is above (for example when both
|
1044
|
+
points belong to side 1 or side 3) points nearer to side 2 are
|
1045
|
+
above points nearer to side 0.
|
1046
|
+
</p>
|
1047
|
+
<p>
|
1048
|
+
For a complete definition of tensor-product patches, see the PDF
|
1049
|
+
specification (ISO32000), which describes the parametrization in
|
1050
|
+
detail.
|
1051
|
+
</p>
|
1052
|
+
<p>
|
1053
|
+
Note: The coordinates are always in pattern space. For a new
|
1054
|
+
pattern, pattern space is identical to user space, but the
|
1055
|
+
relationship between the spaces can be changed with
|
1056
|
+
<a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-set-matrix" title="cairo_pattern_set_matrix ()"><code class="function">cairo_pattern_set_matrix()</code></a>.
|
1057
|
+
</p>
|
1058
|
+
<div class="variablelist"><table border="0">
|
1059
|
+
<col align="left" valign="top">
|
1060
|
+
<tbody><tr>
|
1061
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1062
|
+
<td>the newly created <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> if successful, or
|
1063
|
+
an error pattern in case of no memory. The caller owns the returned
|
1064
|
+
object and should call <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-destroy" title="cairo_pattern_destroy ()"><code class="function">cairo_pattern_destroy()</code></a> when finished with
|
1065
|
+
it.
|
1066
|
+
This function will always return a valid pointer, but if an error
|
1067
|
+
occurred the pattern status will be set to an error. To inspect the
|
1068
|
+
status of a pattern use <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-status" title="cairo_pattern_status ()"><code class="function">cairo_pattern_status()</code></a>.</td>
|
1069
|
+
</tr></tbody>
|
1070
|
+
</table></div>
|
1071
|
+
<p class="since">Since 1.12</p>
|
1072
|
+
</div>
|
1073
|
+
<hr>
|
1074
|
+
<div class="refsect2">
|
1075
|
+
<a name="cairo-mesh-pattern-begin-patch"></a><h3>cairo_mesh_pattern_begin_patch ()</h3>
|
1076
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_mesh_pattern_begin_patch (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>);</pre>
|
1077
|
+
<p>
|
1078
|
+
Begin a patch in a mesh pattern.
|
1079
|
+
</p>
|
1080
|
+
<p>
|
1081
|
+
After calling this function, the patch shape should be defined with
|
1082
|
+
<a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-move-to" title="cairo_mesh_pattern_move_to ()"><code class="function">cairo_mesh_pattern_move_to()</code></a>, <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-line-to" title="cairo_mesh_pattern_line_to ()"><code class="function">cairo_mesh_pattern_line_to()</code></a> and
|
1083
|
+
<a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-curve-to" title="cairo_mesh_pattern_curve_to ()"><code class="function">cairo_mesh_pattern_curve_to()</code></a>.
|
1084
|
+
</p>
|
1085
|
+
<p>
|
1086
|
+
After defining the patch, <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-end-patch" title="cairo_mesh_pattern_end_patch ()"><code class="function">cairo_mesh_pattern_end_patch()</code></a> must be
|
1087
|
+
called before using <em class="parameter"><code>pattern</code></em> as a source or mask.
|
1088
|
+
</p>
|
1089
|
+
<p>
|
1090
|
+
Note: If <em class="parameter"><code>pattern</code></em> is not a mesh pattern then <em class="parameter"><code>pattern</code></em> will be put
|
1091
|
+
into an error status with a status of
|
1092
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a>. If <em class="parameter"><code>pattern</code></em> already has a
|
1093
|
+
current patch, it will be put into an error status with a status of
|
1094
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-MESH-CONSTRUCTION:CAPS"><code class="literal">CAIRO_STATUS_INVALID_MESH_CONSTRUCTION</code></a>.
|
1095
|
+
</p>
|
1096
|
+
<div class="variablelist"><table border="0">
|
1097
|
+
<col align="left" valign="top">
|
1098
|
+
<tbody><tr>
|
1099
|
+
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
|
1100
|
+
<td>a <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a>
|
841
1101
|
</td>
|
1102
|
+
</tr></tbody>
|
1103
|
+
</table></div>
|
1104
|
+
<p class="since">Since 1.12</p>
|
1105
|
+
</div>
|
1106
|
+
<hr>
|
1107
|
+
<div class="refsect2">
|
1108
|
+
<a name="cairo-mesh-pattern-end-patch"></a><h3>cairo_mesh_pattern_end_patch ()</h3>
|
1109
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_mesh_pattern_end_patch (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>);</pre>
|
1110
|
+
<p>
|
1111
|
+
Indicates the end of the current patch in a mesh pattern.
|
1112
|
+
</p>
|
1113
|
+
<p>
|
1114
|
+
If the current patch has less than 4 sides, it is closed with a
|
1115
|
+
straight line from the current point to the first point of the
|
1116
|
+
patch as if <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-line-to" title="cairo_mesh_pattern_line_to ()"><code class="function">cairo_mesh_pattern_line_to()</code></a> was used.
|
1117
|
+
</p>
|
1118
|
+
<p>
|
1119
|
+
Note: If <em class="parameter"><code>pattern</code></em> is not a mesh pattern then <em class="parameter"><code>pattern</code></em> will be put
|
1120
|
+
into an error status with a status of
|
1121
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a>. If <em class="parameter"><code>pattern</code></em> has no current
|
1122
|
+
patch or the current patch has no current point, <em class="parameter"><code>pattern</code></em> will be
|
1123
|
+
put into an error status with a status of
|
1124
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-MESH-CONSTRUCTION:CAPS"><code class="literal">CAIRO_STATUS_INVALID_MESH_CONSTRUCTION</code></a>.
|
1125
|
+
</p>
|
1126
|
+
<div class="variablelist"><table border="0">
|
1127
|
+
<col align="left" valign="top">
|
1128
|
+
<tbody><tr>
|
1129
|
+
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
|
1130
|
+
<td>a <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a>
|
1131
|
+
</td>
|
1132
|
+
</tr></tbody>
|
1133
|
+
</table></div>
|
1134
|
+
<p class="since">Since 1.12</p>
|
1135
|
+
</div>
|
1136
|
+
<hr>
|
1137
|
+
<div class="refsect2">
|
1138
|
+
<a name="cairo-mesh-pattern-move-to"></a><h3>cairo_mesh_pattern_move_to ()</h3>
|
1139
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_mesh_pattern_move_to (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
1140
|
+
<em class="parameter"><code><span class="type">double</span> x</code></em>,
|
1141
|
+
<em class="parameter"><code><span class="type">double</span> y</code></em>);</pre>
|
1142
|
+
<p>
|
1143
|
+
Define the first point of the current patch in a mesh pattern.
|
1144
|
+
</p>
|
1145
|
+
<p>
|
1146
|
+
After this call the current point will be (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>).
|
1147
|
+
</p>
|
1148
|
+
<p>
|
1149
|
+
Note: If <em class="parameter"><code>pattern</code></em> is not a mesh pattern then <em class="parameter"><code>pattern</code></em> will be put
|
1150
|
+
into an error status with a status of
|
1151
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a>. If <em class="parameter"><code>pattern</code></em> has no current
|
1152
|
+
patch or the current patch already has at least one side, <em class="parameter"><code>pattern</code></em>
|
1153
|
+
will be put into an error status with a status of
|
1154
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-MESH-CONSTRUCTION:CAPS"><code class="literal">CAIRO_STATUS_INVALID_MESH_CONSTRUCTION</code></a>.
|
1155
|
+
</p>
|
1156
|
+
<div class="variablelist"><table border="0">
|
1157
|
+
<col align="left" valign="top">
|
1158
|
+
<tbody>
|
1159
|
+
<tr>
|
1160
|
+
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
|
1161
|
+
<td>a <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a>
|
1162
|
+
</td>
|
1163
|
+
</tr>
|
1164
|
+
<tr>
|
1165
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1166
|
+
<td>the X coordinate of the new position</td>
|
1167
|
+
</tr>
|
1168
|
+
<tr>
|
1169
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1170
|
+
<td>the Y coordinate of the new position</td>
|
842
1171
|
</tr>
|
843
1172
|
</tbody>
|
844
1173
|
</table></div>
|
845
|
-
<p class="since">Since 1.
|
1174
|
+
<p class="since">Since 1.12</p>
|
1175
|
+
</div>
|
1176
|
+
<hr>
|
1177
|
+
<div class="refsect2">
|
1178
|
+
<a name="cairo-mesh-pattern-line-to"></a><h3>cairo_mesh_pattern_line_to ()</h3>
|
1179
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_mesh_pattern_line_to (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
1180
|
+
<em class="parameter"><code><span class="type">double</span> x</code></em>,
|
1181
|
+
<em class="parameter"><code><span class="type">double</span> y</code></em>);</pre>
|
1182
|
+
<p>
|
1183
|
+
Adds a line to the current patch from the current point to position
|
1184
|
+
(<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>) in pattern-space coordinates.
|
1185
|
+
</p>
|
1186
|
+
<p>
|
1187
|
+
If there is no current point before the call to
|
1188
|
+
<a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-line-to" title="cairo_mesh_pattern_line_to ()"><code class="function">cairo_mesh_pattern_line_to()</code></a> this function will behave as
|
1189
|
+
cairo_mesh_pattern_move_to(<em class="parameter"><code>pattern</code></em>, <em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>).
|
1190
|
+
</p>
|
1191
|
+
<p>
|
1192
|
+
After this call the current point will be (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>).
|
1193
|
+
</p>
|
1194
|
+
<p>
|
1195
|
+
Note: If <em class="parameter"><code>pattern</code></em> is not a mesh pattern then <em class="parameter"><code>pattern</code></em> will be put
|
1196
|
+
into an error status with a status of
|
1197
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a>. If <em class="parameter"><code>pattern</code></em> has no current
|
1198
|
+
patch or the current patch already has 4 sides, <em class="parameter"><code>pattern</code></em> will be
|
1199
|
+
put into an error status with a status of
|
1200
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-MESH-CONSTRUCTION:CAPS"><code class="literal">CAIRO_STATUS_INVALID_MESH_CONSTRUCTION</code></a>.
|
1201
|
+
</p>
|
1202
|
+
<div class="variablelist"><table border="0">
|
1203
|
+
<col align="left" valign="top">
|
1204
|
+
<tbody>
|
1205
|
+
<tr>
|
1206
|
+
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
|
1207
|
+
<td>a <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a>
|
1208
|
+
</td>
|
1209
|
+
</tr>
|
1210
|
+
<tr>
|
1211
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1212
|
+
<td>the X coordinate of the end of the new line</td>
|
1213
|
+
</tr>
|
1214
|
+
<tr>
|
1215
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1216
|
+
<td>the Y coordinate of the end of the new line</td>
|
1217
|
+
</tr>
|
1218
|
+
</tbody>
|
1219
|
+
</table></div>
|
1220
|
+
<p class="since">Since 1.12</p>
|
1221
|
+
</div>
|
1222
|
+
<hr>
|
1223
|
+
<div class="refsect2">
|
1224
|
+
<a name="cairo-mesh-pattern-curve-to"></a><h3>cairo_mesh_pattern_curve_to ()</h3>
|
1225
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_mesh_pattern_curve_to (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
1226
|
+
<em class="parameter"><code><span class="type">double</span> x1</code></em>,
|
1227
|
+
<em class="parameter"><code><span class="type">double</span> y1</code></em>,
|
1228
|
+
<em class="parameter"><code><span class="type">double</span> x2</code></em>,
|
1229
|
+
<em class="parameter"><code><span class="type">double</span> y2</code></em>,
|
1230
|
+
<em class="parameter"><code><span class="type">double</span> x3</code></em>,
|
1231
|
+
<em class="parameter"><code><span class="type">double</span> y3</code></em>);</pre>
|
1232
|
+
<p>
|
1233
|
+
Adds a cubic Bézier spline to the current patch from the current
|
1234
|
+
point to position (<em class="parameter"><code>x3</code></em>, <em class="parameter"><code>y3</code></em>) in pattern-space coordinates, using
|
1235
|
+
(<em class="parameter"><code>x1</code></em>, <em class="parameter"><code>y1</code></em>) and (<em class="parameter"><code>x2</code></em>, <em class="parameter"><code>y2</code></em>) as the control points.
|
1236
|
+
</p>
|
1237
|
+
<p>
|
1238
|
+
If the current patch has no current point before the call to
|
1239
|
+
<a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-curve-to" title="cairo_mesh_pattern_curve_to ()"><code class="function">cairo_mesh_pattern_curve_to()</code></a>, this function will behave as if
|
1240
|
+
preceded by a call to cairo_mesh_pattern_move_to(<em class="parameter"><code>pattern</code></em>, <em class="parameter"><code>x1</code></em>,
|
1241
|
+
<em class="parameter"><code>y1</code></em>).
|
1242
|
+
</p>
|
1243
|
+
<p>
|
1244
|
+
After this call the current point will be (<em class="parameter"><code>x3</code></em>, <em class="parameter"><code>y3</code></em>).
|
1245
|
+
</p>
|
1246
|
+
<p>
|
1247
|
+
Note: If <em class="parameter"><code>pattern</code></em> is not a mesh pattern then <em class="parameter"><code>pattern</code></em> will be put
|
1248
|
+
into an error status with a status of
|
1249
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a>. If <em class="parameter"><code>pattern</code></em> has no current
|
1250
|
+
patch or the current patch already has 4 sides, <em class="parameter"><code>pattern</code></em> will be
|
1251
|
+
put into an error status with a status of
|
1252
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-MESH-CONSTRUCTION:CAPS"><code class="literal">CAIRO_STATUS_INVALID_MESH_CONSTRUCTION</code></a>.
|
1253
|
+
</p>
|
1254
|
+
<div class="variablelist"><table border="0">
|
1255
|
+
<col align="left" valign="top">
|
1256
|
+
<tbody>
|
1257
|
+
<tr>
|
1258
|
+
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
|
1259
|
+
<td>a <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a>
|
1260
|
+
</td>
|
1261
|
+
</tr>
|
1262
|
+
<tr>
|
1263
|
+
<td><p><span class="term"><em class="parameter"><code>x1</code></em> :</span></p></td>
|
1264
|
+
<td>the X coordinate of the first control point</td>
|
1265
|
+
</tr>
|
1266
|
+
<tr>
|
1267
|
+
<td><p><span class="term"><em class="parameter"><code>y1</code></em> :</span></p></td>
|
1268
|
+
<td>the Y coordinate of the first control point</td>
|
1269
|
+
</tr>
|
1270
|
+
<tr>
|
1271
|
+
<td><p><span class="term"><em class="parameter"><code>x2</code></em> :</span></p></td>
|
1272
|
+
<td>the X coordinate of the second control point</td>
|
1273
|
+
</tr>
|
1274
|
+
<tr>
|
1275
|
+
<td><p><span class="term"><em class="parameter"><code>y2</code></em> :</span></p></td>
|
1276
|
+
<td>the Y coordinate of the second control point</td>
|
1277
|
+
</tr>
|
1278
|
+
<tr>
|
1279
|
+
<td><p><span class="term"><em class="parameter"><code>x3</code></em> :</span></p></td>
|
1280
|
+
<td>the X coordinate of the end of the curve</td>
|
1281
|
+
</tr>
|
1282
|
+
<tr>
|
1283
|
+
<td><p><span class="term"><em class="parameter"><code>y3</code></em> :</span></p></td>
|
1284
|
+
<td>the Y coordinate of the end of the curve</td>
|
1285
|
+
</tr>
|
1286
|
+
</tbody>
|
1287
|
+
</table></div>
|
1288
|
+
<p class="since">Since 1.12</p>
|
1289
|
+
</div>
|
1290
|
+
<hr>
|
1291
|
+
<div class="refsect2">
|
1292
|
+
<a name="cairo-mesh-pattern-set-control-point"></a><h3>cairo_mesh_pattern_set_control_point ()</h3>
|
1293
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_mesh_pattern_set_control_point
|
1294
|
+
(<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
1295
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> point_num</code></em>,
|
1296
|
+
<em class="parameter"><code><span class="type">double</span> x</code></em>,
|
1297
|
+
<em class="parameter"><code><span class="type">double</span> y</code></em>);</pre>
|
1298
|
+
<p>
|
1299
|
+
Set an internal control point of the current patch.
|
1300
|
+
</p>
|
1301
|
+
<p>
|
1302
|
+
Valid values for <em class="parameter"><code>point_num</code></em> are from 0 to 3 and identify the
|
1303
|
+
control points as explained in <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-create-mesh" title="cairo_pattern_create_mesh ()"><code class="function">cairo_pattern_create_mesh()</code></a>.
|
1304
|
+
</p>
|
1305
|
+
<p>
|
1306
|
+
Note: If <em class="parameter"><code>pattern</code></em> is not a mesh pattern then <em class="parameter"><code>pattern</code></em> will be put
|
1307
|
+
into an error status with a status of
|
1308
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a>. If <em class="parameter"><code>point_num</code></em> is not valid,
|
1309
|
+
<em class="parameter"><code>pattern</code></em> will be put into an error status with a status of
|
1310
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-INDEX:CAPS"><code class="literal">CAIRO_STATUS_INVALID_INDEX</code></a>. If <em class="parameter"><code>pattern</code></em> has no current patch,
|
1311
|
+
<em class="parameter"><code>pattern</code></em> will be put into an error status with a status of
|
1312
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-MESH-CONSTRUCTION:CAPS"><code class="literal">CAIRO_STATUS_INVALID_MESH_CONSTRUCTION</code></a>.
|
1313
|
+
</p>
|
1314
|
+
<div class="variablelist"><table border="0">
|
1315
|
+
<col align="left" valign="top">
|
1316
|
+
<tbody>
|
1317
|
+
<tr>
|
1318
|
+
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
|
1319
|
+
<td>a <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a>
|
1320
|
+
</td>
|
1321
|
+
</tr>
|
1322
|
+
<tr>
|
1323
|
+
<td><p><span class="term"><em class="parameter"><code>point_num</code></em> :</span></p></td>
|
1324
|
+
<td>the control point to set the position for</td>
|
1325
|
+
</tr>
|
1326
|
+
<tr>
|
1327
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1328
|
+
<td>the X coordinate of the control point</td>
|
1329
|
+
</tr>
|
1330
|
+
<tr>
|
1331
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1332
|
+
<td>the Y coordinate of the control point</td>
|
1333
|
+
</tr>
|
1334
|
+
</tbody>
|
1335
|
+
</table></div>
|
1336
|
+
<p class="since">Since 1.12</p>
|
1337
|
+
</div>
|
1338
|
+
<hr>
|
1339
|
+
<div class="refsect2">
|
1340
|
+
<a name="cairo-mesh-pattern-set-corner-color-rgb"></a><h3>cairo_mesh_pattern_set_corner_color_rgb ()</h3>
|
1341
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_mesh_pattern_set_corner_color_rgb
|
1342
|
+
(<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
1343
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> corner_num</code></em>,
|
1344
|
+
<em class="parameter"><code><span class="type">double</span> red</code></em>,
|
1345
|
+
<em class="parameter"><code><span class="type">double</span> green</code></em>,
|
1346
|
+
<em class="parameter"><code><span class="type">double</span> blue</code></em>);</pre>
|
1347
|
+
<p>
|
1348
|
+
Sets the color of a corner of the current patch in a mesh pattern.
|
1349
|
+
</p>
|
1350
|
+
<p>
|
1351
|
+
The color is specified in the same way as in <a class="link" href="cairo-cairo-t.html#cairo-set-source-rgb" title="cairo_set_source_rgb ()"><code class="function">cairo_set_source_rgb()</code></a>.
|
1352
|
+
</p>
|
1353
|
+
<p>
|
1354
|
+
Valid values for <em class="parameter"><code>corner_num</code></em> are from 0 to 3 and identify the
|
1355
|
+
corners as explained in <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-create-mesh" title="cairo_pattern_create_mesh ()"><code class="function">cairo_pattern_create_mesh()</code></a>.
|
1356
|
+
</p>
|
1357
|
+
<p>
|
1358
|
+
Note: If <em class="parameter"><code>pattern</code></em> is not a mesh pattern then <em class="parameter"><code>pattern</code></em> will be put
|
1359
|
+
into an error status with a status of
|
1360
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a>. If <em class="parameter"><code>corner_num</code></em> is not valid,
|
1361
|
+
<em class="parameter"><code>pattern</code></em> will be put into an error status with a status of
|
1362
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-INDEX:CAPS"><code class="literal">CAIRO_STATUS_INVALID_INDEX</code></a>. If <em class="parameter"><code>pattern</code></em> has no current patch,
|
1363
|
+
<em class="parameter"><code>pattern</code></em> will be put into an error status with a status of
|
1364
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-MESH-CONSTRUCTION:CAPS"><code class="literal">CAIRO_STATUS_INVALID_MESH_CONSTRUCTION</code></a>.
|
1365
|
+
</p>
|
1366
|
+
<div class="variablelist"><table border="0">
|
1367
|
+
<col align="left" valign="top">
|
1368
|
+
<tbody>
|
1369
|
+
<tr>
|
1370
|
+
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
|
1371
|
+
<td>a <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a>
|
1372
|
+
</td>
|
1373
|
+
</tr>
|
1374
|
+
<tr>
|
1375
|
+
<td><p><span class="term"><em class="parameter"><code>corner_num</code></em> :</span></p></td>
|
1376
|
+
<td>the corner to set the color for</td>
|
1377
|
+
</tr>
|
1378
|
+
<tr>
|
1379
|
+
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
1380
|
+
<td>red component of color</td>
|
1381
|
+
</tr>
|
1382
|
+
<tr>
|
1383
|
+
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
1384
|
+
<td>green component of color</td>
|
1385
|
+
</tr>
|
1386
|
+
<tr>
|
1387
|
+
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
1388
|
+
<td>blue component of color</td>
|
1389
|
+
</tr>
|
1390
|
+
</tbody>
|
1391
|
+
</table></div>
|
1392
|
+
<p class="since">Since 1.12</p>
|
1393
|
+
</div>
|
1394
|
+
<hr>
|
1395
|
+
<div class="refsect2">
|
1396
|
+
<a name="cairo-mesh-pattern-set-corner-color-rgba"></a><h3>cairo_mesh_pattern_set_corner_color_rgba ()</h3>
|
1397
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_mesh_pattern_set_corner_color_rgba
|
1398
|
+
(<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
1399
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> corner_num</code></em>,
|
1400
|
+
<em class="parameter"><code><span class="type">double</span> red</code></em>,
|
1401
|
+
<em class="parameter"><code><span class="type">double</span> green</code></em>,
|
1402
|
+
<em class="parameter"><code><span class="type">double</span> blue</code></em>,
|
1403
|
+
<em class="parameter"><code><span class="type">double</span> alpha</code></em>);</pre>
|
1404
|
+
<p>
|
1405
|
+
Sets the color of a corner of the current patch in a mesh pattern.
|
1406
|
+
</p>
|
1407
|
+
<p>
|
1408
|
+
The color is specified in the same way as in <a class="link" href="cairo-cairo-t.html#cairo-set-source-rgba" title="cairo_set_source_rgba ()"><code class="function">cairo_set_source_rgba()</code></a>.
|
1409
|
+
</p>
|
1410
|
+
<p>
|
1411
|
+
Valid values for <em class="parameter"><code>corner_num</code></em> are from 0 to 3 and identify the
|
1412
|
+
corners as explained in <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-create-mesh" title="cairo_pattern_create_mesh ()"><code class="function">cairo_pattern_create_mesh()</code></a>.
|
1413
|
+
</p>
|
1414
|
+
<p>
|
1415
|
+
Note: If <em class="parameter"><code>pattern</code></em> is not a mesh pattern then <em class="parameter"><code>pattern</code></em> will be put
|
1416
|
+
into an error status with a status of
|
1417
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a>. If <em class="parameter"><code>corner_num</code></em> is not valid,
|
1418
|
+
<em class="parameter"><code>pattern</code></em> will be put into an error status with a status of
|
1419
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-INDEX:CAPS"><code class="literal">CAIRO_STATUS_INVALID_INDEX</code></a>. If <em class="parameter"><code>pattern</code></em> has no current patch,
|
1420
|
+
<em class="parameter"><code>pattern</code></em> will be put into an error status with a status of
|
1421
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-MESH-CONSTRUCTION:CAPS"><code class="literal">CAIRO_STATUS_INVALID_MESH_CONSTRUCTION</code></a>.
|
1422
|
+
</p>
|
1423
|
+
<div class="variablelist"><table border="0">
|
1424
|
+
<col align="left" valign="top">
|
1425
|
+
<tbody>
|
1426
|
+
<tr>
|
1427
|
+
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
|
1428
|
+
<td>a <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a>
|
1429
|
+
</td>
|
1430
|
+
</tr>
|
1431
|
+
<tr>
|
1432
|
+
<td><p><span class="term"><em class="parameter"><code>corner_num</code></em> :</span></p></td>
|
1433
|
+
<td>the corner to set the color for</td>
|
1434
|
+
</tr>
|
1435
|
+
<tr>
|
1436
|
+
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
1437
|
+
<td>red component of color</td>
|
1438
|
+
</tr>
|
1439
|
+
<tr>
|
1440
|
+
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
1441
|
+
<td>green component of color</td>
|
1442
|
+
</tr>
|
1443
|
+
<tr>
|
1444
|
+
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
1445
|
+
<td>blue component of color</td>
|
1446
|
+
</tr>
|
1447
|
+
<tr>
|
1448
|
+
<td><p><span class="term"><em class="parameter"><code>alpha</code></em> :</span></p></td>
|
1449
|
+
<td>alpha component of color</td>
|
1450
|
+
</tr>
|
1451
|
+
</tbody>
|
1452
|
+
</table></div>
|
1453
|
+
<p class="since">Since 1.12</p>
|
846
1454
|
</div>
|
847
1455
|
<hr>
|
848
|
-
<div class="refsect2"
|
1456
|
+
<div class="refsect2">
|
1457
|
+
<a name="cairo-mesh-pattern-get-patch-count"></a><h3>cairo_mesh_pattern_get_patch_count ()</h3>
|
1458
|
+
<pre class="programlisting"><a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> cairo_mesh_pattern_get_patch_count (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
1459
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> *count</code></em>);</pre>
|
1460
|
+
<p>
|
1461
|
+
Gets the number of patches specified in the given mesh pattern.
|
1462
|
+
</p>
|
1463
|
+
<p>
|
1464
|
+
The number only includes patches which have been finished by
|
1465
|
+
calling <a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-end-patch" title="cairo_mesh_pattern_end_patch ()"><code class="function">cairo_mesh_pattern_end_patch()</code></a>. For example it will be 0
|
1466
|
+
during the definition of the first patch.
|
1467
|
+
</p>
|
1468
|
+
<div class="variablelist"><table border="0">
|
1469
|
+
<col align="left" valign="top">
|
1470
|
+
<tbody>
|
1471
|
+
<tr>
|
1472
|
+
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
|
1473
|
+
<td>a <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a>
|
1474
|
+
</td>
|
1475
|
+
</tr>
|
1476
|
+
<tr>
|
1477
|
+
<td><p><span class="term"><em class="parameter"><code>count</code></em> :</span></p></td>
|
1478
|
+
<td>return value for the number patches, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1479
|
+
</td>
|
1480
|
+
</tr>
|
1481
|
+
<tr>
|
1482
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1483
|
+
<td>
|
1484
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a>, or
|
1485
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a> if <em class="parameter"><code>pattern</code></em> is not a mesh
|
1486
|
+
pattern.</td>
|
1487
|
+
</tr>
|
1488
|
+
</tbody>
|
1489
|
+
</table></div>
|
1490
|
+
<p class="since">Since 1.12</p>
|
1491
|
+
</div>
|
1492
|
+
<hr>
|
1493
|
+
<div class="refsect2">
|
1494
|
+
<a name="cairo-mesh-pattern-get-path"></a><h3>cairo_mesh_pattern_get_path ()</h3>
|
1495
|
+
<pre class="programlisting"><a class="link" href="cairo-Paths.html#cairo-path-t" title="cairo_path_t"><span class="returnvalue">cairo_path_t</span></a> * cairo_mesh_pattern_get_path (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
1496
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> patch_num</code></em>);</pre>
|
1497
|
+
<p>
|
1498
|
+
Gets path defining the patch <em class="parameter"><code>patch_num</code></em> for a mesh
|
1499
|
+
pattern.
|
1500
|
+
</p>
|
1501
|
+
<p>
|
1502
|
+
<em class="parameter"><code>patch_num</code></em> can range 0 to 1 less than the number returned by
|
1503
|
+
<a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-get-patch-count" title="cairo_mesh_pattern_get_patch_count ()"><code class="function">cairo_mesh_pattern_get_patch_count()</code></a>.
|
1504
|
+
</p>
|
1505
|
+
<div class="variablelist"><table border="0">
|
1506
|
+
<col align="left" valign="top">
|
1507
|
+
<tbody>
|
1508
|
+
<tr>
|
1509
|
+
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
|
1510
|
+
<td>a <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a>
|
1511
|
+
</td>
|
1512
|
+
</tr>
|
1513
|
+
<tr>
|
1514
|
+
<td><p><span class="term"><em class="parameter"><code>patch_num</code></em> :</span></p></td>
|
1515
|
+
<td>the patch number to return data for</td>
|
1516
|
+
</tr>
|
1517
|
+
<tr>
|
1518
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1519
|
+
<td>the path defining the patch, or a path with status
|
1520
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-INDEX:CAPS"><code class="literal">CAIRO_STATUS_INVALID_INDEX</code></a> if <em class="parameter"><code>patch_num</code></em> or <em class="parameter"><code>point_num</code></em> is not
|
1521
|
+
valid for <em class="parameter"><code>pattern</code></em>. If <em class="parameter"><code>pattern</code></em> is not a mesh pattern, a path with
|
1522
|
+
status <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a> is returned.</td>
|
1523
|
+
</tr>
|
1524
|
+
</tbody>
|
1525
|
+
</table></div>
|
1526
|
+
<p class="since">Since 1.12</p>
|
1527
|
+
</div>
|
1528
|
+
<hr>
|
1529
|
+
<div class="refsect2">
|
1530
|
+
<a name="cairo-mesh-pattern-get-control-point"></a><h3>cairo_mesh_pattern_get_control_point ()</h3>
|
1531
|
+
<pre class="programlisting"><a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> cairo_mesh_pattern_get_control_point
|
1532
|
+
(<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
1533
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> patch_num</code></em>,
|
1534
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> point_num</code></em>,
|
1535
|
+
<em class="parameter"><code><span class="type">double</span> *x</code></em>,
|
1536
|
+
<em class="parameter"><code><span class="type">double</span> *y</code></em>);</pre>
|
1537
|
+
<p>
|
1538
|
+
Gets the control point <em class="parameter"><code>point_num</code></em> of patch <em class="parameter"><code>patch_num</code></em> for a mesh
|
1539
|
+
pattern.
|
1540
|
+
</p>
|
1541
|
+
<p>
|
1542
|
+
<em class="parameter"><code>patch_num</code></em> can range 0 to 1 less than the number returned by
|
1543
|
+
<a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-get-patch-count" title="cairo_mesh_pattern_get_patch_count ()"><code class="function">cairo_mesh_pattern_get_patch_count()</code></a>.
|
1544
|
+
</p>
|
1545
|
+
<p>
|
1546
|
+
Valid values for <em class="parameter"><code>point_num</code></em> are from 0 to 3 and identify the
|
1547
|
+
control points as explained in <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-create-mesh" title="cairo_pattern_create_mesh ()"><code class="function">cairo_pattern_create_mesh()</code></a>.
|
1548
|
+
</p>
|
1549
|
+
<div class="variablelist"><table border="0">
|
1550
|
+
<col align="left" valign="top">
|
1551
|
+
<tbody>
|
1552
|
+
<tr>
|
1553
|
+
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
|
1554
|
+
<td>a <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a>
|
1555
|
+
</td>
|
1556
|
+
</tr>
|
1557
|
+
<tr>
|
1558
|
+
<td><p><span class="term"><em class="parameter"><code>patch_num</code></em> :</span></p></td>
|
1559
|
+
<td>the patch number to return data for</td>
|
1560
|
+
</tr>
|
1561
|
+
<tr>
|
1562
|
+
<td><p><span class="term"><em class="parameter"><code>point_num</code></em> :</span></p></td>
|
1563
|
+
<td>the control point number to return data for</td>
|
1564
|
+
</tr>
|
1565
|
+
<tr>
|
1566
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1567
|
+
<td>return value for the x coordinate of the control point, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1568
|
+
</td>
|
1569
|
+
</tr>
|
1570
|
+
<tr>
|
1571
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1572
|
+
<td>return value for the y coordinate of the control point, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1573
|
+
</td>
|
1574
|
+
</tr>
|
1575
|
+
<tr>
|
1576
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1577
|
+
<td>
|
1578
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a>, or <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-INDEX:CAPS"><code class="literal">CAIRO_STATUS_INVALID_INDEX</code></a>
|
1579
|
+
if <em class="parameter"><code>patch_num</code></em> or <em class="parameter"><code>point_num</code></em> is not valid for <em class="parameter"><code>pattern</code></em>. If <em class="parameter"><code>pattern</code></em>
|
1580
|
+
is not a mesh pattern, <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a> is
|
1581
|
+
returned.</td>
|
1582
|
+
</tr>
|
1583
|
+
</tbody>
|
1584
|
+
</table></div>
|
1585
|
+
<p class="since">Since 1.12</p>
|
1586
|
+
</div>
|
1587
|
+
<hr>
|
1588
|
+
<div class="refsect2">
|
1589
|
+
<a name="cairo-mesh-pattern-get-corner-color-rgba"></a><h3>cairo_mesh_pattern_get_corner_color_rgba ()</h3>
|
1590
|
+
<pre class="programlisting"><a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> cairo_mesh_pattern_get_corner_color_rgba
|
1591
|
+
(<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
1592
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> patch_num</code></em>,
|
1593
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> corner_num</code></em>,
|
1594
|
+
<em class="parameter"><code><span class="type">double</span> *red</code></em>,
|
1595
|
+
<em class="parameter"><code><span class="type">double</span> *green</code></em>,
|
1596
|
+
<em class="parameter"><code><span class="type">double</span> *blue</code></em>,
|
1597
|
+
<em class="parameter"><code><span class="type">double</span> *alpha</code></em>);</pre>
|
1598
|
+
<p>
|
1599
|
+
Gets the color information in corner <em class="parameter"><code>corner_num</code></em> of patch
|
1600
|
+
<em class="parameter"><code>patch_num</code></em> for a mesh pattern.
|
1601
|
+
</p>
|
1602
|
+
<p>
|
1603
|
+
<em class="parameter"><code>patch_num</code></em> can range 0 to 1 less than the number returned by
|
1604
|
+
<a class="link" href="cairo-cairo-pattern-t.html#cairo-mesh-pattern-get-patch-count" title="cairo_mesh_pattern_get_patch_count ()"><code class="function">cairo_mesh_pattern_get_patch_count()</code></a>.
|
1605
|
+
</p>
|
1606
|
+
<p>
|
1607
|
+
Valid values for <em class="parameter"><code>corner_num</code></em> are from 0 to 3 and identify the
|
1608
|
+
corners as explained in <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-create-mesh" title="cairo_pattern_create_mesh ()"><code class="function">cairo_pattern_create_mesh()</code></a>.
|
1609
|
+
</p>
|
1610
|
+
<div class="variablelist"><table border="0">
|
1611
|
+
<col align="left" valign="top">
|
1612
|
+
<tbody>
|
1613
|
+
<tr>
|
1614
|
+
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
|
1615
|
+
<td>a <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a>
|
1616
|
+
</td>
|
1617
|
+
</tr>
|
1618
|
+
<tr>
|
1619
|
+
<td><p><span class="term"><em class="parameter"><code>patch_num</code></em> :</span></p></td>
|
1620
|
+
<td>the patch number to return data for</td>
|
1621
|
+
</tr>
|
1622
|
+
<tr>
|
1623
|
+
<td><p><span class="term"><em class="parameter"><code>corner_num</code></em> :</span></p></td>
|
1624
|
+
<td>the corner number to return data for</td>
|
1625
|
+
</tr>
|
1626
|
+
<tr>
|
1627
|
+
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
1628
|
+
<td>return value for red component of color, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1629
|
+
</td>
|
1630
|
+
</tr>
|
1631
|
+
<tr>
|
1632
|
+
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
1633
|
+
<td>return value for green component of color, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1634
|
+
</td>
|
1635
|
+
</tr>
|
1636
|
+
<tr>
|
1637
|
+
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
1638
|
+
<td>return value for blue component of color, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1639
|
+
</td>
|
1640
|
+
</tr>
|
1641
|
+
<tr>
|
1642
|
+
<td><p><span class="term"><em class="parameter"><code>alpha</code></em> :</span></p></td>
|
1643
|
+
<td>return value for alpha component of color, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1644
|
+
</td>
|
1645
|
+
</tr>
|
1646
|
+
<tr>
|
1647
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1648
|
+
<td>
|
1649
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a>, or <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-INDEX:CAPS"><code class="literal">CAIRO_STATUS_INVALID_INDEX</code></a>
|
1650
|
+
if <em class="parameter"><code>patch_num</code></em> or <em class="parameter"><code>corner_num</code></em> is not valid for <em class="parameter"><code>pattern</code></em>. If
|
1651
|
+
<em class="parameter"><code>pattern</code></em> is not a mesh pattern, <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a>
|
1652
|
+
is returned.</td>
|
1653
|
+
</tr>
|
1654
|
+
</tbody>
|
1655
|
+
</table></div>
|
1656
|
+
<p class="since">Since 1.12</p>
|
1657
|
+
</div>
|
1658
|
+
<hr>
|
1659
|
+
<div class="refsect2">
|
849
1660
|
<a name="cairo-pattern-reference"></a><h3>cairo_pattern_reference ()</h3>
|
850
1661
|
<pre class="programlisting"><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="returnvalue">cairo_pattern_t</span></a> * cairo_pattern_reference (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>);</pre>
|
851
1662
|
<p>
|
@@ -867,14 +1678,14 @@ The number of references to a <a class="link" href="cairo-cairo-pattern-t.html#c
|
|
867
1678
|
</tr>
|
868
1679
|
<tr>
|
869
1680
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
870
|
-
<td>
|
871
|
-
</td>
|
1681
|
+
<td>the referenced <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a>.</td>
|
872
1682
|
</tr>
|
873
1683
|
</tbody>
|
874
1684
|
</table></div>
|
1685
|
+
<p class="since">Since 1.0</p>
|
875
1686
|
</div>
|
876
1687
|
<hr>
|
877
|
-
<div class="refsect2"
|
1688
|
+
<div class="refsect2">
|
878
1689
|
<a name="cairo-pattern-destroy"></a><h3>cairo_pattern_destroy ()</h3>
|
879
1690
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_pattern_destroy (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>);</pre>
|
880
1691
|
<p>
|
@@ -890,9 +1701,10 @@ zero, then <em class="parameter"><code>pattern</code></em> and all associated re
|
|
890
1701
|
</td>
|
891
1702
|
</tr></tbody>
|
892
1703
|
</table></div>
|
1704
|
+
<p class="since">Since 1.0</p>
|
893
1705
|
</div>
|
894
1706
|
<hr>
|
895
|
-
<div class="refsect2"
|
1707
|
+
<div class="refsect2">
|
896
1708
|
<a name="cairo-pattern-status"></a><h3>cairo_pattern_status ()</h3>
|
897
1709
|
<pre class="programlisting"><a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> cairo_pattern_status (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>);</pre>
|
898
1710
|
<p>
|
@@ -909,17 +1721,19 @@ pattern.
|
|
909
1721
|
</tr>
|
910
1722
|
<tr>
|
911
1723
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
912
|
-
<td>
|
913
|
-
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-
|
914
|
-
</
|
1724
|
+
<td>
|
1725
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a>, <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-NO-MEMORY:CAPS"><code class="literal">CAIRO_STATUS_NO_MEMORY</code></a>,
|
1726
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-MATRIX:CAPS"><code class="literal">CAIRO_STATUS_INVALID_MATRIX</code></a>, <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></a>,
|
1727
|
+
or <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-INVALID-MESH-CONSTRUCTION:CAPS"><code class="literal">CAIRO_STATUS_INVALID_MESH_CONSTRUCTION</code></a>.</td>
|
915
1728
|
</tr>
|
916
1729
|
</tbody>
|
917
1730
|
</table></div>
|
1731
|
+
<p class="since">Since 1.0</p>
|
918
1732
|
</div>
|
919
1733
|
<hr>
|
920
|
-
<div class="refsect2"
|
1734
|
+
<div class="refsect2">
|
921
1735
|
<a name="cairo-extend-t"></a><h3>enum cairo_extend_t</h3>
|
922
|
-
<pre class="programlisting">typedef enum
|
1736
|
+
<pre class="programlisting">typedef enum {
|
923
1737
|
CAIRO_EXTEND_NONE,
|
924
1738
|
CAIRO_EXTEND_REPEAT,
|
925
1739
|
CAIRO_EXTEND_REFLECT,
|
@@ -933,6 +1747,9 @@ example, outside the surface bounds or outside the gradient
|
|
933
1747
|
geometry).
|
934
1748
|
</p>
|
935
1749
|
<p>
|
1750
|
+
Mesh patterns are not affected by the extend mode.
|
1751
|
+
</p>
|
1752
|
+
<p>
|
936
1753
|
The default extend mode is <a class="link" href="cairo-cairo-pattern-t.html#CAIRO-EXTEND-NONE:CAPS"><code class="literal">CAIRO_EXTEND_NONE</code></a> for surface patterns
|
937
1754
|
and <a class="link" href="cairo-cairo-pattern-t.html#CAIRO-EXTEND-PAD:CAPS"><code class="literal">CAIRO_EXTEND_PAD</code></a> for gradient patterns.
|
938
1755
|
</p>
|
@@ -945,18 +1762,18 @@ New entries may be added in future versions.
|
|
945
1762
|
<tr>
|
946
1763
|
<td><p><a name="CAIRO-EXTEND-NONE:CAPS"></a><span class="term"><code class="literal">CAIRO_EXTEND_NONE</code></span></p></td>
|
947
1764
|
<td>pixels outside of the source pattern
|
948
|
-
are fully transparent
|
1765
|
+
are fully transparent (Since 1.0)
|
949
1766
|
</td>
|
950
1767
|
</tr>
|
951
1768
|
<tr>
|
952
1769
|
<td><p><a name="CAIRO-EXTEND-REPEAT:CAPS"></a><span class="term"><code class="literal">CAIRO_EXTEND_REPEAT</code></span></p></td>
|
953
|
-
<td>the pattern is tiled by repeating
|
1770
|
+
<td>the pattern is tiled by repeating (Since 1.0)
|
954
1771
|
</td>
|
955
1772
|
</tr>
|
956
1773
|
<tr>
|
957
1774
|
<td><p><a name="CAIRO-EXTEND-REFLECT:CAPS"></a><span class="term"><code class="literal">CAIRO_EXTEND_REFLECT</code></span></p></td>
|
958
1775
|
<td>the pattern is tiled by reflecting
|
959
|
-
at the edges (
|
1776
|
+
at the edges (Since 1.0; but only implemented for surface patterns since 1.6)
|
960
1777
|
</td>
|
961
1778
|
</tr>
|
962
1779
|
<tr>
|
@@ -968,9 +1785,10 @@ New entries may be added in future versions.
|
|
968
1785
|
</tr>
|
969
1786
|
</tbody>
|
970
1787
|
</table></div>
|
1788
|
+
<p class="since">Since 1.0</p>
|
971
1789
|
</div>
|
972
1790
|
<hr>
|
973
|
-
<div class="refsect2"
|
1791
|
+
<div class="refsect2">
|
974
1792
|
<a name="cairo-pattern-set-extend"></a><h3>cairo_pattern_set_extend ()</h3>
|
975
1793
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_pattern_set_extend (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
976
1794
|
<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-extend-t" title="enum cairo_extend_t"><span class="type">cairo_extend_t</span></a> extend</code></em>);</pre>
|
@@ -994,14 +1812,14 @@ and <a class="link" href="cairo-cairo-pattern-t.html#CAIRO-EXTEND-PAD:CAPS"><cod
|
|
994
1812
|
<tr>
|
995
1813
|
<td><p><span class="term"><em class="parameter"><code>extend</code></em> :</span></p></td>
|
996
1814
|
<td>a <a class="link" href="cairo-cairo-pattern-t.html#cairo-extend-t" title="enum cairo_extend_t"><span class="type">cairo_extend_t</span></a> describing how the area outside of the
|
997
|
-
pattern will be drawn
|
998
|
-
</td>
|
1815
|
+
pattern will be drawn</td>
|
999
1816
|
</tr>
|
1000
1817
|
</tbody>
|
1001
1818
|
</table></div>
|
1819
|
+
<p class="since">Since 1.0</p>
|
1002
1820
|
</div>
|
1003
1821
|
<hr>
|
1004
|
-
<div class="refsect2"
|
1822
|
+
<div class="refsect2">
|
1005
1823
|
<a name="cairo-pattern-get-extend"></a><h3>cairo_pattern_get_extend ()</h3>
|
1006
1824
|
<pre class="programlisting"><a class="link" href="cairo-cairo-pattern-t.html#cairo-extend-t" title="enum cairo_extend_t"><span class="returnvalue">cairo_extend_t</span></a> cairo_pattern_get_extend (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>);</pre>
|
1007
1825
|
<p>
|
@@ -1018,17 +1836,17 @@ for details on the semantics of each extend strategy.
|
|
1018
1836
|
</tr>
|
1019
1837
|
<tr>
|
1020
1838
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1021
|
-
<td>
|
1022
|
-
pattern
|
1023
|
-
</td>
|
1839
|
+
<td>the current extend strategy used for drawing the
|
1840
|
+
pattern.</td>
|
1024
1841
|
</tr>
|
1025
1842
|
</tbody>
|
1026
1843
|
</table></div>
|
1844
|
+
<p class="since">Since 1.0</p>
|
1027
1845
|
</div>
|
1028
1846
|
<hr>
|
1029
|
-
<div class="refsect2"
|
1847
|
+
<div class="refsect2">
|
1030
1848
|
<a name="cairo-filter-t"></a><h3>enum cairo_filter_t</h3>
|
1031
|
-
<pre class="programlisting">typedef enum
|
1849
|
+
<pre class="programlisting">typedef enum {
|
1032
1850
|
CAIRO_FILTER_FAST,
|
1033
1851
|
CAIRO_FILTER_GOOD,
|
1034
1852
|
CAIRO_FILTER_BEST,
|
@@ -1040,7 +1858,7 @@ pattern.
|
|
1040
1858
|
<p>
|
1041
1859
|
<a class="link" href="cairo-cairo-pattern-t.html#cairo-filter-t" title="enum cairo_filter_t"><span class="type">cairo_filter_t</span></a> is used to indicate what filtering should be
|
1042
1860
|
applied when reading pixel values from patterns. See
|
1043
|
-
<code class="function">
|
1861
|
+
<a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-set-filter" title="cairo_pattern_set_filter ()"><code class="function">cairo_pattern_set_filter()</code></a> for indicating the desired filter to be
|
1044
1862
|
used with a particular pattern.
|
1045
1863
|
</p>
|
1046
1864
|
<div class="variablelist"><table border="0">
|
@@ -1049,42 +1867,43 @@ used with a particular pattern.
|
|
1049
1867
|
<tr>
|
1050
1868
|
<td><p><a name="CAIRO-FILTER-FAST:CAPS"></a><span class="term"><code class="literal">CAIRO_FILTER_FAST</code></span></p></td>
|
1051
1869
|
<td>A high-performance filter, with quality similar
|
1052
|
-
to <a class="link" href="cairo-cairo-pattern-t.html#CAIRO-FILTER-NEAREST:CAPS"><code class="literal">CAIRO_FILTER_NEAREST</code></a>
|
1870
|
+
to <a class="link" href="cairo-cairo-pattern-t.html#CAIRO-FILTER-NEAREST:CAPS"><code class="literal">CAIRO_FILTER_NEAREST</code></a> (Since 1.0)
|
1053
1871
|
</td>
|
1054
1872
|
</tr>
|
1055
1873
|
<tr>
|
1056
1874
|
<td><p><a name="CAIRO-FILTER-GOOD:CAPS"></a><span class="term"><code class="literal">CAIRO_FILTER_GOOD</code></span></p></td>
|
1057
1875
|
<td>A reasonable-performance filter, with quality
|
1058
|
-
similar to <a class="link" href="cairo-cairo-pattern-t.html#CAIRO-FILTER-BILINEAR:CAPS"><code class="literal">CAIRO_FILTER_BILINEAR</code></a>
|
1876
|
+
similar to <a class="link" href="cairo-cairo-pattern-t.html#CAIRO-FILTER-BILINEAR:CAPS"><code class="literal">CAIRO_FILTER_BILINEAR</code></a> (Since 1.0)
|
1059
1877
|
</td>
|
1060
1878
|
</tr>
|
1061
1879
|
<tr>
|
1062
1880
|
<td><p><a name="CAIRO-FILTER-BEST:CAPS"></a><span class="term"><code class="literal">CAIRO_FILTER_BEST</code></span></p></td>
|
1063
1881
|
<td>The highest-quality available, performance may
|
1064
|
-
not be suitable for interactive use.
|
1882
|
+
not be suitable for interactive use. (Since 1.0)
|
1065
1883
|
</td>
|
1066
1884
|
</tr>
|
1067
1885
|
<tr>
|
1068
1886
|
<td><p><a name="CAIRO-FILTER-NEAREST:CAPS"></a><span class="term"><code class="literal">CAIRO_FILTER_NEAREST</code></span></p></td>
|
1069
|
-
<td>Nearest-neighbor filtering
|
1887
|
+
<td>Nearest-neighbor filtering (Since 1.0)
|
1070
1888
|
</td>
|
1071
1889
|
</tr>
|
1072
1890
|
<tr>
|
1073
1891
|
<td><p><a name="CAIRO-FILTER-BILINEAR:CAPS"></a><span class="term"><code class="literal">CAIRO_FILTER_BILINEAR</code></span></p></td>
|
1074
|
-
<td>Linear interpolation in two dimensions
|
1892
|
+
<td>Linear interpolation in two dimensions (Since 1.0)
|
1075
1893
|
</td>
|
1076
1894
|
</tr>
|
1077
1895
|
<tr>
|
1078
1896
|
<td><p><a name="CAIRO-FILTER-GAUSSIAN:CAPS"></a><span class="term"><code class="literal">CAIRO_FILTER_GAUSSIAN</code></span></p></td>
|
1079
1897
|
<td>This filter value is currently
|
1080
|
-
unimplemented, and should not be used in current code.
|
1898
|
+
unimplemented, and should not be used in current code. (Since 1.0)
|
1081
1899
|
</td>
|
1082
1900
|
</tr>
|
1083
1901
|
</tbody>
|
1084
1902
|
</table></div>
|
1903
|
+
<p class="since">Since 1.0</p>
|
1085
1904
|
</div>
|
1086
1905
|
<hr>
|
1087
|
-
<div class="refsect2"
|
1906
|
+
<div class="refsect2">
|
1088
1907
|
<a name="cairo-pattern-set-filter"></a><h3>cairo_pattern_set_filter ()</h3>
|
1089
1908
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_pattern_set_filter (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
1090
1909
|
<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-filter-t" title="enum cairo_filter_t"><span class="type">cairo_filter_t</span></a> filter</code></em>);</pre>
|
@@ -1101,10 +1920,19 @@ creates implicitly. For example:
|
|
1101
1920
|
</p>
|
1102
1921
|
<p>
|
1103
1922
|
</p>
|
1104
|
-
<div class="informalexample"
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1923
|
+
<div class="informalexample">
|
1924
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1925
|
+
<tbody>
|
1926
|
+
<tr>
|
1927
|
+
<td class="listing_lines" align="right"><pre>1
|
1928
|
+
2</pre></td>
|
1929
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="../cairo/cairo-cairo-t.html#cairo-set-source-surface">cairo_set_source_surface</a></span> <span class="gtkdoc opt">(</span>cr<span class="gtkdoc opt">,</span> image<span class="gtkdoc opt">,</span> x<span class="gtkdoc opt">,</span> y<span class="gtkdoc opt">);</span>
|
1930
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-pattern-set-filter">cairo_pattern_set_filter</a></span> <span class="gtkdoc opt">(</span><span class="function"><a href="../cairo/cairo-cairo-t.html#cairo-get-source">cairo_get_source</a></span> <span class="gtkdoc opt">(</span>cr<span class="gtkdoc opt">),</span> CAIRO_FILTER_NEAREST<span class="gtkdoc opt">);</span></pre></td>
|
1931
|
+
</tr>
|
1932
|
+
</tbody>
|
1933
|
+
</table>
|
1934
|
+
</div>
|
1935
|
+
|
1108
1936
|
<p>
|
1109
1937
|
</p>
|
1110
1938
|
<div class="variablelist"><table border="0">
|
@@ -1118,14 +1946,14 @@ cairo_pattern_set_filter (cairo_get_source (cr), CAIRO_FILTER_NEAREST);
|
|
1118
1946
|
<tr>
|
1119
1947
|
<td><p><span class="term"><em class="parameter"><code>filter</code></em> :</span></p></td>
|
1120
1948
|
<td>a <a class="link" href="cairo-cairo-pattern-t.html#cairo-filter-t" title="enum cairo_filter_t"><span class="type">cairo_filter_t</span></a> describing the filter to use for resizing
|
1121
|
-
the pattern
|
1122
|
-
</td>
|
1949
|
+
the pattern</td>
|
1123
1950
|
</tr>
|
1124
1951
|
</tbody>
|
1125
1952
|
</table></div>
|
1953
|
+
<p class="since">Since 1.0</p>
|
1126
1954
|
</div>
|
1127
1955
|
<hr>
|
1128
|
-
<div class="refsect2"
|
1956
|
+
<div class="refsect2">
|
1129
1957
|
<a name="cairo-pattern-get-filter"></a><h3>cairo_pattern_get_filter ()</h3>
|
1130
1958
|
<pre class="programlisting"><a class="link" href="cairo-cairo-pattern-t.html#cairo-filter-t" title="enum cairo_filter_t"><span class="returnvalue">cairo_filter_t</span></a> cairo_pattern_get_filter (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>);</pre>
|
1131
1959
|
<p>
|
@@ -1142,14 +1970,14 @@ for details on each filter.
|
|
1142
1970
|
</tr>
|
1143
1971
|
<tr>
|
1144
1972
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1145
|
-
<td>
|
1146
|
-
</td>
|
1973
|
+
<td>the current filter used for resizing the pattern.</td>
|
1147
1974
|
</tr>
|
1148
1975
|
</tbody>
|
1149
1976
|
</table></div>
|
1977
|
+
<p class="since">Since 1.0</p>
|
1150
1978
|
</div>
|
1151
1979
|
<hr>
|
1152
|
-
<div class="refsect2"
|
1980
|
+
<div class="refsect2">
|
1153
1981
|
<a name="cairo-pattern-set-matrix"></a><h3>cairo_pattern_set_matrix ()</h3>
|
1154
1982
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_pattern_set_matrix (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
1155
1983
|
<em class="parameter"><code>const <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>);</pre>
|
@@ -1175,10 +2003,19 @@ it does by default the correct code to use is:
|
|
1175
2003
|
</p>
|
1176
2004
|
<p>
|
1177
2005
|
</p>
|
1178
|
-
<div class="informalexample"
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
2006
|
+
<div class="informalexample">
|
2007
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
2008
|
+
<tbody>
|
2009
|
+
<tr>
|
2010
|
+
<td class="listing_lines" align="right"><pre>1
|
2011
|
+
2</pre></td>
|
2012
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="../cairo/cairo-cairo-matrix-t.html#cairo-matrix-init-scale">cairo_matrix_init_scale</a></span> <span class="gtkdoc opt">(&</span>matrix<span class="gtkdoc opt">,</span> <span class="number">0.5</span><span class="gtkdoc opt">,</span> <span class="number">0.5</span><span class="gtkdoc opt">);</span>
|
2013
|
+
<span class="function"><a href="../cairo/cairo-cairo-pattern-t.html#cairo-pattern-set-matrix">cairo_pattern_set_matrix</a></span> <span class="gtkdoc opt">(</span>pattern<span class="gtkdoc opt">, &</span>matrix<span class="gtkdoc opt">);</span></pre></td>
|
2014
|
+
</tr>
|
2015
|
+
</tbody>
|
2016
|
+
</table>
|
2017
|
+
</div>
|
2018
|
+
|
1182
2019
|
<p>
|
1183
2020
|
</p>
|
1184
2021
|
<p>
|
@@ -1204,9 +2041,10 @@ semantics of <a class="link" href="cairo-cairo-t.html#cairo-set-source" title="c
|
|
1204
2041
|
</tr>
|
1205
2042
|
</tbody>
|
1206
2043
|
</table></div>
|
2044
|
+
<p class="since">Since 1.0</p>
|
1207
2045
|
</div>
|
1208
2046
|
<hr>
|
1209
|
-
<div class="refsect2"
|
2047
|
+
<div class="refsect2">
|
1210
2048
|
<a name="cairo-pattern-get-matrix"></a><h3>cairo_pattern_get_matrix ()</h3>
|
1211
2049
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_pattern_get_matrix (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
1212
2050
|
<em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>);</pre>
|
@@ -1223,20 +2061,22 @@ Stores the pattern's transformation matrix into <em class="parameter"><code>matr
|
|
1223
2061
|
</tr>
|
1224
2062
|
<tr>
|
1225
2063
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
1226
|
-
<td>return value for the matrix
|
1227
|
-
</td>
|
2064
|
+
<td>return value for the matrix</td>
|
1228
2065
|
</tr>
|
1229
2066
|
</tbody>
|
1230
2067
|
</table></div>
|
2068
|
+
<p class="since">Since 1.0</p>
|
1231
2069
|
</div>
|
1232
2070
|
<hr>
|
1233
|
-
<div class="refsect2"
|
2071
|
+
<div class="refsect2">
|
1234
2072
|
<a name="cairo-pattern-type-t"></a><h3>enum cairo_pattern_type_t</h3>
|
1235
|
-
<pre class="programlisting">typedef enum
|
2073
|
+
<pre class="programlisting">typedef enum {
|
1236
2074
|
CAIRO_PATTERN_TYPE_SOLID,
|
1237
2075
|
CAIRO_PATTERN_TYPE_SURFACE,
|
1238
2076
|
CAIRO_PATTERN_TYPE_LINEAR,
|
1239
|
-
CAIRO_PATTERN_TYPE_RADIAL
|
2077
|
+
CAIRO_PATTERN_TYPE_RADIAL,
|
2078
|
+
CAIRO_PATTERN_TYPE_MESH,
|
2079
|
+
CAIRO_PATTERN_TYPE_RASTER_SOURCE
|
1240
2080
|
} cairo_pattern_type_t;
|
1241
2081
|
</pre>
|
1242
2082
|
<p>
|
@@ -1270,22 +2110,32 @@ New entries may be added in future versions.
|
|
1270
2110
|
<tr>
|
1271
2111
|
<td><p><a name="CAIRO-PATTERN-TYPE-SOLID:CAPS"></a><span class="term"><code class="literal">CAIRO_PATTERN_TYPE_SOLID</code></span></p></td>
|
1272
2112
|
<td>The pattern is a solid (uniform)
|
1273
|
-
color. It may be opaque or translucent.
|
2113
|
+
color. It may be opaque or translucent, since 1.2.
|
1274
2114
|
</td>
|
1275
2115
|
</tr>
|
1276
2116
|
<tr>
|
1277
2117
|
<td><p><a name="CAIRO-PATTERN-TYPE-SURFACE:CAPS"></a><span class="term"><code class="literal">CAIRO_PATTERN_TYPE_SURFACE</code></span></p></td>
|
1278
|
-
<td>The pattern is a based on a surface (an image).
|
2118
|
+
<td>The pattern is a based on a surface (an image), since 1.2.
|
1279
2119
|
</td>
|
1280
2120
|
</tr>
|
1281
2121
|
<tr>
|
1282
2122
|
<td><p><a name="CAIRO-PATTERN-TYPE-LINEAR:CAPS"></a><span class="term"><code class="literal">CAIRO_PATTERN_TYPE_LINEAR</code></span></p></td>
|
1283
|
-
<td>The pattern is a linear gradient.
|
2123
|
+
<td>The pattern is a linear gradient, since 1.2.
|
1284
2124
|
</td>
|
1285
2125
|
</tr>
|
1286
2126
|
<tr>
|
1287
2127
|
<td><p><a name="CAIRO-PATTERN-TYPE-RADIAL:CAPS"></a><span class="term"><code class="literal">CAIRO_PATTERN_TYPE_RADIAL</code></span></p></td>
|
1288
|
-
<td>The pattern is a radial gradient.
|
2128
|
+
<td>The pattern is a radial gradient, since 1.2.
|
2129
|
+
</td>
|
2130
|
+
</tr>
|
2131
|
+
<tr>
|
2132
|
+
<td><p><a name="CAIRO-PATTERN-TYPE-MESH:CAPS"></a><span class="term"><code class="literal">CAIRO_PATTERN_TYPE_MESH</code></span></p></td>
|
2133
|
+
<td>The pattern is a mesh, since 1.12.
|
2134
|
+
</td>
|
2135
|
+
</tr>
|
2136
|
+
<tr>
|
2137
|
+
<td><p><a name="CAIRO-PATTERN-TYPE-RASTER-SOURCE:CAPS"></a><span class="term"><code class="literal">CAIRO_PATTERN_TYPE_RASTER_SOURCE</code></span></p></td>
|
2138
|
+
<td>The pattern is a user pattern providing raster data, since 1.12.
|
1289
2139
|
</td>
|
1290
2140
|
</tr>
|
1291
2141
|
</tbody>
|
@@ -1293,9 +2143,9 @@ color. It may be opaque or translucent.
|
|
1293
2143
|
<p class="since">Since 1.2</p>
|
1294
2144
|
</div>
|
1295
2145
|
<hr>
|
1296
|
-
<div class="refsect2"
|
2146
|
+
<div class="refsect2">
|
1297
2147
|
<a name="cairo-pattern-get-type"></a><h3>cairo_pattern_get_type ()</h3>
|
1298
|
-
<pre class="programlisting"><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-type-t" title="enum cairo_pattern_type_t"><span class="returnvalue">cairo_pattern_type_t</span></a>
|
2148
|
+
<pre class="programlisting"><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-type-t" title="enum cairo_pattern_type_t"><span class="returnvalue">cairo_pattern_type_t</span></a> cairo_pattern_get_type (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>);</pre>
|
1299
2149
|
<p>
|
1300
2150
|
This function returns the type a pattern.
|
1301
2151
|
See <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-type-t" title="enum cairo_pattern_type_t"><span class="type">cairo_pattern_type_t</span></a> for available types.
|
@@ -1310,16 +2160,14 @@ See <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-type-t" title
|
|
1310
2160
|
</tr>
|
1311
2161
|
<tr>
|
1312
2162
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1313
|
-
<td>
|
1314
|
-
|
1315
|
-
</td>
|
2163
|
+
<td>The type of <em class="parameter"><code>pattern</code></em>.</td>
|
1316
2164
|
</tr>
|
1317
2165
|
</tbody>
|
1318
2166
|
</table></div>
|
1319
2167
|
<p class="since">Since 1.2</p>
|
1320
2168
|
</div>
|
1321
2169
|
<hr>
|
1322
|
-
<div class="refsect2"
|
2170
|
+
<div class="refsect2">
|
1323
2171
|
<a name="cairo-pattern-get-reference-count"></a><h3>cairo_pattern_get_reference_count ()</h3>
|
1324
2172
|
<pre class="programlisting">unsigned <span class="returnvalue">int</span> cairo_pattern_get_reference_count (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>);</pre>
|
1325
2173
|
<p>
|
@@ -1335,17 +2183,15 @@ Returns the current reference count of <em class="parameter"><code>pattern</code
|
|
1335
2183
|
</tr>
|
1336
2184
|
<tr>
|
1337
2185
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1338
|
-
<td>
|
1339
|
-
object is a nil object, 0 will be returned
|
1340
|
-
|
1341
|
-
</td>
|
2186
|
+
<td>the current reference count of <em class="parameter"><code>pattern</code></em>. If the
|
2187
|
+
object is a nil object, 0 will be returned.</td>
|
1342
2188
|
</tr>
|
1343
2189
|
</tbody>
|
1344
2190
|
</table></div>
|
1345
2191
|
<p class="since">Since 1.4</p>
|
1346
2192
|
</div>
|
1347
2193
|
<hr>
|
1348
|
-
<div class="refsect2"
|
2194
|
+
<div class="refsect2">
|
1349
2195
|
<a name="cairo-pattern-set-user-data"></a><h3>cairo_pattern_set_user_data ()</h3>
|
1350
2196
|
<pre class="programlisting"><a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> cairo_pattern_set_user_data (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
1351
2197
|
<em class="parameter"><code>const <a class="link" href="cairo-Types.html#cairo-user-data-key-t" title="cairo_user_data_key_t"><span class="type">cairo_user_data_key_t</span></a> *key</code></em>,
|
@@ -1353,7 +2199,7 @@ object is a nil object, 0 will be returned.
|
|
1353
2199
|
<em class="parameter"><code><a class="link" href="cairo-Types.html#cairo-destroy-func-t" title="cairo_destroy_func_t ()"><span class="type">cairo_destroy_func_t</span></a> destroy</code></em>);</pre>
|
1354
2200
|
<p>
|
1355
2201
|
Attach user data to <em class="parameter"><code>pattern</code></em>. To remove user data from a surface,
|
1356
|
-
call this function with the key that was used to set it and <a href="
|
2202
|
+
call this function with the key that was used to set it and <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1357
2203
|
for <em class="parameter"><code>data</code></em>.
|
1358
2204
|
</p>
|
1359
2205
|
<div class="variablelist"><table border="0">
|
@@ -1366,8 +2212,7 @@ for <em class="parameter"><code>data</code></em>.
|
|
1366
2212
|
</tr>
|
1367
2213
|
<tr>
|
1368
2214
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1369
|
-
<td>the address of a <a class="link" href="cairo-Types.html#cairo-user-data-key-t" title="cairo_user_data_key_t"><span class="type">cairo_user_data_key_t</span></a> to attach the user data to
|
1370
|
-
</td>
|
2215
|
+
<td>the address of a <a class="link" href="cairo-Types.html#cairo-user-data-key-t" title="cairo_user_data_key_t"><span class="type">cairo_user_data_key_t</span></a> to attach the user data to</td>
|
1371
2216
|
</tr>
|
1372
2217
|
<tr>
|
1373
2218
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
@@ -1378,29 +2223,27 @@ for <em class="parameter"><code>data</code></em>.
|
|
1378
2223
|
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
|
1379
2224
|
<td>a <a class="link" href="cairo-Types.html#cairo-destroy-func-t" title="cairo_destroy_func_t ()"><span class="type">cairo_destroy_func_t</span></a> which will be called when the
|
1380
2225
|
<a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> is destroyed or when new user data is attached using the
|
1381
|
-
same key
|
1382
|
-
</td>
|
2226
|
+
same key.</td>
|
1383
2227
|
</tr>
|
1384
2228
|
<tr>
|
1385
2229
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1386
|
-
<td>
|
1387
|
-
|
1388
|
-
|
1389
|
-
</td>
|
2230
|
+
<td>
|
2231
|
+
<a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a> or <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-NO-MEMORY:CAPS"><code class="literal">CAIRO_STATUS_NO_MEMORY</code></a> if a
|
2232
|
+
slot could not be allocated for the user data.</td>
|
1390
2233
|
</tr>
|
1391
2234
|
</tbody>
|
1392
2235
|
</table></div>
|
1393
2236
|
<p class="since">Since 1.4</p>
|
1394
2237
|
</div>
|
1395
2238
|
<hr>
|
1396
|
-
<div class="refsect2"
|
2239
|
+
<div class="refsect2">
|
1397
2240
|
<a name="cairo-pattern-get-user-data"></a><h3>cairo_pattern_get_user_data ()</h3>
|
1398
2241
|
<pre class="programlisting"><span class="returnvalue">void</span> * cairo_pattern_get_user_data (<em class="parameter"><code><a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-t" title="cairo_pattern_t"><span class="type">cairo_pattern_t</span></a> *pattern</code></em>,
|
1399
2242
|
<em class="parameter"><code>const <a class="link" href="cairo-Types.html#cairo-user-data-key-t" title="cairo_user_data_key_t"><span class="type">cairo_user_data_key_t</span></a> *key</code></em>);</pre>
|
1400
2243
|
<p>
|
1401
2244
|
Return user data previously attached to <em class="parameter"><code>pattern</code></em> using the
|
1402
2245
|
specified key. If no user data has been attached with the given
|
1403
|
-
key this function returns <a href="
|
2246
|
+
key this function returns <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1404
2247
|
</p>
|
1405
2248
|
<div class="variablelist"><table border="0">
|
1406
2249
|
<col align="left" valign="top">
|
@@ -1413,27 +2256,24 @@ key this function returns <a href="http://library.gnome.org/devel/glib/unstable/
|
|
1413
2256
|
<tr>
|
1414
2257
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1415
2258
|
<td>the address of the <a class="link" href="cairo-Types.html#cairo-user-data-key-t" title="cairo_user_data_key_t"><span class="type">cairo_user_data_key_t</span></a> the user data was
|
1416
|
-
attached to
|
1417
|
-
</td>
|
2259
|
+
attached to</td>
|
1418
2260
|
</tr>
|
1419
2261
|
<tr>
|
1420
2262
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1421
|
-
<td>
|
1422
|
-
|
1423
|
-
</td>
|
2263
|
+
<td>the user data previously attached or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
1424
2264
|
</tr>
|
1425
2265
|
</tbody>
|
1426
2266
|
</table></div>
|
1427
2267
|
<p class="since">Since 1.4</p>
|
1428
2268
|
</div>
|
1429
2269
|
</div>
|
1430
|
-
<div class="refsect1"
|
2270
|
+
<div class="refsect1">
|
1431
2271
|
<a name="cairo-cairo-pattern-t.see-also"></a><h2>See Also</h2>
|
1432
2272
|
<a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>, <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
|
1433
2273
|
</div>
|
1434
2274
|
</div>
|
1435
2275
|
<div class="footer">
|
1436
2276
|
<hr>
|
1437
|
-
Generated by GTK-Doc V1.
|
2277
|
+
Generated by GTK-Doc V1.18</div>
|
1438
2278
|
</body>
|
1439
2279
|
</html>
|