cairo 1.15.9-x86-mingw32 → 1.15.10-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS +20 -0
- data/Rakefile +9 -7
- data/ext/cairo/rb_cairo.h +1 -1
- data/lib/2.2/cairo.so +0 -0
- data/lib/2.3/cairo.so +0 -0
- data/lib/2.4/cairo.so +0 -0
- data/lib/cairo.rb +3 -3
- data/test/cairo-test-utils.rb +8 -4
- data/test/test_context.rb +1 -1
- data/test/test_font_face.rb +1 -1
- data/test/test_recording_surface.rb +1 -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 +78 -28
- 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 +1 -1
- data/vendor/local/bin/libpng16-16.dll +0 -0
- data/vendor/local/bin/libpng16-config +1 -1
- data/vendor/local/bin/libxml2-2.dll +0 -0
- data/vendor/local/bin/png-fix-itxt.exe +0 -0
- data/vendor/local/bin/pngfix.exe +0 -0
- data/vendor/local/bin/xml2-config +1 -1
- data/vendor/local/bin/xmlcatalog.exe +0 -0
- data/vendor/local/bin/xmllint.exe +0 -0
- data/vendor/local/bin/zlib1211.dll +0 -0
- data/vendor/local/etc/fonts/conf.d/30-metric-aliases.conf +56 -16
- data/vendor/local/etc/fonts/conf.d/30-urw-aliases.conf +11 -2
- data/vendor/local/etc/fonts/conf.d/45-latin.conf +4 -0
- data/vendor/local/etc/fonts/conf.d/60-latin.conf +1 -0
- data/vendor/local/include/cairo/cairo-pdf.h +7 -8
- data/vendor/local/include/cairo/cairo-version.h +1 -1
- data/vendor/local/include/fontconfig/fontconfig.h +3 -2
- data/vendor/local/include/freetype2/freetype/config/ftconfig.h +10 -1
- data/vendor/local/include/freetype2/freetype/config/ftheader.h +14 -1
- data/vendor/local/include/freetype2/freetype/config/ftoption.h +79 -22
- data/vendor/local/include/freetype2/freetype/config/ftstdlib.h +1 -1
- data/vendor/local/include/freetype2/freetype/freetype.h +616 -400
- data/vendor/local/include/freetype2/freetype/ftadvanc.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftautoh.h +32 -10
- data/vendor/local/include/freetype2/freetype/ftbbox.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftbdf.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftbitmap.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftbzip2.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftcache.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftcffdrv.h +47 -1
- data/vendor/local/include/freetype2/freetype/ftchapters.h +1 -0
- data/vendor/local/include/freetype2/freetype/ftcid.h +1 -1
- data/vendor/local/include/freetype2/freetype/fterrdef.h +5 -1
- data/vendor/local/include/freetype2/freetype/fterrors.h +5 -5
- data/vendor/local/include/freetype2/freetype/ftfntfmt.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftgasp.h +12 -4
- data/vendor/local/include/freetype2/freetype/ftglyph.h +11 -2
- data/vendor/local/include/freetype2/freetype/ftgxval.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftgzip.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftimage.h +12 -12
- data/vendor/local/include/freetype2/freetype/ftincrem.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftlcdfil.h +46 -10
- data/vendor/local/include/freetype2/freetype/ftlist.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftlzw.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftmac.h +6 -5
- data/vendor/local/include/freetype2/freetype/ftmm.h +147 -58
- data/vendor/local/include/freetype2/freetype/ftmodapi.h +46 -3
- data/vendor/local/include/freetype2/freetype/ftmoderr.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftotval.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftoutln.h +4 -1
- data/vendor/local/include/freetype2/freetype/ftpcfdrv.h +105 -0
- data/vendor/local/include/freetype2/freetype/ftpfr.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftrender.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftsizes.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftsnames.h +117 -30
- data/vendor/local/include/freetype2/freetype/ftstroke.h +2 -2
- data/vendor/local/include/freetype2/freetype/ftsynth.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftsystem.h +1 -1
- data/vendor/local/include/freetype2/freetype/fttrigon.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftttdrv.h +5 -6
- data/vendor/local/include/freetype2/freetype/fttypes.h +1 -1
- data/vendor/local/include/freetype2/freetype/ftwinfnt.h +1 -1
- data/vendor/local/include/freetype2/freetype/t1tables.h +3 -3
- data/vendor/local/include/freetype2/freetype/ttnameid.h +313 -314
- data/vendor/local/include/freetype2/freetype/tttables.h +190 -173
- data/vendor/local/include/freetype2/freetype/tttags.h +7 -1
- data/vendor/local/include/freetype2/freetype/ttunpat.h +2 -2
- data/vendor/local/include/freetype2/ft2build.h +1 -1
- data/vendor/local/include/libpng16/png.h +29 -18
- data/vendor/local/include/libpng16/pngconf.h +1 -1
- data/vendor/local/include/libpng16/pnglibconf.h +5 -2
- data/vendor/local/include/libxml2/libxml/HTMLparser.h +2 -2
- data/vendor/local/include/libxml2/libxml/schemasInternals.h +1 -1
- data/vendor/local/include/libxml2/libxml/xmlreader.h +1 -1
- data/vendor/local/include/libxml2/libxml/xmlversion.h +4 -4
- data/vendor/local/include/png.h +29 -18
- data/vendor/local/include/pngconf.h +1 -1
- data/vendor/local/include/pnglibconf.h +5 -2
- data/vendor/local/lib/cmake/libxml2/libxml2-config.cmake +2 -2
- data/vendor/local/lib/fontconfig.def +1 -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 +2 -2
- 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 +2 -2
- data/vendor/local/lib/libcairo.a +0 -0
- data/vendor/local/lib/libcairo.dll.a +0 -0
- data/vendor/local/lib/libcairo.la +2 -2
- data/vendor/local/lib/libfontconfig.dll.a +0 -0
- data/vendor/local/lib/libfontconfig.la +1 -1
- data/vendor/local/lib/libfreetype.a +0 -0
- data/vendor/local/lib/libfreetype.dll.a +0 -0
- data/vendor/local/lib/libfreetype.la +2 -2
- data/vendor/local/lib/libpixman-1.dll.a +0 -0
- data/vendor/local/lib/libpng.a +0 -0
- data/vendor/local/lib/libpng.dll.a +0 -0
- data/vendor/local/lib/libpng.la +2 -2
- data/vendor/local/lib/libpng16.a +0 -0
- data/vendor/local/lib/libpng16.dll.a +0 -0
- data/vendor/local/lib/libpng16.la +2 -2
- data/vendor/local/lib/libxml2.a +0 -0
- data/vendor/local/lib/libxml2.dll.a +0 -0
- data/vendor/local/lib/libxml2.la +1 -1
- 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 +1 -1
- 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 +1 -1
- data/vendor/local/lib/pkgconfig/fontconfig.pc +2 -2
- data/vendor/local/lib/pkgconfig/freetype2.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpng.pc +2 -1
- data/vendor/local/lib/pkgconfig/libpng16.pc +2 -1
- data/vendor/local/lib/pkgconfig/libxml-2.0.pc +1 -1
- data/vendor/local/lib/xml2Conf.sh +1 -1
- data/vendor/local/share/aclocal/freetype2.m4 +1 -1
- data/vendor/local/share/aclocal/libxml.m4 +1 -1
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/Copyright +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/examples/testHTML.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/examples/testSAX.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/examples/testXPath.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/examples/xmllint.c +78 -78
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/DOM.gif +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/FAQ.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/Libxml2-Logo-180x168.gif +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/Libxml2-Logo-90x34.gif +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/encoding.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/examples.xml +256 -256
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/examples.xsl +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/book1.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/home.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/index.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/left.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-DOCBparser.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-HTMLparser.html +4 -4
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-HTMLtree.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-SAX.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-SAX2.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-c14n.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-catalog.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-chvalid.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-debugXML.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-dict.html +2 -2
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-encoding.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-entities.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-globals.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-hash.html +2 -2
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-lib.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-list.html +2 -2
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-nanoftp.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-nanohttp.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-parser.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-parserInternals.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-pattern.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-relaxng.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-schemasInternals.html +1 -1
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-schematron.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-threads.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-tree.html +1 -1
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-uri.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-valid.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xinclude.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xlink.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlIO.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlautomata.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlerror.html +2 -2
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlexports.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlmemory.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlmodule.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlreader.html +2 -2
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlregexp.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlsave.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlschemas.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlschemastypes.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlstring.html +3 -3
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlunicode.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlversion.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlwriter.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xpath.html +1 -1
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xpathInternals.html +1 -1
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xpointer.html +1 -1
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xzlib.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/right.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/up.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/index.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/io1.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/io1.res +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/io2.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/io2.res +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/libxml.gif +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/parse1.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/parse2.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/parse3.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/parse4.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/reader1.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/reader1.res +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/reader2.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/reader3.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/reader3.res +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/reader4.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/reader4.res +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/redhat.gif +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/smallfootonly.gif +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/structure.gif +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/test1.xml +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/test2.xml +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/test3.xml +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/testWriter.c +16 -16
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tree1.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tree1.res +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tree2.c +1 -2
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tree2.res +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tst.xml +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/apa.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/apb.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/apc.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/apd.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ape.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/apf.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/apg.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/aph.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/api.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ar01s02.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ar01s03.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ar01s04.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ar01s05.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ar01s06.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ar01s07.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ar01s08.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ar01s09.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/blank.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/1.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/10.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/2.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/3.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/4.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/5.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/6.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/7.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/8.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/9.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/caution.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/draft.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/home.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/important.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/next.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/note.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/prev.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/tip.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/toc-blank.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/toc-minus.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/toc-plus.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/up.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/warning.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/includeaddattribute.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/includeaddkeyword.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/includeconvert.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/includegetattribute.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/includekeyword.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/includexpath.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/index.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ix01.html +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/xmltutorial.pdf +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/w3c.png +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/writer.xml +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/xml.html +154 -8
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/xpath1.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/xpath1.res +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/xpath2.c +0 -0
- data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/xpath2.res +0 -0
- data/vendor/local/share/fontconfig/conf.avail/30-metric-aliases.conf +56 -16
- data/vendor/local/share/fontconfig/conf.avail/30-urw-aliases.conf +11 -2
- data/vendor/local/share/fontconfig/conf.avail/45-latin.conf +4 -0
- data/vendor/local/share/fontconfig/conf.avail/60-latin.conf +1 -0
- data/vendor/local/share/gtk-doc/html/cairo/bindings-errors.html +5 -6
- data/vendor/local/share/gtk-doc/html/cairo/bindings-fonts.html +5 -6
- data/vendor/local/share/gtk-doc/html/cairo/bindings-memory.html +5 -6
- data/vendor/local/share/gtk-doc/html/cairo/bindings-overloading.html +5 -6
- data/vendor/local/share/gtk-doc/html/cairo/bindings-path.html +5 -6
- data/vendor/local/share/gtk-doc/html/cairo/bindings-patterns.html +5 -6
- data/vendor/local/share/gtk-doc/html/cairo/bindings-return-values.html +5 -6
- data/vendor/local/share/gtk-doc/html/cairo/bindings-streams.html +5 -6
- data/vendor/local/share/gtk-doc/html/cairo/bindings-surfaces.html +5 -6
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Error-handling.html +17 -25
- data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +42 -53
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +48 -63
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +68 -78
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PNG-Support.html +34 -47
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Paths.html +82 -92
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +50 -61
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-(CGFont)-Fonts.html +18 -27
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html +22 -32
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Raster-Sources.html +64 -79
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html +21 -30
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Regions.html +99 -125
- data/vendor/local/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +31 -41
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Script-Surfaces.html +43 -56
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Tags-and-Links.html +23 -29
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Transformations.html +41 -48
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Types.html +19 -26
- data/vendor/local/share/gtk-doc/html/cairo/cairo-User-Fonts.html +56 -72
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Version-Information.html +28 -39
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +39 -51
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +34 -47
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XCB-Surfaces.html +45 -57
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +62 -79
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-XRender-Backend.html +18 -27
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-device-t.html +53 -95
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +40 -53
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html +71 -87
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html +49 -57
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html +158 -189
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html +76 -92
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +146 -164
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-t.html +234 -264
- data/vendor/local/share/gtk-doc/html/cairo/cairo-drawing.html +5 -6
- data/vendor/local/share/gtk-doc/html/cairo/cairo-fonts.html +5 -6
- data/vendor/local/share/gtk-doc/html/cairo/cairo-support.html +5 -6
- data/vendor/local/share/gtk-doc/html/cairo/cairo-surfaces.html +5 -6
- data/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +104 -119
- data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +236 -6
- data/vendor/local/share/gtk-doc/html/cairo/index-1.10.html +62 -63
- data/vendor/local/share/gtk-doc/html/cairo/index-1.12.html +69 -70
- data/vendor/local/share/gtk-doc/html/cairo/index-1.14.html +11 -12
- data/vendor/local/share/gtk-doc/html/cairo/index-1.2.html +59 -60
- data/vendor/local/share/gtk-doc/html/cairo/index-1.4.html +35 -36
- data/vendor/local/share/gtk-doc/html/cairo/index-1.6.html +28 -29
- data/vendor/local/share/gtk-doc/html/cairo/index-1.8.html +39 -40
- data/vendor/local/share/gtk-doc/html/cairo/index-all.html +510 -511
- data/vendor/local/share/gtk-doc/html/cairo/index.html +4 -5
- data/vendor/local/share/gtk-doc/html/cairo/language-bindings.html +5 -6
- data/vendor/local/share/gtk-doc/html/cairo/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/style.css +160 -142
- data/vendor/local/share/gtk-doc/html/cairo/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +4 -4
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +2 -2
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +2 -2
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +2 -2
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +1 -1
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +1 -1
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +2 -2
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +2 -2
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +3 -3
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +1 -1
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +1 -1
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +1 -1
- data/vendor/local/share/license/cairo/README +1 -1
- data/vendor/local/share/license/fontconfig/README +58 -2
- data/vendor/local/share/license/freetype/README +5 -5
- data/vendor/local/share/license/freetype/README.git +1 -1
- data/vendor/local/share/license/libpng/README +6 -6
- data/vendor/local/share/license/libxml2/README.zOS +212 -0
- data/vendor/local/share/man/man1/freetype-config.1 +44 -6
- data/vendor/local/share/man/man3/libpng.3 +106 -48
- data/vendor/local/share/man/man3/libpngpf.3 +4 -4
- data/vendor/local/share/man/man5/png.5 +5 -5
- metadata +175 -174
- data/vendor/local/share/gtk-doc/html/cairo/index.sgml +0 -764
@@ -2,21 +2,20 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Cairo: A Vector Graphics Library
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
5
|
+
<title>Image Surfaces: Cairo: A Vector Graphics Library</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
8
|
<link rel="up" href="cairo-surfaces.html" title="Surfaces">
|
9
9
|
<link rel="prev" href="cairo-cairo-surface-t.html" title="cairo_surface_t">
|
10
10
|
<link rel="next" href="cairo-PDF-Surfaces.html" title="PDF Surfaces">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25 (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">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
16
|
<td width="100%" align="left" class="shortcuts">
|
17
|
-
<a href="#" class="shortcut">Top</a><span id="nav_description">
|
18
|
-
<a href="#cairo-Image-Surfaces.description" class="shortcut">Description</a></span
|
19
|
-
<a href="#cairo-Image-Surfaces.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#cairo-Image-Surfaces.description" class="shortcut">Description</a></span>
|
20
19
|
</td>
|
21
20
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
21
|
<td><a accesskey="u" href="cairo-surfaces.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -34,7 +33,7 @@
|
|
34
33
|
</tr></table></div>
|
35
34
|
<div class="refsect1">
|
36
35
|
<a name="cairo-Image-Surfaces.functions"></a><h2>Functions</h2>
|
37
|
-
<div class="informaltable"><table width="100%" border="0">
|
36
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
38
37
|
<colgroup>
|
39
38
|
<col width="150px" class="functions_return">
|
40
39
|
<col class="functions_name">
|
@@ -108,7 +107,7 @@
|
|
108
107
|
</div>
|
109
108
|
<div class="refsect1">
|
110
109
|
<a name="cairo-Image-Surfaces.other"></a><h2>Types and Values</h2>
|
111
|
-
<div class="informaltable"><table width="100%" border="0">
|
110
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
112
111
|
<colgroup>
|
113
112
|
<col width="150px" class="name">
|
114
113
|
<col class="description">
|
@@ -126,11 +125,6 @@
|
|
126
125
|
</table></div>
|
127
126
|
</div>
|
128
127
|
<div class="refsect1">
|
129
|
-
<a name="cairo-Image-Surfaces.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
130
|
-
<pre class="screen">
|
131
|
-
</pre>
|
132
|
-
</div>
|
133
|
-
<div class="refsect1">
|
134
128
|
<a name="cairo-Image-Surfaces.description"></a><h2>Description</h2>
|
135
129
|
<p>Image surfaces provide the ability to render to memory buffers
|
136
130
|
either allocated by cairo or by the calling code. The supported
|
@@ -158,8 +152,8 @@ surface = cairo_image_surface_create_for_data (data, format,
|
|
158
152
|
stride);
|
159
153
|
</pre></div>
|
160
154
|
<div class="refsect3">
|
161
|
-
<a name="
|
162
|
-
<div class="informaltable"><table width="100%" border="0">
|
155
|
+
<a name="cairo-format-stride-for-width.parameters"></a><h4>Parameters</h4>
|
156
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
163
157
|
<colgroup>
|
164
158
|
<col width="150px" class="parameters_name">
|
165
159
|
<col class="parameters_description">
|
@@ -180,13 +174,12 @@ surface = cairo_image_surface_create_for_data (data, format,
|
|
180
174
|
</table></div>
|
181
175
|
</div>
|
182
176
|
<div class="refsect3">
|
183
|
-
<a name="
|
177
|
+
<a name="cairo-format-stride-for-width.returns"></a><h4>Returns</h4>
|
184
178
|
<p> the appropriate stride to use given the desired
|
185
179
|
format and width, or -1 if either the format is invalid or the width
|
186
180
|
too large.</p>
|
187
|
-
<p></p>
|
188
181
|
</div>
|
189
|
-
<p class="since">Since 1.6</p>
|
182
|
+
<p class="since">Since: 1.6</p>
|
190
183
|
</div>
|
191
184
|
<hr>
|
192
185
|
<div class="refsect2">
|
@@ -196,13 +189,13 @@ cairo_image_surface_create (<em class="parameter"><code><a class="link" href="ca
|
|
196
189
|
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
197
190
|
<em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
|
198
191
|
<p>Creates an image surface of the specified format and
|
199
|
-
dimensions. Initially the surface contents are
|
200
|
-
|
192
|
+
dimensions. Initially the surface contents are set to 0.
|
193
|
+
(Specifically, within each pixel, each color or alpha channel
|
201
194
|
belonging to format will be 0. The contents of bits within a pixel,
|
202
|
-
but not belonging to the given format are undefined).</p
|
195
|
+
but not belonging to the given format are undefined).</p>
|
203
196
|
<div class="refsect3">
|
204
|
-
<a name="
|
205
|
-
<div class="informaltable"><table width="100%" border="0">
|
197
|
+
<a name="cairo-image-surface-create.parameters"></a><h4>Parameters</h4>
|
198
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
206
199
|
<colgroup>
|
207
200
|
<col width="150px" class="parameters_name">
|
208
201
|
<col class="parameters_description">
|
@@ -228,16 +221,15 @@ but not belonging to the given format are undefined).</p></li></ol></div>
|
|
228
221
|
</table></div>
|
229
222
|
</div>
|
230
223
|
<div class="refsect3">
|
231
|
-
<a name="
|
224
|
+
<a name="cairo-image-surface-create.returns"></a><h4>Returns</h4>
|
232
225
|
<p> a pointer to the newly created surface. The caller
|
233
226
|
owns the surface and should call <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-destroy" title="cairo_surface_destroy ()"><code class="function">cairo_surface_destroy()</code></a> when done
|
234
227
|
with it.</p>
|
235
228
|
<p>This function always returns a valid pointer, but it will return a
|
236
229
|
pointer to a "nil" surface if an error such as out of memory
|
237
230
|
occurs. You can use <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-status" title="cairo_surface_status ()"><code class="function">cairo_surface_status()</code></a> to check for this.</p>
|
238
|
-
<p></p>
|
239
231
|
</div>
|
240
|
-
<p class="since">Since 1.0</p>
|
232
|
+
<p class="since">Since: 1.0</p>
|
241
233
|
</div>
|
242
234
|
<hr>
|
243
235
|
<div class="refsect2">
|
@@ -264,8 +256,8 @@ maximum image width value, and then use the resulting stride value
|
|
264
256
|
to allocate the data and to create the image surface. See
|
265
257
|
<a class="link" href="cairo-Image-Surfaces.html#cairo-format-stride-for-width" title="cairo_format_stride_for_width ()"><code class="function">cairo_format_stride_for_width()</code></a> for example code.</p>
|
266
258
|
<div class="refsect3">
|
267
|
-
<a name="
|
268
|
-
<div class="informaltable"><table width="100%" border="0">
|
259
|
+
<a name="cairo-image-surface-create-for-data.parameters"></a><h4>Parameters</h4>
|
260
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
269
261
|
<colgroup>
|
270
262
|
<col width="150px" class="parameters_name">
|
271
263
|
<col class="parameters_description">
|
@@ -306,7 +298,7 @@ buffer.</p></td>
|
|
306
298
|
</table></div>
|
307
299
|
</div>
|
308
300
|
<div class="refsect3">
|
309
|
-
<a name="
|
301
|
+
<a name="cairo-image-surface-create-for-data.returns"></a><h4>Returns</h4>
|
310
302
|
<p> a pointer to the newly created surface. The caller
|
311
303
|
owns the surface and should call <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-destroy" title="cairo_surface_destroy ()"><code class="function">cairo_surface_destroy()</code></a> when done
|
312
304
|
with it.</p>
|
@@ -318,9 +310,8 @@ the error status of the returned surface will be
|
|
318
310
|
<a class="link" href="cairo-cairo-surface-t.html#cairo-surface-status" title="cairo_surface_status ()"><code class="function">cairo_surface_status()</code></a> to check for this.</p>
|
319
311
|
<p>See <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-set-user-data" title="cairo_surface_set_user_data ()"><code class="function">cairo_surface_set_user_data()</code></a> for a means of attaching a
|
320
312
|
destroy-notification fallback to the surface if necessary.</p>
|
321
|
-
<p></p>
|
322
313
|
</div>
|
323
|
-
<p class="since">Since 1.0</p>
|
314
|
+
<p class="since">Since: 1.0</p>
|
324
315
|
</div>
|
325
316
|
<hr>
|
326
317
|
<div class="refsect2">
|
@@ -334,8 +325,8 @@ pixel data to ensure that all pending drawing operations are
|
|
334
325
|
finished. A call to <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-mark-dirty" title="cairo_surface_mark_dirty ()"><code class="function">cairo_surface_mark_dirty()</code></a> is required after
|
335
326
|
the data is modified.</p>
|
336
327
|
<div class="refsect3">
|
337
|
-
<a name="
|
338
|
-
<div class="informaltable"><table width="100%" border="0">
|
328
|
+
<a name="cairo-image-surface-get-data.parameters"></a><h4>Parameters</h4>
|
329
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
339
330
|
<colgroup>
|
340
331
|
<col width="150px" class="parameters_name">
|
341
332
|
<col class="parameters_description">
|
@@ -349,14 +340,13 @@ the data is modified.</p>
|
|
349
340
|
</table></div>
|
350
341
|
</div>
|
351
342
|
<div class="refsect3">
|
352
|
-
<a name="
|
343
|
+
<a name="cairo-image-surface-get-data.returns"></a><h4>Returns</h4>
|
353
344
|
<p> a pointer to the image data of this surface or <code class="literal">NULL</code>
|
354
345
|
if <em class="parameter"><code>surface</code></em>
|
355
346
|
is not an image surface, or if <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-finish" title="cairo_surface_finish ()"><code class="function">cairo_surface_finish()</code></a>
|
356
347
|
has been called.</p>
|
357
|
-
<p></p>
|
358
348
|
</div>
|
359
|
-
<p class="since">Since 1.2</p>
|
349
|
+
<p class="since">Since: 1.2</p>
|
360
350
|
</div>
|
361
351
|
<hr>
|
362
352
|
<div class="refsect2">
|
@@ -365,8 +355,8 @@ has been called.</p>
|
|
365
355
|
cairo_image_surface_get_format (<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>
|
366
356
|
<p>Get the format of the surface.</p>
|
367
357
|
<div class="refsect3">
|
368
|
-
<a name="
|
369
|
-
<div class="informaltable"><table width="100%" border="0">
|
358
|
+
<a name="cairo-image-surface-get-format.parameters"></a><h4>Parameters</h4>
|
359
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
370
360
|
<colgroup>
|
371
361
|
<col width="150px" class="parameters_name">
|
372
362
|
<col class="parameters_description">
|
@@ -380,11 +370,10 @@ cairo_image_surface_get_format (<em class="parameter"><code><a class="link" href
|
|
380
370
|
</table></div>
|
381
371
|
</div>
|
382
372
|
<div class="refsect3">
|
383
|
-
<a name="
|
373
|
+
<a name="cairo-image-surface-get-format.returns"></a><h4>Returns</h4>
|
384
374
|
<p> the format of the surface</p>
|
385
|
-
<p></p>
|
386
375
|
</div>
|
387
|
-
<p class="since">Since 1.2</p>
|
376
|
+
<p class="since">Since: 1.2</p>
|
388
377
|
</div>
|
389
378
|
<hr>
|
390
379
|
<div class="refsect2">
|
@@ -393,8 +382,8 @@ cairo_image_surface_get_format (<em class="parameter"><code><a class="link" href
|
|
393
382
|
cairo_image_surface_get_width (<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>
|
394
383
|
<p>Get the width of the image surface in pixels.</p>
|
395
384
|
<div class="refsect3">
|
396
|
-
<a name="
|
397
|
-
<div class="informaltable"><table width="100%" border="0">
|
385
|
+
<a name="cairo-image-surface-get-width.parameters"></a><h4>Parameters</h4>
|
386
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
398
387
|
<colgroup>
|
399
388
|
<col width="150px" class="parameters_name">
|
400
389
|
<col class="parameters_description">
|
@@ -408,11 +397,10 @@ cairo_image_surface_get_width (<em class="parameter"><code><a class="link" href=
|
|
408
397
|
</table></div>
|
409
398
|
</div>
|
410
399
|
<div class="refsect3">
|
411
|
-
<a name="
|
400
|
+
<a name="cairo-image-surface-get-width.returns"></a><h4>Returns</h4>
|
412
401
|
<p> the width of the surface in pixels.</p>
|
413
|
-
<p></p>
|
414
402
|
</div>
|
415
|
-
<p class="since">Since 1.0</p>
|
403
|
+
<p class="since">Since: 1.0</p>
|
416
404
|
</div>
|
417
405
|
<hr>
|
418
406
|
<div class="refsect2">
|
@@ -421,8 +409,8 @@ cairo_image_surface_get_width (<em class="parameter"><code><a class="link" href=
|
|
421
409
|
cairo_image_surface_get_height (<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>
|
422
410
|
<p>Get the height of the image surface in pixels.</p>
|
423
411
|
<div class="refsect3">
|
424
|
-
<a name="
|
425
|
-
<div class="informaltable"><table width="100%" border="0">
|
412
|
+
<a name="cairo-image-surface-get-height.parameters"></a><h4>Parameters</h4>
|
413
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
426
414
|
<colgroup>
|
427
415
|
<col width="150px" class="parameters_name">
|
428
416
|
<col class="parameters_description">
|
@@ -436,11 +424,10 @@ cairo_image_surface_get_height (<em class="parameter"><code><a class="link" href
|
|
436
424
|
</table></div>
|
437
425
|
</div>
|
438
426
|
<div class="refsect3">
|
439
|
-
<a name="
|
427
|
+
<a name="cairo-image-surface-get-height.returns"></a><h4>Returns</h4>
|
440
428
|
<p> the height of the surface in pixels.</p>
|
441
|
-
<p></p>
|
442
429
|
</div>
|
443
|
-
<p class="since">Since 1.0</p>
|
430
|
+
<p class="since">Since: 1.0</p>
|
444
431
|
</div>
|
445
432
|
<hr>
|
446
433
|
<div class="refsect2">
|
@@ -449,8 +436,8 @@ cairo_image_surface_get_height (<em class="parameter"><code><a class="link" href
|
|
449
436
|
cairo_image_surface_get_stride (<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>
|
450
437
|
<p>Get the stride of the image surface in bytes</p>
|
451
438
|
<div class="refsect3">
|
452
|
-
<a name="
|
453
|
-
<div class="informaltable"><table width="100%" border="0">
|
439
|
+
<a name="cairo-image-surface-get-stride.parameters"></a><h4>Parameters</h4>
|
440
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
454
441
|
<colgroup>
|
455
442
|
<col width="150px" class="parameters_name">
|
456
443
|
<col class="parameters_description">
|
@@ -464,15 +451,14 @@ cairo_image_surface_get_stride (<em class="parameter"><code><a class="link" href
|
|
464
451
|
</table></div>
|
465
452
|
</div>
|
466
453
|
<div class="refsect3">
|
467
|
-
<a name="
|
454
|
+
<a name="cairo-image-surface-get-stride.returns"></a><h4>Returns</h4>
|
468
455
|
<p> the stride of the image surface in bytes (or 0 if
|
469
456
|
<em class="parameter"><code>surface</code></em>
|
470
457
|
is not an image surface). The stride is the distance in
|
471
458
|
bytes from the beginning of one row of the image data to the
|
472
459
|
beginning of the next row.</p>
|
473
|
-
<p></p>
|
474
460
|
</div>
|
475
|
-
<p class="since">Since 1.2</p>
|
461
|
+
<p class="since">Since: 1.2</p>
|
476
462
|
</div>
|
477
463
|
</div>
|
478
464
|
<div class="refsect1">
|
@@ -484,7 +470,7 @@ beginning of the next row.</p>
|
|
484
470
|
<p>Defined if the image surface backend is available.
|
485
471
|
The image surface backend is always built in.
|
486
472
|
This macro was added for completeness in cairo 1.8.</p>
|
487
|
-
<p class="since">Since 1.8</p>
|
473
|
+
<p class="since">Since: 1.8</p>
|
488
474
|
</div>
|
489
475
|
<hr>
|
490
476
|
<div class="refsect2">
|
@@ -493,8 +479,8 @@ This macro was added for completeness in cairo 1.8.</p>
|
|
493
479
|
image data.</p>
|
494
480
|
<p>New entries may be added in future versions.</p>
|
495
481
|
<div class="refsect3">
|
496
|
-
<a name="
|
497
|
-
<div class="informaltable"><table width="100%" border="0">
|
482
|
+
<a name="cairo-format-t.members"></a><h4>Members</h4>
|
483
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
498
484
|
<colgroup>
|
499
485
|
<col width="300px" class="enum_members_name">
|
500
486
|
<col class="enum_members_description">
|
@@ -567,7 +553,7 @@ image data.</p>
|
|
567
553
|
</tbody>
|
568
554
|
</table></div>
|
569
555
|
</div>
|
570
|
-
<p class="since">Since 1.0</p>
|
556
|
+
<p class="since">Since: 1.0</p>
|
571
557
|
</div>
|
572
558
|
</div>
|
573
559
|
<div class="refsect1">
|
@@ -576,7 +562,6 @@ image data.</p>
|
|
576
562
|
</div>
|
577
563
|
</div>
|
578
564
|
<div class="footer">
|
579
|
-
<hr>
|
580
|
-
Generated by GTK-Doc V1.20</div>
|
565
|
+
<hr>Generated by GTK-Doc V1.25</div>
|
581
566
|
</body>
|
582
567
|
</html>
|
@@ -2,21 +2,20 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Cairo: A Vector Graphics Library
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
5
|
+
<title>PDF Surfaces: Cairo: A Vector Graphics Library</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
8
|
<link rel="up" href="cairo-surfaces.html" title="Surfaces">
|
9
9
|
<link rel="prev" href="cairo-Image-Surfaces.html" title="Image Surfaces">
|
10
10
|
<link rel="next" href="cairo-PNG-Support.html" title="PNG Support">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25 (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">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
16
|
<td width="100%" align="left" class="shortcuts">
|
17
|
-
<a href="#" class="shortcut">Top</a><span id="nav_description">
|
18
|
-
<a href="#cairo-PDF-Surfaces.description" class="shortcut">Description</a></span
|
19
|
-
<a href="#cairo-PDF-Surfaces.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#cairo-PDF-Surfaces.description" class="shortcut">Description</a></span>
|
20
19
|
</td>
|
21
20
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
21
|
<td><a accesskey="u" href="cairo-surfaces.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -34,7 +33,7 @@
|
|
34
33
|
</tr></table></div>
|
35
34
|
<div class="refsect1">
|
36
35
|
<a name="cairo-PDF-Surfaces.functions"></a><h2>Functions</h2>
|
37
|
-
<div class="informaltable"><table width="100%" border="0">
|
36
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
38
37
|
<colgroup>
|
39
38
|
<col width="150px" class="functions_return">
|
40
39
|
<col class="functions_name">
|
@@ -124,7 +123,7 @@
|
|
124
123
|
</div>
|
125
124
|
<div class="refsect1">
|
126
125
|
<a name="cairo-PDF-Surfaces.other"></a><h2>Types and Values</h2>
|
127
|
-
<div class="informaltable"><table width="100%" border="0">
|
126
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
128
127
|
<colgroup>
|
129
128
|
<col width="150px" class="name">
|
130
129
|
<col class="description">
|
@@ -154,11 +153,6 @@
|
|
154
153
|
</table></div>
|
155
154
|
</div>
|
156
155
|
<div class="refsect1">
|
157
|
-
<a name="cairo-PDF-Surfaces.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
158
|
-
<pre class="screen">
|
159
|
-
</pre>
|
160
|
-
</div>
|
161
|
-
<div class="refsect1">
|
162
156
|
<a name="cairo-PDF-Surfaces.description"></a><h2>Description</h2>
|
163
157
|
<p>The PDF surface is used to render cairo graphics to Adobe
|
164
158
|
PDF files and is a multi-page vector surface backend.</p>
|
@@ -190,8 +184,8 @@ cairo_pdf_surface_create (<em class="parameter"><code>const <span class="type">c
|
|
190
184
|
to <em class="parameter"><code>filename</code></em>
|
191
185
|
.</p>
|
192
186
|
<div class="refsect3">
|
193
|
-
<a name="
|
194
|
-
<div class="informaltable"><table width="100%" border="0">
|
187
|
+
<a name="cairo-pdf-surface-create.parameters"></a><h4>Parameters</h4>
|
188
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
195
189
|
<colgroup>
|
196
190
|
<col width="150px" class="parameters_name">
|
197
191
|
<col class="parameters_description">
|
@@ -220,16 +214,15 @@ temporary file.</p></td>
|
|
220
214
|
</table></div>
|
221
215
|
</div>
|
222
216
|
<div class="refsect3">
|
223
|
-
<a name="
|
217
|
+
<a name="cairo-pdf-surface-create.returns"></a><h4>Returns</h4>
|
224
218
|
<p> a pointer to the newly created surface. The caller
|
225
219
|
owns the surface and should call <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-destroy" title="cairo_surface_destroy ()"><code class="function">cairo_surface_destroy()</code></a> when done
|
226
220
|
with it.</p>
|
227
221
|
<p>This function always returns a valid pointer, but it will return a
|
228
222
|
pointer to a "nil" surface if an error such as out of memory
|
229
223
|
occurs. You can use <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-status" title="cairo_surface_status ()"><code class="function">cairo_surface_status()</code></a> to check for this.</p>
|
230
|
-
<p></p>
|
231
224
|
</div>
|
232
|
-
<p class="since">Since 1.2</p>
|
225
|
+
<p class="since">Since: 1.2</p>
|
233
226
|
</div>
|
234
227
|
<hr>
|
235
228
|
<div class="refsect2">
|
@@ -244,8 +237,8 @@ incrementally to the stream represented by <em class="parameter"><code>write_fun
|
|
244
237
|
and <em class="parameter"><code>closure</code></em>
|
245
238
|
.</p>
|
246
239
|
<div class="refsect3">
|
247
|
-
<a name="
|
248
|
-
<div class="informaltable"><table width="100%" border="0">
|
240
|
+
<a name="cairo-pdf-surface-create-for-stream.parameters"></a><h4>Parameters</h4>
|
241
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
249
242
|
<colgroup>
|
250
243
|
<col width="150px" class="parameters_name">
|
251
244
|
<col class="parameters_description">
|
@@ -282,16 +275,15 @@ generating any temporary files.</p></td>
|
|
282
275
|
</table></div>
|
283
276
|
</div>
|
284
277
|
<div class="refsect3">
|
285
|
-
<a name="
|
278
|
+
<a name="cairo-pdf-surface-create-for-stream.returns"></a><h4>Returns</h4>
|
286
279
|
<p> a pointer to the newly created surface. The caller
|
287
280
|
owns the surface and should call <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-destroy" title="cairo_surface_destroy ()"><code class="function">cairo_surface_destroy()</code></a> when done
|
288
281
|
with it.</p>
|
289
282
|
<p>This function always returns a valid pointer, but it will return a
|
290
283
|
pointer to a "nil" surface if an error such as out of memory
|
291
284
|
occurs. You can use <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-status" title="cairo_surface_status ()"><code class="function">cairo_surface_status()</code></a> to check for this.</p>
|
292
|
-
<p></p>
|
293
285
|
</div>
|
294
|
-
<p class="since">Since 1.2</p>
|
286
|
+
<p class="since">Since: 1.2</p>
|
295
287
|
</div>
|
296
288
|
<hr>
|
297
289
|
<div class="refsect2">
|
@@ -307,8 +299,8 @@ have been performed on the given surface. The simplest way to do
|
|
307
299
|
this is to call this function immediately after creating the
|
308
300
|
surface.</p>
|
309
301
|
<div class="refsect3">
|
310
|
-
<a name="
|
311
|
-
<div class="informaltable"><table width="100%" border="0">
|
302
|
+
<a name="cairo-pdf-surface-restrict-to-version.parameters"></a><h4>Parameters</h4>
|
303
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
312
304
|
<colgroup>
|
313
305
|
<col width="150px" class="parameters_name">
|
314
306
|
<col class="parameters_description">
|
@@ -328,7 +320,7 @@ surface.</p>
|
|
328
320
|
</tbody>
|
329
321
|
</table></div>
|
330
322
|
</div>
|
331
|
-
<p class="since">Since 1.10</p>
|
323
|
+
<p class="since">Since: 1.10</p>
|
332
324
|
</div>
|
333
325
|
<hr>
|
334
326
|
<div class="refsect2">
|
@@ -339,8 +331,8 @@ cairo_pdf_get_versions (<em class="parameter"><code><a class="link" href="cairo-
|
|
339
331
|
<p>Used to retrieve the list of supported versions. See
|
340
332
|
<a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-surface-restrict-to-version" title="cairo_pdf_surface_restrict_to_version ()"><code class="function">cairo_pdf_surface_restrict_to_version()</code></a>.</p>
|
341
333
|
<div class="refsect3">
|
342
|
-
<a name="
|
343
|
-
<div class="informaltable"><table width="100%" border="0">
|
334
|
+
<a name="cairo-pdf-get-versions.parameters"></a><h4>Parameters</h4>
|
335
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
344
336
|
<colgroup>
|
345
337
|
<col width="150px" class="parameters_name">
|
346
338
|
<col class="parameters_description">
|
@@ -360,7 +352,7 @@ cairo_pdf_get_versions (<em class="parameter"><code><a class="link" href="cairo-
|
|
360
352
|
</tbody>
|
361
353
|
</table></div>
|
362
354
|
</div>
|
363
|
-
<p class="since">Since 1.10</p>
|
355
|
+
<p class="since">Since: 1.10</p>
|
364
356
|
</div>
|
365
357
|
<hr>
|
366
358
|
<div class="refsect2">
|
@@ -373,8 +365,8 @@ will return <code class="literal">NULL</code> if <em class="parameter"><code>ver
|
|
373
365
|
isn't valid. See <a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-get-versions" title="cairo_pdf_get_versions ()"><code class="function">cairo_pdf_get_versions()</code></a>
|
374
366
|
for a way to get the list of valid version ids.</p>
|
375
367
|
<div class="refsect3">
|
376
|
-
<a name="
|
377
|
-
<div class="informaltable"><table width="100%" border="0">
|
368
|
+
<a name="cairo-pdf-version-to-string.parameters"></a><h4>Parameters</h4>
|
369
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
378
370
|
<colgroup>
|
379
371
|
<col width="150px" class="parameters_name">
|
380
372
|
<col class="parameters_description">
|
@@ -388,11 +380,10 @@ for a way to get the list of valid version ids.</p>
|
|
388
380
|
</table></div>
|
389
381
|
</div>
|
390
382
|
<div class="refsect3">
|
391
|
-
<a name="
|
383
|
+
<a name="cairo-pdf-version-to-string.returns"></a><h4>Returns</h4>
|
392
384
|
<p> the string associated to given version.</p>
|
393
|
-
<p></p>
|
394
385
|
</div>
|
395
|
-
<p class="since">Since 1.10</p>
|
386
|
+
<p class="since">Since: 1.10</p>
|
396
387
|
</div>
|
397
388
|
<hr>
|
398
389
|
<div class="refsect2">
|
@@ -409,8 +400,8 @@ this is to call this function immediately after creating the
|
|
409
400
|
surface or immediately after completing a page with either
|
410
401
|
<a class="link" href="cairo-cairo-t.html#cairo-show-page" title="cairo_show_page ()"><code class="function">cairo_show_page()</code></a> or <a class="link" href="cairo-cairo-t.html#cairo-copy-page" title="cairo_copy_page ()"><code class="function">cairo_copy_page()</code></a>.</p>
|
411
402
|
<div class="refsect3">
|
412
|
-
<a name="
|
413
|
-
<div class="informaltable"><table width="100%" border="0">
|
403
|
+
<a name="cairo-pdf-surface-set-size.parameters"></a><h4>Parameters</h4>
|
404
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
414
405
|
<colgroup>
|
415
406
|
<col width="150px" class="parameters_name">
|
416
407
|
<col class="parameters_description">
|
@@ -435,7 +426,7 @@ surface or immediately after completing a page with either
|
|
435
426
|
</tbody>
|
436
427
|
</table></div>
|
437
428
|
</div>
|
438
|
-
<p class="since">Since 1.2</p>
|
429
|
+
<p class="since">Since: 1.2</p>
|
439
430
|
</div>
|
440
431
|
<hr>
|
441
432
|
<div class="refsect2">
|
@@ -444,19 +435,20 @@ surface or immediately after completing a page with either
|
|
444
435
|
cairo_pdf_surface_add_outline (<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>,
|
445
436
|
<em class="parameter"><code><span class="type">int</span> parent_id</code></em>,
|
446
437
|
<em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>,
|
447
|
-
<em class="parameter"><code>const <span class="type">char</span> *
|
438
|
+
<em class="parameter"><code>const <span class="type">char</span> *link_attribs</code></em>,
|
448
439
|
<em class="parameter"><code><a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-outline-flags-t" title="enum cairo_pdf_outline_flags_t"><span class="type">cairo_pdf_outline_flags_t</span></a> flags</code></em>);</pre>
|
449
440
|
<p>Add an item to the document outline hierarchy with the name <em class="parameter"><code>utf8</code></em>
|
450
|
-
|
451
|
-
|
452
|
-
.
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
441
|
+
|
442
|
+
that links to the location specified by <em class="parameter"><code>link_attribs</code></em>
|
443
|
+
. Link
|
444
|
+
attributes have the same keys and values as the <a class="link" href="cairo-Tags-and-Links.html#link" title="Link Tags">Link Tag</a>,
|
445
|
+
excluding the "rect" attribute. The item will be a child of the
|
446
|
+
item with id <em class="parameter"><code>parent_id</code></em>
|
447
|
+
. Use <a class="link" href="cairo-PDF-Surfaces.html#CAIRO-PDF-OUTLINE-ROOT:CAPS" title="CAIRO_PDF_OUTLINE_ROOT"><code class="literal">CAIRO_PDF_OUTLINE_ROOT</code></a> as the parent
|
448
|
+
id of top level items.</p>
|
457
449
|
<div class="refsect3">
|
458
|
-
<a name="
|
459
|
-
<div class="informaltable"><table width="100%" border="0">
|
450
|
+
<a name="cairo-pdf-surface-add-outline.parameters"></a><h4>Parameters</h4>
|
451
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
460
452
|
<colgroup>
|
461
453
|
<col width="150px" class="parameters_name">
|
462
454
|
<col class="parameters_description">
|
@@ -479,8 +471,8 @@ as the parent id of top level items.</p>
|
|
479
471
|
<td class="parameter_annotations"> </td>
|
480
472
|
</tr>
|
481
473
|
<tr>
|
482
|
-
<td class="parameter_name"><p>
|
483
|
-
<td class="parameter_description"><p>the
|
474
|
+
<td class="parameter_name"><p>link_attribs</p></td>
|
475
|
+
<td class="parameter_description"><p>the link attributes specifying where this outline links to</p></td>
|
484
476
|
<td class="parameter_annotations"> </td>
|
485
477
|
</tr>
|
486
478
|
<tr>
|
@@ -492,11 +484,10 @@ as the parent id of top level items.</p>
|
|
492
484
|
</table></div>
|
493
485
|
</div>
|
494
486
|
<div class="refsect3">
|
495
|
-
<a name="
|
487
|
+
<a name="cairo-pdf-surface-add-outline.returns"></a><h4>Returns</h4>
|
496
488
|
<p> the id for the added item.</p>
|
497
|
-
<p></p>
|
498
489
|
</div>
|
499
|
-
<p class="since">Since 1.16</p>
|
490
|
+
<p class="since">Since: 1.16</p>
|
500
491
|
</div>
|
501
492
|
<hr>
|
502
493
|
<div class="refsect2">
|
@@ -516,8 +507,8 @@ cairo_pdf_surface_set_metadata (surface, CAIRO_PDF_METADATA_TITLE, "My Document"
|
|
516
507
|
cairo_pdf_surface_set_metadata (surface, CAIRO_PDF_METADATA_CREATE_DATE, "2015-12-31T23:59+02:00");
|
517
508
|
</pre></div>
|
518
509
|
<div class="refsect3">
|
519
|
-
<a name="
|
520
|
-
<div class="informaltable"><table width="100%" border="0">
|
510
|
+
<a name="cairo-pdf-surface-set-metadata.parameters"></a><h4>Parameters</h4>
|
511
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
521
512
|
<colgroup>
|
522
513
|
<col width="150px" class="parameters_name">
|
523
514
|
<col class="parameters_description">
|
@@ -542,7 +533,7 @@ cairo_pdf_surface_set_metadata (surface, CAIRO_PDF_METADATA_CREATE_DATE, "2015-1
|
|
542
533
|
</tbody>
|
543
534
|
</table></div>
|
544
535
|
</div>
|
545
|
-
<p class="since">Since 1.16</p>
|
536
|
+
<p class="since">Since: 1.16</p>
|
546
537
|
</div>
|
547
538
|
<hr>
|
548
539
|
<div class="refsect2">
|
@@ -552,8 +543,8 @@ cairo_pdf_surface_set_page_label (<em class="parameter"><code><a class="link" hr
|
|
552
543
|
<em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>);</pre>
|
553
544
|
<p>Set page label for the current page.</p>
|
554
545
|
<div class="refsect3">
|
555
|
-
<a name="
|
556
|
-
<div class="informaltable"><table width="100%" border="0">
|
546
|
+
<a name="cairo-pdf-surface-set-page-label.parameters"></a><h4>Parameters</h4>
|
547
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
557
548
|
<colgroup>
|
558
549
|
<col width="150px" class="parameters_name">
|
559
550
|
<col class="parameters_description">
|
@@ -573,7 +564,7 @@ cairo_pdf_surface_set_page_label (<em class="parameter"><code><a class="link" hr
|
|
573
564
|
</tbody>
|
574
565
|
</table></div>
|
575
566
|
</div>
|
576
|
-
<p class="since">Since 1.16</p>
|
567
|
+
<p class="since">Since: 1.16</p>
|
577
568
|
</div>
|
578
569
|
<hr>
|
579
570
|
<div class="refsect2">
|
@@ -586,8 +577,8 @@ cairo_pdf_surface_set_thumbnail_size (<em class="parameter"><code><a class="link
|
|
586
577
|
pages. Setting a width or height of 0 disables thumbnails for the
|
587
578
|
current and subsequent pages.</p>
|
588
579
|
<div class="refsect3">
|
589
|
-
<a name="
|
590
|
-
<div class="informaltable"><table width="100%" border="0">
|
580
|
+
<a name="cairo-pdf-surface-set-thumbnail-size.parameters"></a><h4>Parameters</h4>
|
581
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
591
582
|
<colgroup>
|
592
583
|
<col width="150px" class="parameters_name">
|
593
584
|
<col class="parameters_description">
|
@@ -612,7 +603,7 @@ current and subsequent pages.</p>
|
|
612
603
|
</tbody>
|
613
604
|
</table></div>
|
614
605
|
</div>
|
615
|
-
<p class="since">Since 1.16</p>
|
606
|
+
<p class="since">Since: 1.16</p>
|
616
607
|
</div>
|
617
608
|
</div>
|
618
609
|
<div class="refsect1">
|
@@ -623,7 +614,7 @@ current and subsequent pages.</p>
|
|
623
614
|
</pre>
|
624
615
|
<p>Defined if the PDF surface backend is available.
|
625
616
|
This macro can be used to conditionally compile backend-specific code.</p>
|
626
|
-
<p class="since">Since 1.2</p>
|
617
|
+
<p class="since">Since: 1.2</p>
|
627
618
|
</div>
|
628
619
|
<hr>
|
629
620
|
<div class="refsect2">
|
@@ -631,7 +622,7 @@ This macro can be used to conditionally compile backend-specific code.</p>
|
|
631
622
|
<pre class="programlisting">#define CAIRO_PDF_OUTLINE_ROOT 0
|
632
623
|
</pre>
|
633
624
|
<p>The root outline item in <a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-surface-add-outline" title="cairo_pdf_surface_add_outline ()"><code class="function">cairo_pdf_surface_add_outline()</code></a>.</p>
|
634
|
-
<p class="since">Since 1.16</p>
|
625
|
+
<p class="since">Since: 1.16</p>
|
635
626
|
</div>
|
636
627
|
<hr>
|
637
628
|
<div class="refsect2">
|
@@ -641,8 +632,8 @@ This macro can be used to conditionally compile backend-specific code.</p>
|
|
641
632
|
an outline item. These flags may be bitwise-or'd to produce any
|
642
633
|
combination of flags.</p>
|
643
634
|
<div class="refsect3">
|
644
|
-
<a name="
|
645
|
-
<div class="informaltable"><table width="100%" border="0">
|
635
|
+
<a name="cairo-pdf-outline-flags-t.members"></a><h4>Members</h4>
|
636
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
646
637
|
<colgroup>
|
647
638
|
<col width="300px" class="enum_members_name">
|
648
639
|
<col class="enum_members_description">
|
@@ -650,21 +641,21 @@ combination of flags.</p>
|
|
650
641
|
</colgroup>
|
651
642
|
<tbody>
|
652
643
|
<tr>
|
653
|
-
<td class="enum_member_name"><p><a name="CAIRO-
|
644
|
+
<td class="enum_member_name"><p><a name="CAIRO-PDF-OUTLINE-FLAG-OPEN:CAPS"></a>CAIRO_PDF_OUTLINE_FLAG_OPEN</p></td>
|
654
645
|
<td class="enum_member_description">
|
655
646
|
<p>The outline item defaults to open in the PDF viewer (Since 1.16)</p>
|
656
647
|
</td>
|
657
648
|
<td class="enum_member_annotations"> </td>
|
658
649
|
</tr>
|
659
650
|
<tr>
|
660
|
-
<td class="enum_member_name"><p><a name="CAIRO-
|
651
|
+
<td class="enum_member_name"><p><a name="CAIRO-PDF-OUTLINE-FLAG-BOLD:CAPS"></a>CAIRO_PDF_OUTLINE_FLAG_BOLD</p></td>
|
661
652
|
<td class="enum_member_description">
|
662
653
|
<p>The outline item is displayed by the viewer in bold text (Since 1.16)</p>
|
663
654
|
</td>
|
664
655
|
<td class="enum_member_annotations"> </td>
|
665
656
|
</tr>
|
666
657
|
<tr>
|
667
|
-
<td class="enum_member_name"><p><a name="CAIRO-
|
658
|
+
<td class="enum_member_name"><p><a name="CAIRO-PDF-OUTLINE-FLAG-ITALIC:CAPS"></a>CAIRO_PDF_OUTLINE_FLAG_ITALIC</p></td>
|
668
659
|
<td class="enum_member_description">
|
669
660
|
<p>The outline item is displayed by the viewer in italic text (Since 1.16)</p>
|
670
661
|
</td>
|
@@ -673,7 +664,7 @@ combination of flags.</p>
|
|
673
664
|
</tbody>
|
674
665
|
</table></div>
|
675
666
|
</div>
|
676
|
-
<p class="since">Since 1.16</p>
|
667
|
+
<p class="since">Since: 1.16</p>
|
677
668
|
</div>
|
678
669
|
<hr>
|
679
670
|
<div class="refsect2">
|
@@ -681,8 +672,8 @@ combination of flags.</p>
|
|
681
672
|
<p><a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-metadata-t" title="enum cairo_pdf_metadata_t"><span class="type">cairo_pdf_metadata_t</span></a> is used by the
|
682
673
|
<a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-surface-set-metadata" title="cairo_pdf_surface_set_metadata ()"><code class="function">cairo_pdf_surface_set_metadata()</code></a> function specify the metadata to set.</p>
|
683
674
|
<div class="refsect3">
|
684
|
-
<a name="
|
685
|
-
<div class="informaltable"><table width="100%" border="0">
|
675
|
+
<a name="cairo-pdf-metadata-t.members"></a><h4>Members</h4>
|
676
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
686
677
|
<colgroup>
|
687
678
|
<col width="300px" class="enum_members_name">
|
688
679
|
<col class="enum_members_description">
|
@@ -741,7 +732,7 @@ combination of flags.</p>
|
|
741
732
|
</tbody>
|
742
733
|
</table></div>
|
743
734
|
</div>
|
744
|
-
<p class="since">Since 1.16</p>
|
735
|
+
<p class="since">Since: 1.16</p>
|
745
736
|
</div>
|
746
737
|
<hr>
|
747
738
|
<div class="refsect2">
|
@@ -749,8 +740,8 @@ combination of flags.</p>
|
|
749
740
|
<p><a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-version-t" title="enum cairo_pdf_version_t"><span class="type">cairo_pdf_version_t</span></a> is used to describe the version number of the PDF
|
750
741
|
specification that a generated PDF file will conform to.</p>
|
751
742
|
<div class="refsect3">
|
752
|
-
<a name="
|
753
|
-
<div class="informaltable"><table width="100%" border="0">
|
743
|
+
<a name="cairo-pdf-version-t.members"></a><h4>Members</h4>
|
744
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
754
745
|
<colgroup>
|
755
746
|
<col width="300px" class="enum_members_name">
|
756
747
|
<col class="enum_members_description">
|
@@ -774,7 +765,7 @@ specification that a generated PDF file will conform to.</p>
|
|
774
765
|
</tbody>
|
775
766
|
</table></div>
|
776
767
|
</div>
|
777
|
-
<p class="since">Since 1.10</p>
|
768
|
+
<p class="since">Since: 1.10</p>
|
778
769
|
</div>
|
779
770
|
</div>
|
780
771
|
<div class="refsect1">
|
@@ -783,7 +774,6 @@ specification that a generated PDF file will conform to.</p>
|
|
783
774
|
</div>
|
784
775
|
</div>
|
785
776
|
<div class="footer">
|
786
|
-
<hr>
|
787
|
-
Generated by GTK-Doc V1.20</div>
|
777
|
+
<hr>Generated by GTK-Doc V1.25</div>
|
788
778
|
</body>
|
789
779
|
</html>
|