cairo 1.14.0-x64-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.
- checksums.yaml +7 -0
- data/AUTHORS +7 -0
- data/COPYING +59 -0
- data/GPL +340 -0
- data/Gemfile +5 -0
- data/NEWS +429 -0
- data/README.rdoc +120 -0
- data/Rakefile +620 -0
- data/ext/cairo/cairo.def +140 -0
- data/ext/cairo/depend +3 -0
- data/ext/cairo/extconf.rb +202 -0
- data/ext/cairo/rb_cairo.c +111 -0
- data/ext/cairo/rb_cairo.h +348 -0
- data/ext/cairo/rb_cairo_constants.c +673 -0
- data/ext/cairo/rb_cairo_context.c +1741 -0
- data/ext/cairo/rb_cairo_device.c +475 -0
- data/ext/cairo/rb_cairo_exception.c +446 -0
- data/ext/cairo/rb_cairo_font_extents.c +200 -0
- data/ext/cairo/rb_cairo_font_face.c +726 -0
- data/ext/cairo/rb_cairo_font_options.c +197 -0
- data/ext/cairo/rb_cairo_glyph.c +161 -0
- data/ext/cairo/rb_cairo_io.c +166 -0
- data/ext/cairo/rb_cairo_io.h +44 -0
- data/ext/cairo/rb_cairo_matrix.c +366 -0
- data/ext/cairo/rb_cairo_path.c +459 -0
- data/ext/cairo/rb_cairo_pattern.c +1192 -0
- data/ext/cairo/rb_cairo_private.c +255 -0
- data/ext/cairo/rb_cairo_private.h +129 -0
- data/ext/cairo/rb_cairo_rectangle.c +83 -0
- data/ext/cairo/rb_cairo_region.c +385 -0
- data/ext/cairo/rb_cairo_scaled_font.c +235 -0
- data/ext/cairo/rb_cairo_surface.c +2284 -0
- data/ext/cairo/rb_cairo_text_cluster.c +151 -0
- data/ext/cairo/rb_cairo_text_extents.c +221 -0
- data/lib/2.0/cairo.so +0 -0
- data/lib/2.1/cairo.so +0 -0
- data/lib/2.2/cairo.so +0 -0
- data/lib/cairo.rb +154 -0
- data/lib/cairo/color.rb +267 -0
- data/lib/cairo/colors.rb +656 -0
- data/lib/cairo/constants.rb +24 -0
- data/lib/cairo/context.rb +29 -0
- data/lib/cairo/context/blur.rb +45 -0
- data/lib/cairo/context/circle.rb +9 -0
- data/lib/cairo/context/color.rb +11 -0
- data/lib/cairo/context/path.rb +117 -0
- data/lib/cairo/context/rectangle.rb +33 -0
- data/lib/cairo/context/triangle.rb +12 -0
- data/lib/cairo/device.rb +13 -0
- data/lib/cairo/paper.rb +183 -0
- data/lib/cairo/papers.rb +65 -0
- data/lib/cairo/path.rb +15 -0
- data/lib/cairo/pattern.rb +12 -0
- data/lib/cairo/point.rb +7 -0
- data/lib/cairo/surface.rb +13 -0
- data/samples/agg/aa_test.rb +304 -0
- data/samples/blur.rb +46 -0
- data/samples/pac-nomralize.rb +170 -0
- data/samples/pac-tee.rb +170 -0
- data/samples/pac.rb +98 -0
- data/samples/png.rb +44 -0
- data/samples/scalable.rb +55 -0
- data/samples/text-on-path.rb +59 -0
- data/samples/text2.rb +130 -0
- data/test/cairo-test-utils.rb +44 -0
- data/test/run-test.rb +29 -0
- data/test/test_color.rb +17 -0
- data/test/test_constants.rb +27 -0
- data/test/test_context.rb +105 -0
- data/test/test_exception.rb +36 -0
- data/test/test_font_extents.rb +36 -0
- data/test/test_font_face.rb +257 -0
- data/test/test_font_options.rb +13 -0
- data/test/test_image_surface.rb +28 -0
- data/test/test_paper.rb +81 -0
- data/test/test_quartz_image_surface.rb +13 -0
- data/test/test_raster_source_pattern.rb +162 -0
- data/test/test_recording_surface.rb +19 -0
- data/test/test_region.rb +102 -0
- data/test/test_scaled_font.rb +34 -0
- data/test/test_script_device.rb +46 -0
- data/test/test_script_surface.rb +13 -0
- data/test/test_surface.rb +61 -0
- data/test/test_tee_surface.rb +32 -0
- data/test/test_text_cluster.rb +32 -0
- data/test/test_text_extents.rb +40 -0
- data/test/test_text_to_glyphs_data.rb +51 -0
- data/test/test_xml_device.rb +22 -0
- data/test/test_xml_surface.rb +34 -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 +163 -0
- 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/libgcc_s_seh-1.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/libstdc++-6.dll +0 -0
- data/vendor/local/bin/libwinpthread-1.dll +0 -0
- 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 +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 +546 -0
- data/vendor/local/etc/fonts/conf.d/30-urw-aliases.conf +24 -0
- data/vendor/local/etc/fonts/conf.d/40-nonlatin.conf +231 -0
- data/vendor/local/etc/fonts/conf.d/45-latin.conf +189 -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 +155 -0
- data/vendor/local/include/cairo/cairo-deprecated.h +123 -0
- data/vendor/local/include/cairo/cairo-features.h +31 -0
- data/vendor/local/include/cairo/cairo-ft.h +118 -0
- data/vendor/local/include/cairo/cairo-gobject.h +192 -0
- data/vendor/local/include/cairo/cairo-pdf.h +94 -0
- data/vendor/local/include/cairo/cairo-ps.h +116 -0
- data/vendor/local/include/cairo/cairo-script-interpreter.h +124 -0
- data/vendor/local/include/cairo/cairo-script.h +98 -0
- data/vendor/local/include/cairo/cairo-svg.h +84 -0
- data/vendor/local/include/cairo/cairo-version.h +8 -0
- data/vendor/local/include/cairo/cairo-win32.h +112 -0
- data/vendor/local/include/cairo/cairo.h +3153 -0
- data/vendor/local/include/fontconfig/fcfreetype.h +59 -0
- data/vendor/local/include/fontconfig/fcprivate.h +124 -0
- data/vendor/local/include/fontconfig/fontconfig.h +1010 -0
- data/vendor/local/include/freetype2/config/ftconfig.h +706 -0
- data/vendor/local/include/freetype2/config/ftheader.h +832 -0
- data/vendor/local/include/freetype2/config/ftmodule.h +20 -0
- data/vendor/local/include/freetype2/config/ftoption.h +846 -0
- data/vendor/local/include/freetype2/config/ftstdlib.h +174 -0
- data/vendor/local/include/freetype2/freetype.h +4076 -0
- data/vendor/local/include/freetype2/ft2build.h +42 -0
- data/vendor/local/include/freetype2/ftadvanc.h +182 -0
- data/vendor/local/include/freetype2/ftautoh.h +402 -0
- data/vendor/local/include/freetype2/ftbbox.h +102 -0
- data/vendor/local/include/freetype2/ftbdf.h +210 -0
- data/vendor/local/include/freetype2/ftbitmap.h +227 -0
- data/vendor/local/include/freetype2/ftbzip2.h +102 -0
- data/vendor/local/include/freetype2/ftcache.h +1057 -0
- data/vendor/local/include/freetype2/ftcffdrv.h +254 -0
- data/vendor/local/include/freetype2/ftchapters.h +121 -0
- data/vendor/local/include/freetype2/ftcid.h +166 -0
- data/vendor/local/include/freetype2/fterrdef.h +249 -0
- data/vendor/local/include/freetype2/fterrors.h +198 -0
- data/vendor/local/include/freetype2/ftgasp.h +128 -0
- data/vendor/local/include/freetype2/ftglyph.h +620 -0
- data/vendor/local/include/freetype2/ftgxval.h +358 -0
- data/vendor/local/include/freetype2/ftgzip.h +149 -0
- data/vendor/local/include/freetype2/ftimage.h +1322 -0
- data/vendor/local/include/freetype2/ftincrem.h +353 -0
- data/vendor/local/include/freetype2/ftlcdfil.h +251 -0
- data/vendor/local/include/freetype2/ftlist.h +277 -0
- data/vendor/local/include/freetype2/ftlzw.h +99 -0
- data/vendor/local/include/freetype2/ftmac.h +274 -0
- data/vendor/local/include/freetype2/ftmm.h +377 -0
- data/vendor/local/include/freetype2/ftmodapi.h +641 -0
- data/vendor/local/include/freetype2/ftmoderr.h +194 -0
- data/vendor/local/include/freetype2/ftotval.h +203 -0
- data/vendor/local/include/freetype2/ftoutln.h +572 -0
- data/vendor/local/include/freetype2/ftpfr.h +172 -0
- data/vendor/local/include/freetype2/ftrender.h +238 -0
- data/vendor/local/include/freetype2/ftsizes.h +159 -0
- data/vendor/local/include/freetype2/ftsnames.h +200 -0
- data/vendor/local/include/freetype2/ftstroke.h +751 -0
- data/vendor/local/include/freetype2/ftsynth.h +81 -0
- data/vendor/local/include/freetype2/ftsystem.h +347 -0
- data/vendor/local/include/freetype2/fttrigon.h +350 -0
- data/vendor/local/include/freetype2/ftttdrv.h +170 -0
- data/vendor/local/include/freetype2/fttypes.h +598 -0
- data/vendor/local/include/freetype2/ftwinfnt.h +275 -0
- data/vendor/local/include/freetype2/ftxf86.h +83 -0
- data/vendor/local/include/freetype2/t1tables.h +662 -0
- data/vendor/local/include/freetype2/ttnameid.h +1237 -0
- data/vendor/local/include/freetype2/tttables.h +787 -0
- data/vendor/local/include/freetype2/tttags.h +111 -0
- data/vendor/local/include/freetype2/ttunpat.h +59 -0
- data/vendor/local/include/libpng16/png.h +3276 -0
- data/vendor/local/include/libpng16/pngconf.h +644 -0
- data/vendor/local/include/libpng16/pnglibconf.h +208 -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 +178 -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 +509 -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 +217 -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 +1310 -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 +3276 -0
- data/vendor/local/include/pngconf.h +644 -0
- data/vendor/local/include/pnglibconf.h +208 -0
- data/vendor/local/include/zconf.h +511 -0
- data/vendor/local/include/zlib.h +1768 -0
- data/vendor/local/lib/cmake/libxml2/libxml2-config.cmake +50 -0
- data/vendor/local/lib/fontconfig.def +207 -0
- 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.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 +12 -0
- data/vendor/local/lib/pkgconfig/cairo-ft.pc +12 -0
- data/vendor/local/lib/pkgconfig/cairo-gobject.pc +12 -0
- data/vendor/local/lib/pkgconfig/cairo-pdf.pc +12 -0
- data/vendor/local/lib/pkgconfig/cairo-png.pc +12 -0
- data/vendor/local/lib/pkgconfig/cairo-ps.pc +12 -0
- data/vendor/local/lib/pkgconfig/cairo-script.pc +12 -0
- data/vendor/local/lib/pkgconfig/cairo-svg.pc +12 -0
- data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +12 -0
- data/vendor/local/lib/pkgconfig/cairo-win32.pc +12 -0
- data/vendor/local/lib/pkgconfig/cairo.pc +13 -0
- data/vendor/local/lib/pkgconfig/fontconfig.pc +18 -0
- data/vendor/local/lib/pkgconfig/freetype2.pc +14 -0
- data/vendor/local/lib/pkgconfig/libpng.pc +11 -0
- 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/freetype2.m4 +194 -0
- data/vendor/local/share/aclocal/libxml.m4 +188 -0
- data/vendor/local/share/doc/libxml2-2.9.2/Copyright +23 -0
- data/vendor/local/share/doc/libxml2-2.9.2/examples/testHTML.c +880 -0
- data/vendor/local/share/doc/libxml2-2.9.2/examples/testSAX.c +1198 -0
- data/vendor/local/share/doc/libxml2-2.9.2/examples/testXPath.c +229 -0
- data/vendor/local/share/doc/libxml2-2.9.2/examples/xmllint.c +3801 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/DOM.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/FAQ.html +299 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/Libxml2-Logo-180x168.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/Libxml2-Logo-90x34.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/encoding.html +217 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/examples.xml +751 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/examples.xsl +174 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/book1.html +13 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/index.html +13 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/left.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-DOCBparser.html +51 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-HTMLparser.html +184 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-HTMLtree.html +73 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-SAX.html +125 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-SAX2.html +128 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-c14n.html +38 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-catalog.html +142 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-chvalid.html +72 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-debugXML.html +120 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-dict.html +58 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-encoding.html +124 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-entities.html +79 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-globals.html +152 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-hash.html +116 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-lib.html +13 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-list.html +120 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-nanoftp.html +94 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-nanohttp.html +65 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-parser.html +559 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-parserInternals.html +322 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-pattern.html +76 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-relaxng.html +162 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-schemasInternals.html +373 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-schematron.html +81 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-threads.html +72 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-tree.html +990 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-uri.html +73 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-valid.html +289 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xinclude.html +59 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xlink.html +82 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlIO.html +212 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlautomata.html +85 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlerror.html +865 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlexports.html +20 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlmemory.html +107 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlmodule.html +38 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlreader.html +330 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlregexp.html +143 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlsave.html +60 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlschemas.html +185 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlschemastypes.html +123 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlstring.html +108 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlunicode.html +512 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlversion.html +63 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlwriter.html +261 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xpath.html +316 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xpathInternals.html +394 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xpointer.html +83 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xzlib.html +16 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/right.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/html/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/index.html +14 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/io1.c +166 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/io1.res +5 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/io2.c +58 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/io2.res +2 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/libxml.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/parse1.c +56 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/parse2.c +72 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/parse3.c +60 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/parse4.c +143 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/reader1.c +107 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/reader1.res +14 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/reader2.c +122 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/reader3.c +120 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/reader3.res +13 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/reader4.c +122 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/reader4.res +3 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/redhat.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/smallfootonly.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/structure.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/test1.xml +1 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/test2.xml +13 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/test3.xml +39 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/testWriter.c +1198 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tree1.c +94 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tree1.res +4 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tree2.c +118 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tree2.res +18 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tst.xml +7 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/apa.html +8 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/apb.html +14 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/apc.html +82 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/apd.html +76 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ape.html +78 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/apf.html +67 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/apg.html +75 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/aph.html +76 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/api.html +4 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ar01s02.html +14 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ar01s03.html +47 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ar01s04.html +54 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ar01s05.html +55 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ar01s06.html +35 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ar01s07.html +30 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ar01s08.html +38 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ar01s09.html +63 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/1.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/10.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/2.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/3.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/4.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/5.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/6.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/7.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/8.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/9.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/caution.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/draft.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/important.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/next.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/note.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/prev.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/tip.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/toc-blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/toc-minus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/toc-plus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/warning.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/includeaddattribute.c +64 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/includeaddkeyword.c +75 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/includeconvert.c +73 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/includegetattribute.c +72 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/includekeyword.c +79 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/includexpath.c +74 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/index.html +14 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ix01.html +1 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/xmltutorial.pdf +1336 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/w3c.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/writer.xml +2 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/xml.html +5995 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/xpath1.c +250 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/xpath1.res +5 -0
- data/vendor/local/share/doc/libxml2-2.9.2/html/xpath2.c +190 -0
- data/vendor/local/share/doc/libxml2-2.9.2/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 +546 -0
- data/vendor/local/share/fontconfig/conf.avail/30-urw-aliases.conf +24 -0
- data/vendor/local/share/fontconfig/conf.avail/40-nonlatin.conf +231 -0
- data/vendor/local/share/fontconfig/conf.avail/45-latin.conf +189 -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 +122 -0
- data/vendor/local/share/gtk-doc/html/cairo/bindings-fonts.html +53 -0
- data/vendor/local/share/gtk-doc/html/cairo/bindings-memory.html +123 -0
- data/vendor/local/share/gtk-doc/html/cairo/bindings-overloading.html +121 -0
- data/vendor/local/share/gtk-doc/html/cairo/bindings-path.html +117 -0
- data/vendor/local/share/gtk-doc/html/cairo/bindings-patterns.html +75 -0
- data/vendor/local/share/gtk-doc/html/cairo/bindings-return-values.html +120 -0
- data/vendor/local/share/gtk-doc/html/cairo/bindings-streams.html +92 -0
- data/vendor/local/share/gtk-doc/html/cairo/bindings-surfaces.html +93 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Error-handling.html +397 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +428 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +452 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +342 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PNG-Support.html +315 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Paths.html +1194 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +577 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-(CGFont)-Fonts.html +129 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html +197 -0
- 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 +226 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Regions.html +810 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +302 -0
- 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 +394 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Types.html +156 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-User-Fonts.html +677 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Version-Information.html +342 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +326 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +280 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XCB-Surfaces.html +527 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +535 -0
- 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 +636 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +380 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html +653 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html +559 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html +2231 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html +956 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +1637 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-t.html +2695 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-drawing.html +53 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-fonts.html +53 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-support.html +44 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-surfaces.html +74 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +1138 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +747 -0
- data/vendor/local/share/gtk-doc/html/cairo/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/index-1.10.html +177 -0
- 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 +179 -0
- data/vendor/local/share/gtk-doc/html/cairo/index-1.4.html +123 -0
- data/vendor/local/share/gtk-doc/html/cairo/index-1.6.html +107 -0
- data/vendor/local/share/gtk-doc/html/cairo/index-1.8.html +128 -0
- data/vendor/local/share/gtk-doc/html/cairo/index-all.html +1122 -0
- data/vendor/local/share/gtk-doc/html/cairo/index.html +157 -0
- data/vendor/local/share/gtk-doc/html/cairo/index.sgml +833 -0
- data/vendor/local/share/gtk-doc/html/cairo/language-bindings.html +73 -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 +266 -0
- data/vendor/local/share/gtk-doc/html/cairo/up.png +0 -0
- 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 +115 -0
- data/vendor/local/share/license/cairo/COPYING +33 -0
- data/vendor/local/share/license/cairo/COPYING-LGPL-2.1 +510 -0
- data/vendor/local/share/license/cairo/COPYING-MPL-1.1 +470 -0
- data/vendor/local/share/license/cairo/README +204 -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 +1484 -0
- data/vendor/local/share/license/freetype/README +83 -0
- data/vendor/local/share/license/freetype/README.git +50 -0
- data/vendor/local/share/license/libpng/README +215 -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/freetype-config.1 +108 -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 +647 -0
- data/vendor/local/share/man/man3/libpng.3 +6217 -0
- data/vendor/local/share/man/man3/libpngpf.3 +18 -0
- data/vendor/local/share/man/man3/libxml.3 +71 -0
- data/vendor/local/share/man/man5/png.5 +74 -0
- data/vendor/local/share/xml/fontconfig/fonts.dtd +233 -0
- metadata +774 -0
@@ -0,0 +1,53 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Drawing</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
+
<link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
|
+
<link rel="up" href="index.html" title="Cairo: A Vector Graphics Library">
|
9
|
+
<link rel="prev" href="index.html" title="Cairo: A Vector Graphics Library">
|
10
|
+
<link rel="next" href="cairo-cairo-t.html" title="cairo_t">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
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="2"><tr valign="middle">
|
16
|
+
<td><a accesskey="p" href="index.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
17
|
+
<td> </td>
|
18
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
19
|
+
<th width="100%" align="center">Cairo: A Vector Graphics Library</th>
|
20
|
+
<td><a accesskey="n" href="cairo-cairo-t.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
21
|
+
</tr></table>
|
22
|
+
<div class="chapter">
|
23
|
+
<div class="titlepage"><div><div><h2 class="title">
|
24
|
+
<a name="cairo-drawing"></a>Drawing</h2></div></div></div>
|
25
|
+
<div class="toc"><dl>
|
26
|
+
<dt>
|
27
|
+
<span class="refentrytitle"><a href="cairo-cairo-t.html">cairo_t</a></span><span class="refpurpose"> — The cairo drawing context</span>
|
28
|
+
</dt>
|
29
|
+
<dt>
|
30
|
+
<span class="refentrytitle"><a href="cairo-Paths.html">Paths</a></span><span class="refpurpose"> — Creating paths and manipulating path data</span>
|
31
|
+
</dt>
|
32
|
+
<dt>
|
33
|
+
<span class="refentrytitle"><a href="cairo-cairo-pattern-t.html">cairo_pattern_t</a></span><span class="refpurpose"> — Sources for drawing</span>
|
34
|
+
</dt>
|
35
|
+
<dt>
|
36
|
+
<span class="refentrytitle"><a href="cairo-Regions.html">Regions</a></span><span class="refpurpose"> — Representing a pixel-aligned area</span>
|
37
|
+
</dt>
|
38
|
+
<dt>
|
39
|
+
<span class="refentrytitle"><a href="cairo-Transformations.html">Transformations</a></span><span class="refpurpose"> — Manipulating the current transformation matrix</span>
|
40
|
+
</dt>
|
41
|
+
<dt>
|
42
|
+
<span class="refentrytitle"><a href="cairo-text.html">text</a></span><span class="refpurpose"> — Rendering text and glyphs</span>
|
43
|
+
</dt>
|
44
|
+
<dt>
|
45
|
+
<span class="refentrytitle"><a href="cairo-Raster-Sources.html">Raster Sources</a></span><span class="refpurpose"> — Supplying arbitrary image data</span>
|
46
|
+
</dt>
|
47
|
+
</dl></div>
|
48
|
+
</div>
|
49
|
+
<div class="footer">
|
50
|
+
<hr>
|
51
|
+
Generated by GTK-Doc V1.18</div>
|
52
|
+
</body>
|
53
|
+
</html>
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Fonts</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
+
<link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
|
+
<link rel="up" href="index.html" title="Cairo: A Vector Graphics Library">
|
9
|
+
<link rel="prev" href="cairo-Raster-Sources.html" title="Raster Sources">
|
10
|
+
<link rel="next" href="cairo-cairo-font-face-t.html" title="cairo_font_face_t">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
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="2"><tr valign="middle">
|
16
|
+
<td><a accesskey="p" href="cairo-Raster-Sources.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
17
|
+
<td> </td>
|
18
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
19
|
+
<th width="100%" align="center">Cairo: A Vector Graphics Library</th>
|
20
|
+
<td><a accesskey="n" href="cairo-cairo-font-face-t.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
21
|
+
</tr></table>
|
22
|
+
<div class="chapter">
|
23
|
+
<div class="titlepage"><div><div><h2 class="title">
|
24
|
+
<a name="cairo-fonts"></a>Fonts</h2></div></div></div>
|
25
|
+
<div class="toc"><dl>
|
26
|
+
<dt>
|
27
|
+
<span class="refentrytitle"><a href="cairo-cairo-font-face-t.html">cairo_font_face_t</a></span><span class="refpurpose"> — Base class for font faces</span>
|
28
|
+
</dt>
|
29
|
+
<dt>
|
30
|
+
<span class="refentrytitle"><a href="cairo-cairo-scaled-font-t.html">cairo_scaled_font_t</a></span><span class="refpurpose"> — Font face at particular size and options</span>
|
31
|
+
</dt>
|
32
|
+
<dt>
|
33
|
+
<span class="refentrytitle"><a href="cairo-cairo-font-options-t.html">cairo_font_options_t</a></span><span class="refpurpose"> — How a font should be rendered</span>
|
34
|
+
</dt>
|
35
|
+
<dt>
|
36
|
+
<span class="refentrytitle"><a href="cairo-FreeType-Fonts.html">FreeType Fonts</a></span><span class="refpurpose"> — Font support for FreeType</span>
|
37
|
+
</dt>
|
38
|
+
<dt>
|
39
|
+
<span class="refentrytitle"><a href="cairo-Win32-Fonts.html">Win32 Fonts</a></span><span class="refpurpose"> — Font support for Microsoft Windows</span>
|
40
|
+
</dt>
|
41
|
+
<dt>
|
42
|
+
<span class="refentrytitle"><a href="cairo-Quartz-(CGFont)-Fonts.html">Quartz (CGFont) Fonts</a></span><span class="refpurpose"> — Font support via CGFont on OS X</span>
|
43
|
+
</dt>
|
44
|
+
<dt>
|
45
|
+
<span class="refentrytitle"><a href="cairo-User-Fonts.html">User Fonts</a></span><span class="refpurpose"> — Font support with font data provided by the user</span>
|
46
|
+
</dt>
|
47
|
+
</dl></div>
|
48
|
+
</div>
|
49
|
+
<div class="footer">
|
50
|
+
<hr>
|
51
|
+
Generated by GTK-Doc V1.18</div>
|
52
|
+
</body>
|
53
|
+
</html>
|
@@ -0,0 +1,44 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Utilities</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
+
<link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
|
+
<link rel="up" href="index.html" title="Cairo: A Vector Graphics Library">
|
9
|
+
<link rel="prev" href="cairo-Script-Surfaces.html" title="Script Surfaces">
|
10
|
+
<link rel="next" href="cairo-cairo-matrix-t.html" title="cairo_matrix_t">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
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="2"><tr valign="middle">
|
16
|
+
<td><a accesskey="p" href="cairo-Script-Surfaces.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
17
|
+
<td> </td>
|
18
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
19
|
+
<th width="100%" align="center">Cairo: A Vector Graphics Library</th>
|
20
|
+
<td><a accesskey="n" href="cairo-cairo-matrix-t.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
21
|
+
</tr></table>
|
22
|
+
<div class="chapter">
|
23
|
+
<div class="titlepage"><div><div><h2 class="title">
|
24
|
+
<a name="cairo-support"></a>Utilities</h2></div></div></div>
|
25
|
+
<div class="toc"><dl>
|
26
|
+
<dt>
|
27
|
+
<span class="refentrytitle"><a href="cairo-cairo-matrix-t.html">cairo_matrix_t</a></span><span class="refpurpose"> — Generic matrix operations</span>
|
28
|
+
</dt>
|
29
|
+
<dt>
|
30
|
+
<span class="refentrytitle"><a href="cairo-Error-handling.html">Error handling</a></span><span class="refpurpose"> — Decoding cairo's status</span>
|
31
|
+
</dt>
|
32
|
+
<dt>
|
33
|
+
<span class="refentrytitle"><a href="cairo-Version-Information.html">Version Information</a></span><span class="refpurpose"> — Compile-time and run-time version checks.</span>
|
34
|
+
</dt>
|
35
|
+
<dt>
|
36
|
+
<span class="refentrytitle"><a href="cairo-Types.html">Types</a></span><span class="refpurpose"> — Generic data types</span>
|
37
|
+
</dt>
|
38
|
+
</dl></div>
|
39
|
+
</div>
|
40
|
+
<div class="footer">
|
41
|
+
<hr>
|
42
|
+
Generated by GTK-Doc V1.18</div>
|
43
|
+
</body>
|
44
|
+
</html>
|
@@ -0,0 +1,74 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Surfaces</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
+
<link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
|
+
<link rel="up" href="index.html" title="Cairo: A Vector Graphics Library">
|
9
|
+
<link rel="prev" href="cairo-User-Fonts.html" title="User Fonts">
|
10
|
+
<link rel="next" href="cairo-cairo-device-t.html" title="cairo_device_t">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
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="2"><tr valign="middle">
|
16
|
+
<td><a accesskey="p" href="cairo-User-Fonts.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
17
|
+
<td> </td>
|
18
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
19
|
+
<th width="100%" align="center">Cairo: A Vector Graphics Library</th>
|
20
|
+
<td><a accesskey="n" href="cairo-cairo-device-t.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
21
|
+
</tr></table>
|
22
|
+
<div class="chapter">
|
23
|
+
<div class="titlepage"><div><div><h2 class="title">
|
24
|
+
<a name="cairo-surfaces"></a>Surfaces</h2></div></div></div>
|
25
|
+
<div class="toc"><dl>
|
26
|
+
<dt>
|
27
|
+
<span class="refentrytitle"><a href="cairo-cairo-device-t.html">cairo_device_t</a></span><span class="refpurpose"> — interface to underlying rendering system</span>
|
28
|
+
</dt>
|
29
|
+
<dt>
|
30
|
+
<span class="refentrytitle"><a href="cairo-cairo-surface-t.html">cairo_surface_t</a></span><span class="refpurpose"> — Base class for surfaces</span>
|
31
|
+
</dt>
|
32
|
+
<dt>
|
33
|
+
<span class="refentrytitle"><a href="cairo-Image-Surfaces.html">Image Surfaces</a></span><span class="refpurpose"> — Rendering to memory buffers</span>
|
34
|
+
</dt>
|
35
|
+
<dt>
|
36
|
+
<span class="refentrytitle"><a href="cairo-PDF-Surfaces.html">PDF Surfaces</a></span><span class="refpurpose"> — Rendering PDF documents</span>
|
37
|
+
</dt>
|
38
|
+
<dt>
|
39
|
+
<span class="refentrytitle"><a href="cairo-PNG-Support.html">PNG Support</a></span><span class="refpurpose"> — Reading and writing PNG images</span>
|
40
|
+
</dt>
|
41
|
+
<dt>
|
42
|
+
<span class="refentrytitle"><a href="cairo-PostScript-Surfaces.html">PostScript Surfaces</a></span><span class="refpurpose"> — Rendering PostScript documents</span>
|
43
|
+
</dt>
|
44
|
+
<dt>
|
45
|
+
<span class="refentrytitle"><a href="cairo-Recording-Surfaces.html">Recording Surfaces</a></span><span class="refpurpose"> — Records all drawing operations</span>
|
46
|
+
</dt>
|
47
|
+
<dt>
|
48
|
+
<span class="refentrytitle"><a href="cairo-Win32-Surfaces.html">Win32 Surfaces</a></span><span class="refpurpose"> — Microsoft Windows surface support</span>
|
49
|
+
</dt>
|
50
|
+
<dt>
|
51
|
+
<span class="refentrytitle"><a href="cairo-SVG-Surfaces.html">SVG Surfaces</a></span><span class="refpurpose"> — Rendering SVG documents</span>
|
52
|
+
</dt>
|
53
|
+
<dt>
|
54
|
+
<span class="refentrytitle"><a href="cairo-Quartz-Surfaces.html">Quartz Surfaces</a></span><span class="refpurpose"> — Rendering to Quartz surfaces</span>
|
55
|
+
</dt>
|
56
|
+
<dt>
|
57
|
+
<span class="refentrytitle"><a href="cairo-XCB-Surfaces.html">XCB Surfaces</a></span><span class="refpurpose"> — X Window System rendering using the XCB library</span>
|
58
|
+
</dt>
|
59
|
+
<dt>
|
60
|
+
<span class="refentrytitle"><a href="cairo-XLib-Surfaces.html">XLib Surfaces</a></span><span class="refpurpose"> — X Window System rendering using XLib</span>
|
61
|
+
</dt>
|
62
|
+
<dt>
|
63
|
+
<span class="refentrytitle"><a href="cairo-XLib-XRender-Backend.html">XLib-XRender Backend</a></span><span class="refpurpose"> — X Window System rendering using XLib and the X Render extension</span>
|
64
|
+
</dt>
|
65
|
+
<dt>
|
66
|
+
<span class="refentrytitle"><a href="cairo-Script-Surfaces.html">Script Surfaces</a></span><span class="refpurpose"> — Rendering to replayable scripts</span>
|
67
|
+
</dt>
|
68
|
+
</dl></div>
|
69
|
+
</div>
|
70
|
+
<div class="footer">
|
71
|
+
<hr>
|
72
|
+
Generated by GTK-Doc V1.18</div>
|
73
|
+
</body>
|
74
|
+
</html>
|
@@ -0,0 +1,1138 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>text</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
+
<link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
|
+
<link rel="up" href="cairo-drawing.html" title="Drawing">
|
9
|
+
<link rel="prev" href="cairo-Transformations.html" title="Transformations">
|
10
|
+
<link rel="next" href="cairo-Raster-Sources.html" title="Raster Sources">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
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="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="cairo-Transformations.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="cairo-drawing.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">Cairo: A Vector Graphics Library</th>
|
21
|
+
<td><a accesskey="n" href="cairo-Raster-Sources.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#cairo-text.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#cairo-text.description" class="shortcut">Description</a>
|
27
|
+
</td></tr>
|
28
|
+
</table>
|
29
|
+
<div class="refentry">
|
30
|
+
<a name="cairo-text"></a><div class="titlepage"></div>
|
31
|
+
<div class="refnamediv"><table width="100%"><tr>
|
32
|
+
<td valign="top">
|
33
|
+
<h2><span class="refentrytitle"><a name="cairo-text.top_of_page"></a>text</span></h2>
|
34
|
+
<p>text — Rendering text and glyphs</p>
|
35
|
+
</td>
|
36
|
+
<td valign="top" align="right"></td>
|
37
|
+
</tr></table></div>
|
38
|
+
<div class="refsynopsisdiv">
|
39
|
+
<a name="cairo-text.synopsis"></a><h2>Synopsis</h2>
|
40
|
+
<pre class="synopsis"> <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t">cairo_glyph_t</a>;
|
41
|
+
enum <a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t">cairo_font_slant_t</a>;
|
42
|
+
enum <a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t">cairo_font_weight_t</a>;
|
43
|
+
<a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t">cairo_text_cluster_t</a>;
|
44
|
+
enum <a class="link" href="cairo-text.html#cairo-text-cluster-flags-t" title="enum cairo_text_cluster_flags_t">cairo_text_cluster_flags_t</a>;
|
45
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-select-font-face" title="cairo_select_font_face ()">cairo_select_font_face</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
46
|
+
<em class="parameter"><code>const <span class="type">char</span> *family</code></em>,
|
47
|
+
<em class="parameter"><code><a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t"><span class="type">cairo_font_slant_t</span></a> slant</code></em>,
|
48
|
+
<em class="parameter"><code><a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t"><span class="type">cairo_font_weight_t</span></a> weight</code></em>);
|
49
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-set-font-size" title="cairo_set_font_size ()">cairo_set_font_size</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
50
|
+
<em class="parameter"><code><span class="type">double</span> size</code></em>);
|
51
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-set-font-matrix" title="cairo_set_font_matrix ()">cairo_set_font_matrix</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
52
|
+
<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>);
|
53
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-get-font-matrix" title="cairo_get_font_matrix ()">cairo_get_font_matrix</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
54
|
+
<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>);
|
55
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-set-font-options" title="cairo_set_font_options ()">cairo_set_font_options</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
56
|
+
<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);
|
57
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-get-font-options" title="cairo_get_font_options ()">cairo_get_font_options</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
58
|
+
<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);
|
59
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()">cairo_set_font_face</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
60
|
+
<em class="parameter"><code><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> *font_face</code></em>);
|
61
|
+
<a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * <a class="link" href="cairo-text.html#cairo-get-font-face" title="cairo_get_font_face ()">cairo_get_font_face</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>);
|
62
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-set-scaled-font" title="cairo_set_scaled_font ()">cairo_set_scaled_font</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
63
|
+
<em class="parameter"><code>const <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a> *scaled_font</code></em>);
|
64
|
+
<a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="returnvalue">cairo_scaled_font_t</span></a> * <a class="link" href="cairo-text.html#cairo-get-scaled-font" title="cairo_get_scaled_font ()">cairo_get_scaled_font</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>);
|
65
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-show-text" title="cairo_show_text ()">cairo_show_text</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
66
|
+
<em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>);
|
67
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-show-glyphs" title="cairo_show_glyphs ()">cairo_show_glyphs</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
68
|
+
<em class="parameter"><code>const <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> *glyphs</code></em>,
|
69
|
+
<em class="parameter"><code><span class="type">int</span> num_glyphs</code></em>);
|
70
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-show-text-glyphs" title="cairo_show_text_glyphs ()">cairo_show_text_glyphs</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
71
|
+
<em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>,
|
72
|
+
<em class="parameter"><code><span class="type">int</span> utf8_len</code></em>,
|
73
|
+
<em class="parameter"><code>const <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> *glyphs</code></em>,
|
74
|
+
<em class="parameter"><code><span class="type">int</span> num_glyphs</code></em>,
|
75
|
+
<em class="parameter"><code>const <a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t"><span class="type">cairo_text_cluster_t</span></a> *clusters</code></em>,
|
76
|
+
<em class="parameter"><code><span class="type">int</span> num_clusters</code></em>,
|
77
|
+
<em class="parameter"><code><a class="link" href="cairo-text.html#cairo-text-cluster-flags-t" title="enum cairo_text_cluster_flags_t"><span class="type">cairo_text_cluster_flags_t</span></a> cluster_flags</code></em>);
|
78
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-font-extents" title="cairo_font_extents ()">cairo_font_extents</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
79
|
+
<em class="parameter"><code><a class="link" href="cairo-cairo-scaled-font-t.html#cairo-font-extents-t" title="cairo_font_extents_t"><span class="type">cairo_font_extents_t</span></a> *extents</code></em>);
|
80
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-text-extents" title="cairo_text_extents ()">cairo_text_extents</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
81
|
+
<em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>,
|
82
|
+
<em class="parameter"><code><a class="link" href="cairo-cairo-scaled-font-t.html#cairo-text-extents-t" title="cairo_text_extents_t"><span class="type">cairo_text_extents_t</span></a> *extents</code></em>);
|
83
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-glyph-extents" title="cairo_glyph_extents ()">cairo_glyph_extents</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
84
|
+
<em class="parameter"><code>const <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> *glyphs</code></em>,
|
85
|
+
<em class="parameter"><code><span class="type">int</span> num_glyphs</code></em>,
|
86
|
+
<em class="parameter"><code><a class="link" href="cairo-cairo-scaled-font-t.html#cairo-text-extents-t" title="cairo_text_extents_t"><span class="type">cairo_text_extents_t</span></a> *extents</code></em>);
|
87
|
+
<a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * <a class="link" href="cairo-text.html#cairo-toy-font-face-create" title="cairo_toy_font_face_create ()">cairo_toy_font_face_create</a> (<em class="parameter"><code>const <span class="type">char</span> *family</code></em>,
|
88
|
+
<em class="parameter"><code><a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t"><span class="type">cairo_font_slant_t</span></a> slant</code></em>,
|
89
|
+
<em class="parameter"><code><a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t"><span class="type">cairo_font_weight_t</span></a> weight</code></em>);
|
90
|
+
const <span class="returnvalue">char</span> * <a class="link" href="cairo-text.html#cairo-toy-font-face-get-family" title="cairo_toy_font_face_get_family ()">cairo_toy_font_face_get_family</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> *font_face</code></em>);
|
91
|
+
<a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t"><span class="returnvalue">cairo_font_slant_t</span></a> <a class="link" href="cairo-text.html#cairo-toy-font-face-get-slant" title="cairo_toy_font_face_get_slant ()">cairo_toy_font_face_get_slant</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> *font_face</code></em>);
|
92
|
+
<a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t"><span class="returnvalue">cairo_font_weight_t</span></a> <a class="link" href="cairo-text.html#cairo-toy-font-face-get-weight" title="cairo_toy_font_face_get_weight ()">cairo_toy_font_face_get_weight</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> *font_face</code></em>);
|
93
|
+
<a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="returnvalue">cairo_glyph_t</span></a> * <a class="link" href="cairo-text.html#cairo-glyph-allocate" title="cairo_glyph_allocate ()">cairo_glyph_allocate</a> (<em class="parameter"><code><span class="type">int</span> num_glyphs</code></em>);
|
94
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-glyph-free" title="cairo_glyph_free ()">cairo_glyph_free</a> (<em class="parameter"><code><a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> *glyphs</code></em>);
|
95
|
+
<a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t"><span class="returnvalue">cairo_text_cluster_t</span></a> * <a class="link" href="cairo-text.html#cairo-text-cluster-allocate" title="cairo_text_cluster_allocate ()">cairo_text_cluster_allocate</a> (<em class="parameter"><code><span class="type">int</span> num_clusters</code></em>);
|
96
|
+
<span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-text-cluster-free" title="cairo_text_cluster_free ()">cairo_text_cluster_free</a> (<em class="parameter"><code><a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t"><span class="type">cairo_text_cluster_t</span></a> *clusters</code></em>);
|
97
|
+
</pre>
|
98
|
+
</div>
|
99
|
+
<div class="refsect1">
|
100
|
+
<a name="cairo-text.description"></a><h2>Description</h2>
|
101
|
+
<p>
|
102
|
+
The functions with <span class="emphasis"><em>text</em></span> in their name form cairo's
|
103
|
+
<em class="firstterm">toy</em> text API. The toy API takes UTF-8 encoded
|
104
|
+
text and is limited in its functionality to rendering simple
|
105
|
+
left-to-right text with no advanced features. That means for example
|
106
|
+
that most complex scripts like Hebrew, Arabic, and Indic scripts are
|
107
|
+
out of question. No kerning or correct positioning of diacritical marks
|
108
|
+
either. The font selection is pretty limited too and doesn't handle the
|
109
|
+
case that the selected font does not cover the characters in the text.
|
110
|
+
This set of functions are really that, a toy text API, for testing and
|
111
|
+
demonstration purposes. Any serious application should avoid them.
|
112
|
+
</p>
|
113
|
+
<p>
|
114
|
+
The functions with <span class="emphasis"><em>glyphs</em></span> in their name form cairo's
|
115
|
+
<em class="firstterm">low-level</em> text API. The low-level API relies on
|
116
|
+
the user to convert text to a set of glyph indexes and positions. This
|
117
|
+
is a very hard problem and is best handled by external libraries, like
|
118
|
+
the pangocairo that is part of the Pango text layout and rendering library.
|
119
|
+
Pango is available from <a class="ulink" href="http://www.pango.org/" target="_top">http://www.pango.org/</a>.
|
120
|
+
</p>
|
121
|
+
</div>
|
122
|
+
<div class="refsect1">
|
123
|
+
<a name="cairo-text.details"></a><h2>Details</h2>
|
124
|
+
<div class="refsect2">
|
125
|
+
<a name="cairo-glyph-t"></a><h3>cairo_glyph_t</h3>
|
126
|
+
<pre class="programlisting">typedef struct {
|
127
|
+
unsigned long index;
|
128
|
+
double x;
|
129
|
+
double y;
|
130
|
+
} cairo_glyph_t;
|
131
|
+
</pre>
|
132
|
+
<p>
|
133
|
+
The <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> structure holds information about a single glyph
|
134
|
+
when drawing or measuring text. A font is (in simple terms) a
|
135
|
+
collection of shapes used to draw text. A glyph is one of these
|
136
|
+
shapes. There can be multiple glyphs for a single character
|
137
|
+
(alternates to be used in different contexts, for example), or a
|
138
|
+
glyph can be a <em class="firstterm">ligature</em> of multiple
|
139
|
+
characters. Cairo doesn't expose any way of converting input text
|
140
|
+
into glyphs, so in order to use the Cairo interfaces that take
|
141
|
+
arrays of glyphs, you must directly access the appropriate
|
142
|
+
underlying font system.
|
143
|
+
</p>
|
144
|
+
<p>
|
145
|
+
Note that the offsets given by <em class="parameter"><code>x</code></em> and <em class="parameter"><code>y</code></em> are not cumulative. When
|
146
|
+
drawing or measuring text, each glyph is individually positioned
|
147
|
+
with respect to the overall origin
|
148
|
+
</p>
|
149
|
+
<div class="variablelist"><table border="0">
|
150
|
+
<col align="left" valign="top">
|
151
|
+
<tbody>
|
152
|
+
<tr>
|
153
|
+
<td><p><span class="term">unsigned <span class="type">long</span> <em class="structfield"><code><a name="cairo-glyph-t.index"></a>index</code></em>;</span></p></td>
|
154
|
+
<td>glyph index in the font. The exact interpretation of the
|
155
|
+
glyph index depends on the font technology being used.</td>
|
156
|
+
</tr>
|
157
|
+
<tr>
|
158
|
+
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="cairo-glyph-t.x"></a>x</code></em>;</span></p></td>
|
159
|
+
<td>the offset in the X direction between the origin used for
|
160
|
+
drawing or measuring the string and the origin of this glyph.</td>
|
161
|
+
</tr>
|
162
|
+
<tr>
|
163
|
+
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="cairo-glyph-t.y"></a>y</code></em>;</span></p></td>
|
164
|
+
<td>the offset in the Y direction between the origin used for
|
165
|
+
drawing or measuring the string and the origin of this glyph.</td>
|
166
|
+
</tr>
|
167
|
+
</tbody>
|
168
|
+
</table></div>
|
169
|
+
<p class="since">Since 1.0</p>
|
170
|
+
</div>
|
171
|
+
<hr>
|
172
|
+
<div class="refsect2">
|
173
|
+
<a name="cairo-font-slant-t"></a><h3>enum cairo_font_slant_t</h3>
|
174
|
+
<pre class="programlisting">typedef enum {
|
175
|
+
CAIRO_FONT_SLANT_NORMAL,
|
176
|
+
CAIRO_FONT_SLANT_ITALIC,
|
177
|
+
CAIRO_FONT_SLANT_OBLIQUE
|
178
|
+
} cairo_font_slant_t;
|
179
|
+
</pre>
|
180
|
+
<p>
|
181
|
+
Specifies variants of a font face based on their slant.
|
182
|
+
</p>
|
183
|
+
<div class="variablelist"><table border="0">
|
184
|
+
<col align="left" valign="top">
|
185
|
+
<tbody>
|
186
|
+
<tr>
|
187
|
+
<td><p><a name="CAIRO-FONT-SLANT-NORMAL:CAPS"></a><span class="term"><code class="literal">CAIRO_FONT_SLANT_NORMAL</code></span></p></td>
|
188
|
+
<td>Upright font style, since 1.0
|
189
|
+
</td>
|
190
|
+
</tr>
|
191
|
+
<tr>
|
192
|
+
<td><p><a name="CAIRO-FONT-SLANT-ITALIC:CAPS"></a><span class="term"><code class="literal">CAIRO_FONT_SLANT_ITALIC</code></span></p></td>
|
193
|
+
<td>Italic font style, since 1.0
|
194
|
+
</td>
|
195
|
+
</tr>
|
196
|
+
<tr>
|
197
|
+
<td><p><a name="CAIRO-FONT-SLANT-OBLIQUE:CAPS"></a><span class="term"><code class="literal">CAIRO_FONT_SLANT_OBLIQUE</code></span></p></td>
|
198
|
+
<td>Oblique font style, since 1.0
|
199
|
+
</td>
|
200
|
+
</tr>
|
201
|
+
</tbody>
|
202
|
+
</table></div>
|
203
|
+
<p class="since">Since 1.0</p>
|
204
|
+
</div>
|
205
|
+
<hr>
|
206
|
+
<div class="refsect2">
|
207
|
+
<a name="cairo-font-weight-t"></a><h3>enum cairo_font_weight_t</h3>
|
208
|
+
<pre class="programlisting">typedef enum {
|
209
|
+
CAIRO_FONT_WEIGHT_NORMAL,
|
210
|
+
CAIRO_FONT_WEIGHT_BOLD
|
211
|
+
} cairo_font_weight_t;
|
212
|
+
</pre>
|
213
|
+
<p>
|
214
|
+
Specifies variants of a font face based on their weight.
|
215
|
+
</p>
|
216
|
+
<div class="variablelist"><table border="0">
|
217
|
+
<col align="left" valign="top">
|
218
|
+
<tbody>
|
219
|
+
<tr>
|
220
|
+
<td><p><a name="CAIRO-FONT-WEIGHT-NORMAL:CAPS"></a><span class="term"><code class="literal">CAIRO_FONT_WEIGHT_NORMAL</code></span></p></td>
|
221
|
+
<td>Normal font weight, since 1.0
|
222
|
+
</td>
|
223
|
+
</tr>
|
224
|
+
<tr>
|
225
|
+
<td><p><a name="CAIRO-FONT-WEIGHT-BOLD:CAPS"></a><span class="term"><code class="literal">CAIRO_FONT_WEIGHT_BOLD</code></span></p></td>
|
226
|
+
<td>Bold font weight, since 1.0
|
227
|
+
</td>
|
228
|
+
</tr>
|
229
|
+
</tbody>
|
230
|
+
</table></div>
|
231
|
+
<p class="since">Since 1.0</p>
|
232
|
+
</div>
|
233
|
+
<hr>
|
234
|
+
<div class="refsect2">
|
235
|
+
<a name="cairo-text-cluster-t"></a><h3>cairo_text_cluster_t</h3>
|
236
|
+
<pre class="programlisting">typedef struct {
|
237
|
+
int num_bytes;
|
238
|
+
int num_glyphs;
|
239
|
+
} cairo_text_cluster_t;
|
240
|
+
</pre>
|
241
|
+
<p>
|
242
|
+
The <a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t"><span class="type">cairo_text_cluster_t</span></a> structure holds information about a single
|
243
|
+
<em class="firstterm">text cluster</em>. A text cluster is a minimal
|
244
|
+
mapping of some glyphs corresponding to some UTF-8 text.
|
245
|
+
</p>
|
246
|
+
<p>
|
247
|
+
For a cluster to be valid, both <em class="parameter"><code>num_bytes</code></em> and <em class="parameter"><code>num_glyphs</code></em> should
|
248
|
+
be non-negative, and at least one should be non-zero.
|
249
|
+
Note that clusters with zero glyphs are not as well supported as
|
250
|
+
normal clusters. For example, PDF rendering applications typically
|
251
|
+
ignore those clusters when PDF text is being selected.
|
252
|
+
</p>
|
253
|
+
<p>
|
254
|
+
See <a class="link" href="cairo-text.html#cairo-show-text-glyphs" title="cairo_show_text_glyphs ()"><code class="function">cairo_show_text_glyphs()</code></a> for how clusters are used in advanced
|
255
|
+
text operations.
|
256
|
+
</p>
|
257
|
+
<div class="variablelist"><table border="0">
|
258
|
+
<col align="left" valign="top">
|
259
|
+
<tbody>
|
260
|
+
<tr>
|
261
|
+
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="cairo-text-cluster-t.num-bytes"></a>num_bytes</code></em>;</span></p></td>
|
262
|
+
<td>the number of bytes of UTF-8 text covered by cluster</td>
|
263
|
+
</tr>
|
264
|
+
<tr>
|
265
|
+
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="cairo-text-cluster-t.num-glyphs"></a>num_glyphs</code></em>;</span></p></td>
|
266
|
+
<td>the number of glyphs covered by cluster</td>
|
267
|
+
</tr>
|
268
|
+
</tbody>
|
269
|
+
</table></div>
|
270
|
+
<p class="since">Since 1.8</p>
|
271
|
+
</div>
|
272
|
+
<hr>
|
273
|
+
<div class="refsect2">
|
274
|
+
<a name="cairo-text-cluster-flags-t"></a><h3>enum cairo_text_cluster_flags_t</h3>
|
275
|
+
<pre class="programlisting">typedef enum {
|
276
|
+
CAIRO_TEXT_CLUSTER_FLAG_BACKWARD = 0x00000001
|
277
|
+
} cairo_text_cluster_flags_t;
|
278
|
+
</pre>
|
279
|
+
<p>
|
280
|
+
Specifies properties of a text cluster mapping.
|
281
|
+
</p>
|
282
|
+
<div class="variablelist"><table border="0">
|
283
|
+
<col align="left" valign="top">
|
284
|
+
<tbody><tr>
|
285
|
+
<td><p><a name="CAIRO-TEXT-CLUSTER-FLAG-BACKWARD:CAPS"></a><span class="term"><code class="literal">CAIRO_TEXT_CLUSTER_FLAG_BACKWARD</code></span></p></td>
|
286
|
+
<td>The clusters in the cluster array
|
287
|
+
map to glyphs in the glyph array from end to start. (Since 1.8)
|
288
|
+
</td>
|
289
|
+
</tr></tbody>
|
290
|
+
</table></div>
|
291
|
+
<p class="since">Since 1.8</p>
|
292
|
+
</div>
|
293
|
+
<hr>
|
294
|
+
<div class="refsect2">
|
295
|
+
<a name="cairo-select-font-face"></a><h3>cairo_select_font_face ()</h3>
|
296
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_select_font_face (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
297
|
+
<em class="parameter"><code>const <span class="type">char</span> *family</code></em>,
|
298
|
+
<em class="parameter"><code><a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t"><span class="type">cairo_font_slant_t</span></a> slant</code></em>,
|
299
|
+
<em class="parameter"><code><a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t"><span class="type">cairo_font_weight_t</span></a> weight</code></em>);</pre>
|
300
|
+
<p>
|
301
|
+
Note: The <a class="link" href="cairo-text.html#cairo-select-font-face" title="cairo_select_font_face ()"><code class="function">cairo_select_font_face()</code></a> function call is part of what
|
302
|
+
the cairo designers call the "toy" text API. It is convenient for
|
303
|
+
short demos and simple programs, but it is not expected to be
|
304
|
+
adequate for serious text-using applications.
|
305
|
+
</p>
|
306
|
+
<p>
|
307
|
+
Selects a family and style of font from a simplified description as
|
308
|
+
a family name, slant and weight. Cairo provides no operation to
|
309
|
+
list available family names on the system (this is a "toy",
|
310
|
+
remember), but the standard CSS2 generic family names, ("serif",
|
311
|
+
"sans-serif", "cursive", "fantasy", "monospace"), are likely to
|
312
|
+
work as expected.
|
313
|
+
</p>
|
314
|
+
<p>
|
315
|
+
If <em class="parameter"><code>family</code></em> starts with the string "<em class="parameter"><code>cairo</code></em>:", or if no native font
|
316
|
+
backends are compiled in, cairo will use an internal font family.
|
317
|
+
The internal font family recognizes many modifiers in the <em class="parameter"><code>family</code></em>
|
318
|
+
string, most notably, it recognizes the string "monospace". That is,
|
319
|
+
the family name "<em class="parameter"><code>cairo</code></em>:monospace" will use the monospace version of
|
320
|
+
the internal font family.
|
321
|
+
</p>
|
322
|
+
<p>
|
323
|
+
For "real" font selection, see the font-backend-specific
|
324
|
+
font_face_create functions for the font backend you are using. (For
|
325
|
+
example, if you are using the freetype-based cairo-ft font backend,
|
326
|
+
see <a class="link" href="cairo-FreeType-Fonts.html#cairo-ft-font-face-create-for-ft-face" title="cairo_ft_font_face_create_for_ft_face ()"><code class="function">cairo_ft_font_face_create_for_ft_face()</code></a> or
|
327
|
+
<a class="link" href="cairo-FreeType-Fonts.html#cairo-ft-font-face-create-for-pattern" title="cairo_ft_font_face_create_for_pattern ()"><code class="function">cairo_ft_font_face_create_for_pattern()</code></a>.) The resulting font face
|
328
|
+
could then be used with <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a> and
|
329
|
+
<a class="link" href="cairo-text.html#cairo-set-scaled-font" title="cairo_set_scaled_font ()"><code class="function">cairo_set_scaled_font()</code></a>.
|
330
|
+
</p>
|
331
|
+
<p>
|
332
|
+
Similarly, when using the "real" font support, you can call
|
333
|
+
directly into the underlying font system, (such as fontconfig or
|
334
|
+
freetype), for operations such as listing available fonts, etc.
|
335
|
+
</p>
|
336
|
+
<p>
|
337
|
+
It is expected that most applications will need to use a more
|
338
|
+
comprehensive font handling and text layout library, (for example,
|
339
|
+
pango), in conjunction with cairo.
|
340
|
+
</p>
|
341
|
+
<p>
|
342
|
+
If text is drawn without a call to <a class="link" href="cairo-text.html#cairo-select-font-face" title="cairo_select_font_face ()"><code class="function">cairo_select_font_face()</code></a>, (nor
|
343
|
+
<a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a> nor <a class="link" href="cairo-text.html#cairo-set-scaled-font" title="cairo_set_scaled_font ()"><code class="function">cairo_set_scaled_font()</code></a>), the default
|
344
|
+
family is platform-specific, but is essentially "sans-serif".
|
345
|
+
Default slant is <a class="link" href="cairo-text.html#CAIRO-FONT-SLANT-NORMAL:CAPS"><code class="literal">CAIRO_FONT_SLANT_NORMAL</code></a>, and default weight is
|
346
|
+
<a class="link" href="cairo-text.html#CAIRO-FONT-WEIGHT-NORMAL:CAPS"><code class="literal">CAIRO_FONT_WEIGHT_NORMAL</code></a>.
|
347
|
+
</p>
|
348
|
+
<p>
|
349
|
+
This function is equivalent to a call to <a class="link" href="cairo-text.html#cairo-toy-font-face-create" title="cairo_toy_font_face_create ()"><code class="function">cairo_toy_font_face_create()</code></a>
|
350
|
+
followed by <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a>.
|
351
|
+
</p>
|
352
|
+
<div class="variablelist"><table border="0">
|
353
|
+
<col align="left" valign="top">
|
354
|
+
<tbody>
|
355
|
+
<tr>
|
356
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
357
|
+
<td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
|
358
|
+
</td>
|
359
|
+
</tr>
|
360
|
+
<tr>
|
361
|
+
<td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
|
362
|
+
<td>a font family name, encoded in UTF-8</td>
|
363
|
+
</tr>
|
364
|
+
<tr>
|
365
|
+
<td><p><span class="term"><em class="parameter"><code>slant</code></em> :</span></p></td>
|
366
|
+
<td>the slant for the font</td>
|
367
|
+
</tr>
|
368
|
+
<tr>
|
369
|
+
<td><p><span class="term"><em class="parameter"><code>weight</code></em> :</span></p></td>
|
370
|
+
<td>the weight for the font</td>
|
371
|
+
</tr>
|
372
|
+
</tbody>
|
373
|
+
</table></div>
|
374
|
+
<p class="since">Since 1.0</p>
|
375
|
+
</div>
|
376
|
+
<hr>
|
377
|
+
<div class="refsect2">
|
378
|
+
<a name="cairo-set-font-size"></a><h3>cairo_set_font_size ()</h3>
|
379
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_set_font_size (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
380
|
+
<em class="parameter"><code><span class="type">double</span> size</code></em>);</pre>
|
381
|
+
<p>
|
382
|
+
Sets the current font matrix to a scale by a factor of <em class="parameter"><code>size</code></em>, replacing
|
383
|
+
any font matrix previously set with <a class="link" href="cairo-text.html#cairo-set-font-size" title="cairo_set_font_size ()"><code class="function">cairo_set_font_size()</code></a> or
|
384
|
+
<a class="link" href="cairo-text.html#cairo-set-font-matrix" title="cairo_set_font_matrix ()"><code class="function">cairo_set_font_matrix()</code></a>. This results in a font size of <em class="parameter"><code>size</code></em> user space
|
385
|
+
units. (More precisely, this matrix will result in the font's
|
386
|
+
em-square being a <em class="parameter"><code>size</code></em> by <em class="parameter"><code>size</code></em> square in user space.)
|
387
|
+
</p>
|
388
|
+
<p>
|
389
|
+
If text is drawn without a call to <a class="link" href="cairo-text.html#cairo-set-font-size" title="cairo_set_font_size ()"><code class="function">cairo_set_font_size()</code></a>, (nor
|
390
|
+
<a class="link" href="cairo-text.html#cairo-set-font-matrix" title="cairo_set_font_matrix ()"><code class="function">cairo_set_font_matrix()</code></a> nor <a class="link" href="cairo-text.html#cairo-set-scaled-font" title="cairo_set_scaled_font ()"><code class="function">cairo_set_scaled_font()</code></a>), the default
|
391
|
+
font size is 10.0.
|
392
|
+
</p>
|
393
|
+
<div class="variablelist"><table border="0">
|
394
|
+
<col align="left" valign="top">
|
395
|
+
<tbody>
|
396
|
+
<tr>
|
397
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
398
|
+
<td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
|
399
|
+
</td>
|
400
|
+
</tr>
|
401
|
+
<tr>
|
402
|
+
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
403
|
+
<td>the new font size, in user space units</td>
|
404
|
+
</tr>
|
405
|
+
</tbody>
|
406
|
+
</table></div>
|
407
|
+
<p class="since">Since 1.0</p>
|
408
|
+
</div>
|
409
|
+
<hr>
|
410
|
+
<div class="refsect2">
|
411
|
+
<a name="cairo-set-font-matrix"></a><h3>cairo_set_font_matrix ()</h3>
|
412
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_set_font_matrix (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
413
|
+
<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>
|
414
|
+
<p>
|
415
|
+
Sets the current font matrix to <em class="parameter"><code>matrix</code></em>. The font matrix gives a
|
416
|
+
transformation from the design space of the font (in this space,
|
417
|
+
the em-square is 1 unit by 1 unit) to user space. Normally, a
|
418
|
+
simple scale is used (see <a class="link" href="cairo-text.html#cairo-set-font-size" title="cairo_set_font_size ()"><code class="function">cairo_set_font_size()</code></a>), but a more
|
419
|
+
complex font matrix can be used to shear the font
|
420
|
+
or stretch it unequally along the two axes
|
421
|
+
</p>
|
422
|
+
<div class="variablelist"><table border="0">
|
423
|
+
<col align="left" valign="top">
|
424
|
+
<tbody>
|
425
|
+
<tr>
|
426
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
427
|
+
<td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
|
428
|
+
</td>
|
429
|
+
</tr>
|
430
|
+
<tr>
|
431
|
+
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
432
|
+
<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> describing a transform to be applied to
|
433
|
+
the current font.</td>
|
434
|
+
</tr>
|
435
|
+
</tbody>
|
436
|
+
</table></div>
|
437
|
+
<p class="since">Since 1.0</p>
|
438
|
+
</div>
|
439
|
+
<hr>
|
440
|
+
<div class="refsect2">
|
441
|
+
<a name="cairo-get-font-matrix"></a><h3>cairo_get_font_matrix ()</h3>
|
442
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_get_font_matrix (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
443
|
+
<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>
|
444
|
+
<p>
|
445
|
+
Stores the current font matrix into <em class="parameter"><code>matrix</code></em>. See
|
446
|
+
<a class="link" href="cairo-text.html#cairo-set-font-matrix" title="cairo_set_font_matrix ()"><code class="function">cairo_set_font_matrix()</code></a>.
|
447
|
+
</p>
|
448
|
+
<div class="variablelist"><table border="0">
|
449
|
+
<col align="left" valign="top">
|
450
|
+
<tbody>
|
451
|
+
<tr>
|
452
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
453
|
+
<td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
|
454
|
+
</td>
|
455
|
+
</tr>
|
456
|
+
<tr>
|
457
|
+
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
458
|
+
<td>return value for the matrix</td>
|
459
|
+
</tr>
|
460
|
+
</tbody>
|
461
|
+
</table></div>
|
462
|
+
<p class="since">Since 1.0</p>
|
463
|
+
</div>
|
464
|
+
<hr>
|
465
|
+
<div class="refsect2">
|
466
|
+
<a name="cairo-set-font-options"></a><h3>cairo_set_font_options ()</h3>
|
467
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_set_font_options (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
468
|
+
<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
|
469
|
+
<p>
|
470
|
+
Sets a set of custom font rendering options for the <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>.
|
471
|
+
Rendering options are derived by merging these options with the
|
472
|
+
options derived from underlying surface; if the value in <em class="parameter"><code>options</code></em>
|
473
|
+
has a default value (like <a class="link" href="cairo-cairo-t.html#CAIRO-ANTIALIAS-DEFAULT:CAPS"><code class="literal">CAIRO_ANTIALIAS_DEFAULT</code></a>), then the value
|
474
|
+
from the surface is used.
|
475
|
+
</p>
|
476
|
+
<div class="variablelist"><table border="0">
|
477
|
+
<col align="left" valign="top">
|
478
|
+
<tbody>
|
479
|
+
<tr>
|
480
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
481
|
+
<td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
|
482
|
+
</td>
|
483
|
+
</tr>
|
484
|
+
<tr>
|
485
|
+
<td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
|
486
|
+
<td>font options to use</td>
|
487
|
+
</tr>
|
488
|
+
</tbody>
|
489
|
+
</table></div>
|
490
|
+
<p class="since">Since 1.0</p>
|
491
|
+
</div>
|
492
|
+
<hr>
|
493
|
+
<div class="refsect2">
|
494
|
+
<a name="cairo-get-font-options"></a><h3>cairo_get_font_options ()</h3>
|
495
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_get_font_options (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
496
|
+
<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
|
497
|
+
<p>
|
498
|
+
Retrieves font rendering options set via <a class="link" href="cairo-text.html#cairo-set-font-options" title="cairo_set_font_options ()"><span class="type">cairo_set_font_options</span></a>.
|
499
|
+
Note that the returned options do not include any options derived
|
500
|
+
from the underlying surface; they are literally the options
|
501
|
+
passed to <a class="link" href="cairo-text.html#cairo-set-font-options" title="cairo_set_font_options ()"><code class="function">cairo_set_font_options()</code></a>.
|
502
|
+
</p>
|
503
|
+
<div class="variablelist"><table border="0">
|
504
|
+
<col align="left" valign="top">
|
505
|
+
<tbody>
|
506
|
+
<tr>
|
507
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
508
|
+
<td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
|
509
|
+
</td>
|
510
|
+
</tr>
|
511
|
+
<tr>
|
512
|
+
<td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
|
513
|
+
<td>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> object into which to store
|
514
|
+
the retrieved options. All existing values are overwritten</td>
|
515
|
+
</tr>
|
516
|
+
</tbody>
|
517
|
+
</table></div>
|
518
|
+
<p class="since">Since 1.0</p>
|
519
|
+
</div>
|
520
|
+
<hr>
|
521
|
+
<div class="refsect2">
|
522
|
+
<a name="cairo-set-font-face"></a><h3>cairo_set_font_face ()</h3>
|
523
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_set_font_face (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
524
|
+
<em class="parameter"><code><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> *font_face</code></em>);</pre>
|
525
|
+
<p>
|
526
|
+
Replaces the current <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> object in the <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> with
|
527
|
+
<em class="parameter"><code>font_face</code></em>. The replaced font face in the <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> will be
|
528
|
+
destroyed if there are no other references to it.
|
529
|
+
</p>
|
530
|
+
<div class="variablelist"><table border="0">
|
531
|
+
<col align="left" valign="top">
|
532
|
+
<tbody>
|
533
|
+
<tr>
|
534
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
535
|
+
<td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
|
536
|
+
</td>
|
537
|
+
</tr>
|
538
|
+
<tr>
|
539
|
+
<td><p><span class="term"><em class="parameter"><code>font_face</code></em> :</span></p></td>
|
540
|
+
<td>a <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to restore to the default font</td>
|
541
|
+
</tr>
|
542
|
+
</tbody>
|
543
|
+
</table></div>
|
544
|
+
<p class="since">Since 1.0</p>
|
545
|
+
</div>
|
546
|
+
<hr>
|
547
|
+
<div class="refsect2">
|
548
|
+
<a name="cairo-get-font-face"></a><h3>cairo_get_font_face ()</h3>
|
549
|
+
<pre class="programlisting"><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * cairo_get_font_face (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>);</pre>
|
550
|
+
<p>
|
551
|
+
Gets the current font face for a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>.
|
552
|
+
</p>
|
553
|
+
<div class="variablelist"><table border="0">
|
554
|
+
<col align="left" valign="top">
|
555
|
+
<tbody>
|
556
|
+
<tr>
|
557
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
558
|
+
<td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
|
559
|
+
</td>
|
560
|
+
</tr>
|
561
|
+
<tr>
|
562
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
563
|
+
<td>the current font face. This object is owned by
|
564
|
+
cairo. To keep a reference to it, you must call
|
565
|
+
<a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-reference" title="cairo_font_face_reference ()"><code class="function">cairo_font_face_reference()</code></a>.
|
566
|
+
This function never returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. If memory cannot be allocated, a
|
567
|
+
special "nil" <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> object will be returned on which
|
568
|
+
<a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-status" title="cairo_font_face_status ()"><code class="function">cairo_font_face_status()</code></a> returns <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-NO-MEMORY:CAPS"><code class="literal">CAIRO_STATUS_NO_MEMORY</code></a>. Using
|
569
|
+
this nil object will cause its error state to propagate to other
|
570
|
+
objects it is passed to, (for example, calling
|
571
|
+
<a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a> with a nil font will trigger an error that
|
572
|
+
will shutdown the <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> object).</td>
|
573
|
+
</tr>
|
574
|
+
</tbody>
|
575
|
+
</table></div>
|
576
|
+
<p class="since">Since 1.0</p>
|
577
|
+
</div>
|
578
|
+
<hr>
|
579
|
+
<div class="refsect2">
|
580
|
+
<a name="cairo-set-scaled-font"></a><h3>cairo_set_scaled_font ()</h3>
|
581
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_set_scaled_font (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
582
|
+
<em class="parameter"><code>const <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a> *scaled_font</code></em>);</pre>
|
583
|
+
<p>
|
584
|
+
Replaces the current font face, font matrix, and font options in
|
585
|
+
the <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> with those of the <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a>. Except for
|
586
|
+
some translation, the current CTM of the <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> should be the
|
587
|
+
same as that of the <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a>, which can be accessed
|
588
|
+
using <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-get-ctm" title="cairo_scaled_font_get_ctm ()"><code class="function">cairo_scaled_font_get_ctm()</code></a>.
|
589
|
+
</p>
|
590
|
+
<div class="variablelist"><table border="0">
|
591
|
+
<col align="left" valign="top">
|
592
|
+
<tbody>
|
593
|
+
<tr>
|
594
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
595
|
+
<td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
|
596
|
+
</td>
|
597
|
+
</tr>
|
598
|
+
<tr>
|
599
|
+
<td><p><span class="term"><em class="parameter"><code>scaled_font</code></em> :</span></p></td>
|
600
|
+
<td>a <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a>
|
601
|
+
</td>
|
602
|
+
</tr>
|
603
|
+
</tbody>
|
604
|
+
</table></div>
|
605
|
+
<p class="since">Since 1.2</p>
|
606
|
+
</div>
|
607
|
+
<hr>
|
608
|
+
<div class="refsect2">
|
609
|
+
<a name="cairo-get-scaled-font"></a><h3>cairo_get_scaled_font ()</h3>
|
610
|
+
<pre class="programlisting"><a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="returnvalue">cairo_scaled_font_t</span></a> * cairo_get_scaled_font (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>);</pre>
|
611
|
+
<p>
|
612
|
+
Gets the current scaled font for a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>.
|
613
|
+
</p>
|
614
|
+
<div class="variablelist"><table border="0">
|
615
|
+
<col align="left" valign="top">
|
616
|
+
<tbody>
|
617
|
+
<tr>
|
618
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
619
|
+
<td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
|
620
|
+
</td>
|
621
|
+
</tr>
|
622
|
+
<tr>
|
623
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
624
|
+
<td>the current scaled font. This object is owned by
|
625
|
+
cairo. To keep a reference to it, you must call
|
626
|
+
<a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-reference" title="cairo_scaled_font_reference ()"><code class="function">cairo_scaled_font_reference()</code></a>.
|
627
|
+
This function never returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. If memory cannot be allocated, a
|
628
|
+
special "nil" <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a> object will be returned on which
|
629
|
+
<a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-status" title="cairo_scaled_font_status ()"><code class="function">cairo_scaled_font_status()</code></a> returns <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-NO-MEMORY:CAPS"><code class="literal">CAIRO_STATUS_NO_MEMORY</code></a>. Using
|
630
|
+
this nil object will cause its error state to propagate to other
|
631
|
+
objects it is passed to, (for example, calling
|
632
|
+
<a class="link" href="cairo-text.html#cairo-set-scaled-font" title="cairo_set_scaled_font ()"><code class="function">cairo_set_scaled_font()</code></a> with a nil font will trigger an error that
|
633
|
+
will shutdown the <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> object).</td>
|
634
|
+
</tr>
|
635
|
+
</tbody>
|
636
|
+
</table></div>
|
637
|
+
<p class="since">Since 1.4</p>
|
638
|
+
</div>
|
639
|
+
<hr>
|
640
|
+
<div class="refsect2">
|
641
|
+
<a name="cairo-show-text"></a><h3>cairo_show_text ()</h3>
|
642
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_show_text (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
643
|
+
<em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>);</pre>
|
644
|
+
<p>
|
645
|
+
A drawing operator that generates the shape from a string of UTF-8
|
646
|
+
characters, rendered according to the current font_face, font_size
|
647
|
+
(font_matrix), and font_options.
|
648
|
+
</p>
|
649
|
+
<p>
|
650
|
+
This function first computes a set of glyphs for the string of
|
651
|
+
text. The first glyph is placed so that its origin is at the
|
652
|
+
current point. The origin of each subsequent glyph is offset from
|
653
|
+
that of the previous glyph by the advance values of the previous
|
654
|
+
glyph.
|
655
|
+
</p>
|
656
|
+
<p>
|
657
|
+
After this call the current point is moved to the origin of where
|
658
|
+
the next glyph would be placed in this same progression. That is,
|
659
|
+
the current point will be at the origin of the final glyph offset
|
660
|
+
by its advance values. This allows for easy display of a single
|
661
|
+
logical string with multiple calls to <a class="link" href="cairo-text.html#cairo-show-text" title="cairo_show_text ()"><code class="function">cairo_show_text()</code></a>.
|
662
|
+
</p>
|
663
|
+
<p>
|
664
|
+
Note: The <a class="link" href="cairo-text.html#cairo-show-text" title="cairo_show_text ()"><code class="function">cairo_show_text()</code></a> function call is part of what the cairo
|
665
|
+
designers call the "toy" text API. It is convenient for short demos
|
666
|
+
and simple programs, but it is not expected to be adequate for
|
667
|
+
serious text-using applications. See <a class="link" href="cairo-text.html#cairo-show-glyphs" title="cairo_show_glyphs ()"><code class="function">cairo_show_glyphs()</code></a> for the
|
668
|
+
"real" text display API in cairo.
|
669
|
+
</p>
|
670
|
+
<div class="variablelist"><table border="0">
|
671
|
+
<col align="left" valign="top">
|
672
|
+
<tbody>
|
673
|
+
<tr>
|
674
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
675
|
+
<td>a cairo context</td>
|
676
|
+
</tr>
|
677
|
+
<tr>
|
678
|
+
<td><p><span class="term"><em class="parameter"><code>utf8</code></em> :</span></p></td>
|
679
|
+
<td>a NUL-terminated string of text encoded in UTF-8, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
680
|
+
</td>
|
681
|
+
</tr>
|
682
|
+
</tbody>
|
683
|
+
</table></div>
|
684
|
+
<p class="since">Since 1.0</p>
|
685
|
+
</div>
|
686
|
+
<hr>
|
687
|
+
<div class="refsect2">
|
688
|
+
<a name="cairo-show-glyphs"></a><h3>cairo_show_glyphs ()</h3>
|
689
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_show_glyphs (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
690
|
+
<em class="parameter"><code>const <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> *glyphs</code></em>,
|
691
|
+
<em class="parameter"><code><span class="type">int</span> num_glyphs</code></em>);</pre>
|
692
|
+
<p>
|
693
|
+
A drawing operator that generates the shape from an array of glyphs,
|
694
|
+
rendered according to the current font face, font size
|
695
|
+
(font matrix), and font options.
|
696
|
+
</p>
|
697
|
+
<div class="variablelist"><table border="0">
|
698
|
+
<col align="left" valign="top">
|
699
|
+
<tbody>
|
700
|
+
<tr>
|
701
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
702
|
+
<td>a cairo context</td>
|
703
|
+
</tr>
|
704
|
+
<tr>
|
705
|
+
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
706
|
+
<td>array of glyphs to show</td>
|
707
|
+
</tr>
|
708
|
+
<tr>
|
709
|
+
<td><p><span class="term"><em class="parameter"><code>num_glyphs</code></em> :</span></p></td>
|
710
|
+
<td>number of glyphs to show</td>
|
711
|
+
</tr>
|
712
|
+
</tbody>
|
713
|
+
</table></div>
|
714
|
+
<p class="since">Since 1.0</p>
|
715
|
+
</div>
|
716
|
+
<hr>
|
717
|
+
<div class="refsect2">
|
718
|
+
<a name="cairo-show-text-glyphs"></a><h3>cairo_show_text_glyphs ()</h3>
|
719
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_show_text_glyphs (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
720
|
+
<em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>,
|
721
|
+
<em class="parameter"><code><span class="type">int</span> utf8_len</code></em>,
|
722
|
+
<em class="parameter"><code>const <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> *glyphs</code></em>,
|
723
|
+
<em class="parameter"><code><span class="type">int</span> num_glyphs</code></em>,
|
724
|
+
<em class="parameter"><code>const <a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t"><span class="type">cairo_text_cluster_t</span></a> *clusters</code></em>,
|
725
|
+
<em class="parameter"><code><span class="type">int</span> num_clusters</code></em>,
|
726
|
+
<em class="parameter"><code><a class="link" href="cairo-text.html#cairo-text-cluster-flags-t" title="enum cairo_text_cluster_flags_t"><span class="type">cairo_text_cluster_flags_t</span></a> cluster_flags</code></em>);</pre>
|
727
|
+
<p>
|
728
|
+
This operation has rendering effects similar to <a class="link" href="cairo-text.html#cairo-show-glyphs" title="cairo_show_glyphs ()"><code class="function">cairo_show_glyphs()</code></a>
|
729
|
+
but, if the target surface supports it, uses the provided text and
|
730
|
+
cluster mapping to embed the text for the glyphs shown in the output.
|
731
|
+
If the target does not support the extended attributes, this function
|
732
|
+
acts like the basic <a class="link" href="cairo-text.html#cairo-show-glyphs" title="cairo_show_glyphs ()"><code class="function">cairo_show_glyphs()</code></a> as if it had been passed
|
733
|
+
<em class="parameter"><code>glyphs</code></em> and <em class="parameter"><code>num_glyphs</code></em>.
|
734
|
+
</p>
|
735
|
+
<p>
|
736
|
+
The mapping between <em class="parameter"><code>utf8</code></em> and <em class="parameter"><code>glyphs</code></em> is provided by an array of
|
737
|
+
<em class="firstterm">clusters</em>. Each cluster covers a number of
|
738
|
+
text bytes and glyphs, and neighboring clusters cover neighboring
|
739
|
+
areas of <em class="parameter"><code>utf8</code></em> and <em class="parameter"><code>glyphs</code></em>. The clusters should collectively cover <em class="parameter"><code>utf8</code></em>
|
740
|
+
and <em class="parameter"><code>glyphs</code></em> in entirety.
|
741
|
+
</p>
|
742
|
+
<p>
|
743
|
+
The first cluster always covers bytes from the beginning of <em class="parameter"><code>utf8</code></em>.
|
744
|
+
If <em class="parameter"><code>cluster_flags</code></em> do not have the <a class="link" href="cairo-text.html#CAIRO-TEXT-CLUSTER-FLAG-BACKWARD:CAPS"><code class="literal">CAIRO_TEXT_CLUSTER_FLAG_BACKWARD</code></a>
|
745
|
+
set, the first cluster also covers the beginning
|
746
|
+
of <em class="parameter"><code>glyphs</code></em>, otherwise it covers the end of the <em class="parameter"><code>glyphs</code></em> array and
|
747
|
+
following clusters move backward.
|
748
|
+
</p>
|
749
|
+
<p>
|
750
|
+
See <a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t"><span class="type">cairo_text_cluster_t</span></a> for constraints on valid clusters.
|
751
|
+
</p>
|
752
|
+
<div class="variablelist"><table border="0">
|
753
|
+
<col align="left" valign="top">
|
754
|
+
<tbody>
|
755
|
+
<tr>
|
756
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
757
|
+
<td>a cairo context</td>
|
758
|
+
</tr>
|
759
|
+
<tr>
|
760
|
+
<td><p><span class="term"><em class="parameter"><code>utf8</code></em> :</span></p></td>
|
761
|
+
<td>a string of text encoded in UTF-8</td>
|
762
|
+
</tr>
|
763
|
+
<tr>
|
764
|
+
<td><p><span class="term"><em class="parameter"><code>utf8_len</code></em> :</span></p></td>
|
765
|
+
<td>length of <em class="parameter"><code>utf8</code></em> in bytes, or -1 if it is NUL-terminated</td>
|
766
|
+
</tr>
|
767
|
+
<tr>
|
768
|
+
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
769
|
+
<td>array of glyphs to show</td>
|
770
|
+
</tr>
|
771
|
+
<tr>
|
772
|
+
<td><p><span class="term"><em class="parameter"><code>num_glyphs</code></em> :</span></p></td>
|
773
|
+
<td>number of glyphs to show</td>
|
774
|
+
</tr>
|
775
|
+
<tr>
|
776
|
+
<td><p><span class="term"><em class="parameter"><code>clusters</code></em> :</span></p></td>
|
777
|
+
<td>array of cluster mapping information</td>
|
778
|
+
</tr>
|
779
|
+
<tr>
|
780
|
+
<td><p><span class="term"><em class="parameter"><code>num_clusters</code></em> :</span></p></td>
|
781
|
+
<td>number of clusters in the mapping</td>
|
782
|
+
</tr>
|
783
|
+
<tr>
|
784
|
+
<td><p><span class="term"><em class="parameter"><code>cluster_flags</code></em> :</span></p></td>
|
785
|
+
<td>cluster mapping flags</td>
|
786
|
+
</tr>
|
787
|
+
</tbody>
|
788
|
+
</table></div>
|
789
|
+
<p class="since">Since 1.8</p>
|
790
|
+
</div>
|
791
|
+
<hr>
|
792
|
+
<div class="refsect2">
|
793
|
+
<a name="cairo-font-extents"></a><h3>cairo_font_extents ()</h3>
|
794
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_font_extents (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
795
|
+
<em class="parameter"><code><a class="link" href="cairo-cairo-scaled-font-t.html#cairo-font-extents-t" title="cairo_font_extents_t"><span class="type">cairo_font_extents_t</span></a> *extents</code></em>);</pre>
|
796
|
+
<p>
|
797
|
+
Gets the font extents for the currently selected font.
|
798
|
+
</p>
|
799
|
+
<div class="variablelist"><table border="0">
|
800
|
+
<col align="left" valign="top">
|
801
|
+
<tbody>
|
802
|
+
<tr>
|
803
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
804
|
+
<td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
|
805
|
+
</td>
|
806
|
+
</tr>
|
807
|
+
<tr>
|
808
|
+
<td><p><span class="term"><em class="parameter"><code>extents</code></em> :</span></p></td>
|
809
|
+
<td>a <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-font-extents-t" title="cairo_font_extents_t"><span class="type">cairo_font_extents_t</span></a> object into which the results
|
810
|
+
will be stored.</td>
|
811
|
+
</tr>
|
812
|
+
</tbody>
|
813
|
+
</table></div>
|
814
|
+
<p class="since">Since 1.0</p>
|
815
|
+
</div>
|
816
|
+
<hr>
|
817
|
+
<div class="refsect2">
|
818
|
+
<a name="cairo-text-extents"></a><h3>cairo_text_extents ()</h3>
|
819
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_text_extents (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
820
|
+
<em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>,
|
821
|
+
<em class="parameter"><code><a class="link" href="cairo-cairo-scaled-font-t.html#cairo-text-extents-t" title="cairo_text_extents_t"><span class="type">cairo_text_extents_t</span></a> *extents</code></em>);</pre>
|
822
|
+
<p>
|
823
|
+
Gets the extents for a string of text. The extents describe a
|
824
|
+
user-space rectangle that encloses the "inked" portion of the text,
|
825
|
+
(as it would be drawn by <a class="link" href="cairo-text.html#cairo-show-text" title="cairo_show_text ()"><code class="function">cairo_show_text()</code></a>). Additionally, the
|
826
|
+
x_advance and y_advance values indicate the amount by which the
|
827
|
+
current point would be advanced by <a class="link" href="cairo-text.html#cairo-show-text" title="cairo_show_text ()"><code class="function">cairo_show_text()</code></a>.
|
828
|
+
</p>
|
829
|
+
<p>
|
830
|
+
Note that whitespace characters do not directly contribute to the
|
831
|
+
size of the rectangle (extents.width and extents.height). They do
|
832
|
+
contribute indirectly by changing the position of non-whitespace
|
833
|
+
characters. In particular, trailing whitespace characters are
|
834
|
+
likely to not affect the size of the rectangle, though they will
|
835
|
+
affect the x_advance and y_advance values.
|
836
|
+
</p>
|
837
|
+
<div class="variablelist"><table border="0">
|
838
|
+
<col align="left" valign="top">
|
839
|
+
<tbody>
|
840
|
+
<tr>
|
841
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
842
|
+
<td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
|
843
|
+
</td>
|
844
|
+
</tr>
|
845
|
+
<tr>
|
846
|
+
<td><p><span class="term"><em class="parameter"><code>utf8</code></em> :</span></p></td>
|
847
|
+
<td>a NUL-terminated string of text encoded in UTF-8, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
848
|
+
</td>
|
849
|
+
</tr>
|
850
|
+
<tr>
|
851
|
+
<td><p><span class="term"><em class="parameter"><code>extents</code></em> :</span></p></td>
|
852
|
+
<td>a <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-text-extents-t" title="cairo_text_extents_t"><span class="type">cairo_text_extents_t</span></a> object into which the results
|
853
|
+
will be stored</td>
|
854
|
+
</tr>
|
855
|
+
</tbody>
|
856
|
+
</table></div>
|
857
|
+
<p class="since">Since 1.0</p>
|
858
|
+
</div>
|
859
|
+
<hr>
|
860
|
+
<div class="refsect2">
|
861
|
+
<a name="cairo-glyph-extents"></a><h3>cairo_glyph_extents ()</h3>
|
862
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_glyph_extents (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
863
|
+
<em class="parameter"><code>const <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> *glyphs</code></em>,
|
864
|
+
<em class="parameter"><code><span class="type">int</span> num_glyphs</code></em>,
|
865
|
+
<em class="parameter"><code><a class="link" href="cairo-cairo-scaled-font-t.html#cairo-text-extents-t" title="cairo_text_extents_t"><span class="type">cairo_text_extents_t</span></a> *extents</code></em>);</pre>
|
866
|
+
<p>
|
867
|
+
Gets the extents for an array of glyphs. The extents describe a
|
868
|
+
user-space rectangle that encloses the "inked" portion of the
|
869
|
+
glyphs, (as they would be drawn by <a class="link" href="cairo-text.html#cairo-show-glyphs" title="cairo_show_glyphs ()"><code class="function">cairo_show_glyphs()</code></a>).
|
870
|
+
Additionally, the x_advance and y_advance values indicate the
|
871
|
+
amount by which the current point would be advanced by
|
872
|
+
<a class="link" href="cairo-text.html#cairo-show-glyphs" title="cairo_show_glyphs ()"><code class="function">cairo_show_glyphs()</code></a>.
|
873
|
+
</p>
|
874
|
+
<p>
|
875
|
+
Note that whitespace glyphs do not contribute to the size of the
|
876
|
+
rectangle (extents.width and extents.height).
|
877
|
+
</p>
|
878
|
+
<div class="variablelist"><table border="0">
|
879
|
+
<col align="left" valign="top">
|
880
|
+
<tbody>
|
881
|
+
<tr>
|
882
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
883
|
+
<td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
|
884
|
+
</td>
|
885
|
+
</tr>
|
886
|
+
<tr>
|
887
|
+
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
888
|
+
<td>an array of <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> objects</td>
|
889
|
+
</tr>
|
890
|
+
<tr>
|
891
|
+
<td><p><span class="term"><em class="parameter"><code>num_glyphs</code></em> :</span></p></td>
|
892
|
+
<td>the number of elements in <em class="parameter"><code>glyphs</code></em>
|
893
|
+
</td>
|
894
|
+
</tr>
|
895
|
+
<tr>
|
896
|
+
<td><p><span class="term"><em class="parameter"><code>extents</code></em> :</span></p></td>
|
897
|
+
<td>a <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-text-extents-t" title="cairo_text_extents_t"><span class="type">cairo_text_extents_t</span></a> object into which the results
|
898
|
+
will be stored</td>
|
899
|
+
</tr>
|
900
|
+
</tbody>
|
901
|
+
</table></div>
|
902
|
+
<p class="since">Since 1.0</p>
|
903
|
+
</div>
|
904
|
+
<hr>
|
905
|
+
<div class="refsect2">
|
906
|
+
<a name="cairo-toy-font-face-create"></a><h3>cairo_toy_font_face_create ()</h3>
|
907
|
+
<pre class="programlisting"><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * cairo_toy_font_face_create (<em class="parameter"><code>const <span class="type">char</span> *family</code></em>,
|
908
|
+
<em class="parameter"><code><a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t"><span class="type">cairo_font_slant_t</span></a> slant</code></em>,
|
909
|
+
<em class="parameter"><code><a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t"><span class="type">cairo_font_weight_t</span></a> weight</code></em>);</pre>
|
910
|
+
<p>
|
911
|
+
Creates a font face from a triplet of family, slant, and weight.
|
912
|
+
These font faces are used in implementation of the the <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> "toy"
|
913
|
+
font API.
|
914
|
+
</p>
|
915
|
+
<p>
|
916
|
+
If <em class="parameter"><code>family</code></em> is the zero-length string "", the platform-specific default
|
917
|
+
family is assumed. The default family then can be queried using
|
918
|
+
<a class="link" href="cairo-text.html#cairo-toy-font-face-get-family" title="cairo_toy_font_face_get_family ()"><code class="function">cairo_toy_font_face_get_family()</code></a>.
|
919
|
+
</p>
|
920
|
+
<p>
|
921
|
+
The <a class="link" href="cairo-text.html#cairo-select-font-face" title="cairo_select_font_face ()"><code class="function">cairo_select_font_face()</code></a> function uses this to create font faces.
|
922
|
+
See that function for limitations and other details of toy font faces.
|
923
|
+
</p>
|
924
|
+
<div class="variablelist"><table border="0">
|
925
|
+
<col align="left" valign="top">
|
926
|
+
<tbody>
|
927
|
+
<tr>
|
928
|
+
<td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
|
929
|
+
<td>a font family name, encoded in UTF-8</td>
|
930
|
+
</tr>
|
931
|
+
<tr>
|
932
|
+
<td><p><span class="term"><em class="parameter"><code>slant</code></em> :</span></p></td>
|
933
|
+
<td>the slant for the font</td>
|
934
|
+
</tr>
|
935
|
+
<tr>
|
936
|
+
<td><p><span class="term"><em class="parameter"><code>weight</code></em> :</span></p></td>
|
937
|
+
<td>the weight for the font</td>
|
938
|
+
</tr>
|
939
|
+
<tr>
|
940
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
941
|
+
<td>a newly created <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>. Free with
|
942
|
+
<a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-destroy" title="cairo_font_face_destroy ()"><code class="function">cairo_font_face_destroy()</code></a> when you are done using it.</td>
|
943
|
+
</tr>
|
944
|
+
</tbody>
|
945
|
+
</table></div>
|
946
|
+
<p class="since">Since 1.8</p>
|
947
|
+
</div>
|
948
|
+
<hr>
|
949
|
+
<div class="refsect2">
|
950
|
+
<a name="cairo-toy-font-face-get-family"></a><h3>cairo_toy_font_face_get_family ()</h3>
|
951
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> * cairo_toy_font_face_get_family (<em class="parameter"><code><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> *font_face</code></em>);</pre>
|
952
|
+
<p>
|
953
|
+
Gets the familly name of a toy font.
|
954
|
+
</p>
|
955
|
+
<div class="variablelist"><table border="0">
|
956
|
+
<col align="left" valign="top">
|
957
|
+
<tbody>
|
958
|
+
<tr>
|
959
|
+
<td><p><span class="term"><em class="parameter"><code>font_face</code></em> :</span></p></td>
|
960
|
+
<td>A toy font face</td>
|
961
|
+
</tr>
|
962
|
+
<tr>
|
963
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
964
|
+
<td>The family name. This string is owned by the font face
|
965
|
+
and remains valid as long as the font face is alive (referenced).</td>
|
966
|
+
</tr>
|
967
|
+
</tbody>
|
968
|
+
</table></div>
|
969
|
+
<p class="since">Since 1.8</p>
|
970
|
+
</div>
|
971
|
+
<hr>
|
972
|
+
<div class="refsect2">
|
973
|
+
<a name="cairo-toy-font-face-get-slant"></a><h3>cairo_toy_font_face_get_slant ()</h3>
|
974
|
+
<pre class="programlisting"><a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t"><span class="returnvalue">cairo_font_slant_t</span></a> cairo_toy_font_face_get_slant (<em class="parameter"><code><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> *font_face</code></em>);</pre>
|
975
|
+
<p>
|
976
|
+
Gets the slant a toy font.
|
977
|
+
</p>
|
978
|
+
<div class="variablelist"><table border="0">
|
979
|
+
<col align="left" valign="top">
|
980
|
+
<tbody>
|
981
|
+
<tr>
|
982
|
+
<td><p><span class="term"><em class="parameter"><code>font_face</code></em> :</span></p></td>
|
983
|
+
<td>A toy font face</td>
|
984
|
+
</tr>
|
985
|
+
<tr>
|
986
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
987
|
+
<td>The slant value</td>
|
988
|
+
</tr>
|
989
|
+
</tbody>
|
990
|
+
</table></div>
|
991
|
+
<p class="since">Since 1.8</p>
|
992
|
+
</div>
|
993
|
+
<hr>
|
994
|
+
<div class="refsect2">
|
995
|
+
<a name="cairo-toy-font-face-get-weight"></a><h3>cairo_toy_font_face_get_weight ()</h3>
|
996
|
+
<pre class="programlisting"><a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t"><span class="returnvalue">cairo_font_weight_t</span></a> cairo_toy_font_face_get_weight (<em class="parameter"><code><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> *font_face</code></em>);</pre>
|
997
|
+
<p>
|
998
|
+
Gets the weight a toy font.
|
999
|
+
</p>
|
1000
|
+
<div class="variablelist"><table border="0">
|
1001
|
+
<col align="left" valign="top">
|
1002
|
+
<tbody>
|
1003
|
+
<tr>
|
1004
|
+
<td><p><span class="term"><em class="parameter"><code>font_face</code></em> :</span></p></td>
|
1005
|
+
<td>A toy font face</td>
|
1006
|
+
</tr>
|
1007
|
+
<tr>
|
1008
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1009
|
+
<td>The weight value</td>
|
1010
|
+
</tr>
|
1011
|
+
</tbody>
|
1012
|
+
</table></div>
|
1013
|
+
<p class="since">Since 1.8</p>
|
1014
|
+
</div>
|
1015
|
+
<hr>
|
1016
|
+
<div class="refsect2">
|
1017
|
+
<a name="cairo-glyph-allocate"></a><h3>cairo_glyph_allocate ()</h3>
|
1018
|
+
<pre class="programlisting"><a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="returnvalue">cairo_glyph_t</span></a> * cairo_glyph_allocate (<em class="parameter"><code><span class="type">int</span> num_glyphs</code></em>);</pre>
|
1019
|
+
<p>
|
1020
|
+
Allocates an array of <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a>'s.
|
1021
|
+
This function is only useful in implementations of
|
1022
|
+
<a class="link" href="cairo-User-Fonts.html#cairo-user-scaled-font-text-to-glyphs-func-t" title="cairo_user_scaled_font_text_to_glyphs_func_t ()"><span class="type">cairo_user_scaled_font_text_to_glyphs_func_t</span></a> where the user
|
1023
|
+
needs to allocate an array of glyphs that cairo will free.
|
1024
|
+
For all other uses, user can use their own allocation method
|
1025
|
+
for glyphs.
|
1026
|
+
</p>
|
1027
|
+
<p>
|
1028
|
+
This function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>num_glyphs</code></em> is not positive,
|
1029
|
+
or if out of memory. That means, the <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> return value
|
1030
|
+
signals out-of-memory only if <em class="parameter"><code>num_glyphs</code></em> was positive.
|
1031
|
+
</p>
|
1032
|
+
<div class="variablelist"><table border="0">
|
1033
|
+
<col align="left" valign="top">
|
1034
|
+
<tbody>
|
1035
|
+
<tr>
|
1036
|
+
<td><p><span class="term"><em class="parameter"><code>num_glyphs</code></em> :</span></p></td>
|
1037
|
+
<td>number of glyphs to allocate</td>
|
1038
|
+
</tr>
|
1039
|
+
<tr>
|
1040
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1041
|
+
<td>the newly allocated array of glyphs that should be
|
1042
|
+
freed using <a class="link" href="cairo-text.html#cairo-glyph-free" title="cairo_glyph_free ()"><code class="function">cairo_glyph_free()</code></a>
|
1043
|
+
</td>
|
1044
|
+
</tr>
|
1045
|
+
</tbody>
|
1046
|
+
</table></div>
|
1047
|
+
<p class="since">Since 1.8</p>
|
1048
|
+
</div>
|
1049
|
+
<hr>
|
1050
|
+
<div class="refsect2">
|
1051
|
+
<a name="cairo-glyph-free"></a><h3>cairo_glyph_free ()</h3>
|
1052
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_glyph_free (<em class="parameter"><code><a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> *glyphs</code></em>);</pre>
|
1053
|
+
<p>
|
1054
|
+
Frees an array of <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a>'s allocated using <a class="link" href="cairo-text.html#cairo-glyph-allocate" title="cairo_glyph_allocate ()"><code class="function">cairo_glyph_allocate()</code></a>.
|
1055
|
+
This function is only useful to free glyph array returned
|
1056
|
+
by <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-text-to-glyphs" title="cairo_scaled_font_text_to_glyphs ()"><code class="function">cairo_scaled_font_text_to_glyphs()</code></a> where cairo returns
|
1057
|
+
an array of glyphs that the user will free.
|
1058
|
+
For all other uses, user can use their own allocation method
|
1059
|
+
for glyphs.
|
1060
|
+
</p>
|
1061
|
+
<div class="variablelist"><table border="0">
|
1062
|
+
<col align="left" valign="top">
|
1063
|
+
<tbody><tr>
|
1064
|
+
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1065
|
+
<td>array of glyphs to free, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1066
|
+
</td>
|
1067
|
+
</tr></tbody>
|
1068
|
+
</table></div>
|
1069
|
+
<p class="since">Since 1.8</p>
|
1070
|
+
</div>
|
1071
|
+
<hr>
|
1072
|
+
<div class="refsect2">
|
1073
|
+
<a name="cairo-text-cluster-allocate"></a><h3>cairo_text_cluster_allocate ()</h3>
|
1074
|
+
<pre class="programlisting"><a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t"><span class="returnvalue">cairo_text_cluster_t</span></a> * cairo_text_cluster_allocate (<em class="parameter"><code><span class="type">int</span> num_clusters</code></em>);</pre>
|
1075
|
+
<p>
|
1076
|
+
Allocates an array of <a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t"><span class="type">cairo_text_cluster_t</span></a>'s.
|
1077
|
+
This function is only useful in implementations of
|
1078
|
+
<a class="link" href="cairo-User-Fonts.html#cairo-user-scaled-font-text-to-glyphs-func-t" title="cairo_user_scaled_font_text_to_glyphs_func_t ()"><span class="type">cairo_user_scaled_font_text_to_glyphs_func_t</span></a> where the user
|
1079
|
+
needs to allocate an array of text clusters that cairo will free.
|
1080
|
+
For all other uses, user can use their own allocation method
|
1081
|
+
for text clusters.
|
1082
|
+
</p>
|
1083
|
+
<p>
|
1084
|
+
This function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>num_clusters</code></em> is not positive,
|
1085
|
+
or if out of memory. That means, the <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> return value
|
1086
|
+
signals out-of-memory only if <em class="parameter"><code>num_clusters</code></em> was positive.
|
1087
|
+
</p>
|
1088
|
+
<div class="variablelist"><table border="0">
|
1089
|
+
<col align="left" valign="top">
|
1090
|
+
<tbody>
|
1091
|
+
<tr>
|
1092
|
+
<td><p><span class="term"><em class="parameter"><code>num_clusters</code></em> :</span></p></td>
|
1093
|
+
<td>number of text_clusters to allocate</td>
|
1094
|
+
</tr>
|
1095
|
+
<tr>
|
1096
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1097
|
+
<td>the newly allocated array of text clusters that should be
|
1098
|
+
freed using <a class="link" href="cairo-text.html#cairo-text-cluster-free" title="cairo_text_cluster_free ()"><code class="function">cairo_text_cluster_free()</code></a>
|
1099
|
+
</td>
|
1100
|
+
</tr>
|
1101
|
+
</tbody>
|
1102
|
+
</table></div>
|
1103
|
+
<p class="since">Since 1.8</p>
|
1104
|
+
</div>
|
1105
|
+
<hr>
|
1106
|
+
<div class="refsect2">
|
1107
|
+
<a name="cairo-text-cluster-free"></a><h3>cairo_text_cluster_free ()</h3>
|
1108
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cairo_text_cluster_free (<em class="parameter"><code><a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t"><span class="type">cairo_text_cluster_t</span></a> *clusters</code></em>);</pre>
|
1109
|
+
<p>
|
1110
|
+
Frees an array of <span class="type">cairo_text_cluster</span>'s allocated using <a class="link" href="cairo-text.html#cairo-text-cluster-allocate" title="cairo_text_cluster_allocate ()"><code class="function">cairo_text_cluster_allocate()</code></a>.
|
1111
|
+
This function is only useful to free text cluster array returned
|
1112
|
+
by <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-text-to-glyphs" title="cairo_scaled_font_text_to_glyphs ()"><code class="function">cairo_scaled_font_text_to_glyphs()</code></a> where cairo returns
|
1113
|
+
an array of text clusters that the user will free.
|
1114
|
+
For all other uses, user can use their own allocation method
|
1115
|
+
for text clusters.
|
1116
|
+
</p>
|
1117
|
+
<div class="variablelist"><table border="0">
|
1118
|
+
<col align="left" valign="top">
|
1119
|
+
<tbody><tr>
|
1120
|
+
<td><p><span class="term"><em class="parameter"><code>clusters</code></em> :</span></p></td>
|
1121
|
+
<td>array of text clusters to free, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1122
|
+
</td>
|
1123
|
+
</tr></tbody>
|
1124
|
+
</table></div>
|
1125
|
+
<p class="since">Since 1.8</p>
|
1126
|
+
</div>
|
1127
|
+
</div>
|
1128
|
+
<div class="refsect1">
|
1129
|
+
<a name="cairo-text.see-also"></a><h2>See Also</h2>
|
1130
|
+
<a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>, <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a>, <a class="link" href="cairo-Paths.html#cairo-text-path" title="cairo_text_path ()"><code class="function">cairo_text_path()</code></a>,
|
1131
|
+
<a class="link" href="cairo-Paths.html#cairo-glyph-path" title="cairo_glyph_path ()"><code class="function">cairo_glyph_path()</code></a>
|
1132
|
+
</div>
|
1133
|
+
</div>
|
1134
|
+
<div class="footer">
|
1135
|
+
<hr>
|
1136
|
+
Generated by GTK-Doc V1.18</div>
|
1137
|
+
</body>
|
1138
|
+
</html>
|