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,385 @@
|
|
1
|
+
/* -*- c-file-style: "gnu"; indent-tabs-mode: nil -*- */
|
2
|
+
/*
|
3
|
+
* Ruby Cairo Binding
|
4
|
+
*
|
5
|
+
* Copyright 2010 Kouhei Sutou <kou@cozmixng.org>
|
6
|
+
*
|
7
|
+
* This file is made available under the same terms as Ruby
|
8
|
+
*
|
9
|
+
*/
|
10
|
+
|
11
|
+
|
12
|
+
#include "rb_cairo.h"
|
13
|
+
#include "rb_cairo_private.h"
|
14
|
+
|
15
|
+
VALUE rb_cCairo_Region = Qnil;
|
16
|
+
|
17
|
+
#if CAIRO_CHECK_VERSION(1, 10, 0)
|
18
|
+
|
19
|
+
#define _SELF (RVAL2CRREGION(self))
|
20
|
+
|
21
|
+
static inline void
|
22
|
+
cr_region_check_status (cairo_region_t *region)
|
23
|
+
{
|
24
|
+
rb_cairo_check_status (cairo_region_status (region));
|
25
|
+
}
|
26
|
+
|
27
|
+
cairo_region_t *
|
28
|
+
rb_cairo_region_from_ruby_object (VALUE obj)
|
29
|
+
{
|
30
|
+
cairo_region_t *region;
|
31
|
+
if (!rb_cairo__is_kind_of (obj, rb_cCairo_Region))
|
32
|
+
{
|
33
|
+
rb_raise (rb_eTypeError, "not a cairo region");
|
34
|
+
}
|
35
|
+
Data_Get_Struct (obj, cairo_region_t, region);
|
36
|
+
return region;
|
37
|
+
}
|
38
|
+
|
39
|
+
static void
|
40
|
+
cr_region_free (void *ptr)
|
41
|
+
{
|
42
|
+
if (ptr)
|
43
|
+
{
|
44
|
+
cairo_region_destroy ((cairo_region_t *) ptr);
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
VALUE
|
49
|
+
rb_cairo_region_to_ruby_object (cairo_region_t *region)
|
50
|
+
{
|
51
|
+
if (region)
|
52
|
+
{
|
53
|
+
cairo_region_reference (region);
|
54
|
+
return Data_Wrap_Struct (rb_cCairo_Region, NULL, cr_region_free, region);
|
55
|
+
}
|
56
|
+
else
|
57
|
+
{
|
58
|
+
return Qnil;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
static VALUE
|
63
|
+
cr_region_allocate (VALUE klass)
|
64
|
+
{
|
65
|
+
return Data_Wrap_Struct (klass, NULL, cr_region_free, NULL);
|
66
|
+
}
|
67
|
+
|
68
|
+
static VALUE
|
69
|
+
cr_region_initialize (int argc, VALUE *argv, VALUE self)
|
70
|
+
{
|
71
|
+
cairo_region_t *region;
|
72
|
+
|
73
|
+
if (argc == 0)
|
74
|
+
{
|
75
|
+
region = cairo_region_create ();
|
76
|
+
}
|
77
|
+
else
|
78
|
+
{
|
79
|
+
int i;
|
80
|
+
cairo_rectangle_int_t *rectangles;
|
81
|
+
|
82
|
+
rectangles = ALLOCA_N (cairo_rectangle_int_t, argc);
|
83
|
+
for (i = 0; i < argc; i++)
|
84
|
+
{
|
85
|
+
VALUE rb_rectangle;
|
86
|
+
|
87
|
+
rb_rectangle = rb_check_array_type (argv[i]);
|
88
|
+
if (RARRAY_LEN (rb_rectangle) != 4)
|
89
|
+
rb_raise (rb_eArgError,
|
90
|
+
"invalid argument (expect "
|
91
|
+
"() or ([x, y, width, height], ...): %s",
|
92
|
+
rb_cairo__inspect (rb_ary_new4 (argc, argv)));
|
93
|
+
rectangles[i].x = NUM2INT (RARRAY_PTR (rb_rectangle)[0]);
|
94
|
+
rectangles[i].y = NUM2INT (RARRAY_PTR (rb_rectangle)[1]);
|
95
|
+
rectangles[i].width = NUM2INT (RARRAY_PTR (rb_rectangle)[2]);
|
96
|
+
rectangles[i].height = NUM2INT (RARRAY_PTR (rb_rectangle)[3]);
|
97
|
+
}
|
98
|
+
region = cairo_region_create_rectangles (rectangles, argc);
|
99
|
+
}
|
100
|
+
cr_region_check_status (region);
|
101
|
+
DATA_PTR (self) = region;
|
102
|
+
return Qnil;
|
103
|
+
}
|
104
|
+
|
105
|
+
static VALUE
|
106
|
+
cr_region_dup (VALUE self)
|
107
|
+
{
|
108
|
+
cairo_region_t *copied_region;
|
109
|
+
VALUE rb_copied_region;
|
110
|
+
|
111
|
+
copied_region = cairo_region_copy (_SELF);
|
112
|
+
cr_region_check_status (copied_region);
|
113
|
+
rb_copied_region = CRREGION2RVAL (copied_region);
|
114
|
+
cairo_region_destroy (copied_region);
|
115
|
+
return rb_copied_region;
|
116
|
+
}
|
117
|
+
|
118
|
+
static VALUE
|
119
|
+
cr_region_equal (VALUE self, VALUE other)
|
120
|
+
{
|
121
|
+
cairo_region_t *region, *other_region;
|
122
|
+
|
123
|
+
if (!rb_cairo__is_kind_of (other, rb_cCairo_Region))
|
124
|
+
return Qfalse;
|
125
|
+
|
126
|
+
region = _SELF;
|
127
|
+
other_region = RVAL2CRREGION (other);
|
128
|
+
return CBOOL2RVAL (cairo_region_equal (region, other_region));
|
129
|
+
}
|
130
|
+
|
131
|
+
static VALUE
|
132
|
+
cr_region_get_extents (VALUE self)
|
133
|
+
{
|
134
|
+
cairo_region_t *region;
|
135
|
+
cairo_rectangle_int_t extents;
|
136
|
+
|
137
|
+
region = _SELF;
|
138
|
+
cairo_region_get_extents (region, &extents);
|
139
|
+
cr_region_check_status (region);
|
140
|
+
return rb_ary_new3 (4,
|
141
|
+
INT2NUM (extents.x), INT2NUM (extents.y),
|
142
|
+
INT2NUM (extents.width), INT2NUM (extents.height));
|
143
|
+
}
|
144
|
+
|
145
|
+
static VALUE
|
146
|
+
cr_region_num_rectangles (VALUE self)
|
147
|
+
{
|
148
|
+
cairo_region_t *region;
|
149
|
+
int num_rectangles;
|
150
|
+
|
151
|
+
region = _SELF;
|
152
|
+
num_rectangles = cairo_region_num_rectangles (region);
|
153
|
+
cr_region_check_status (region);
|
154
|
+
return INT2NUM (num_rectangles);
|
155
|
+
}
|
156
|
+
|
157
|
+
static VALUE
|
158
|
+
cr_region_get_rectangle (VALUE self, VALUE index)
|
159
|
+
{
|
160
|
+
cairo_region_t *region;
|
161
|
+
cairo_rectangle_int_t extents;
|
162
|
+
|
163
|
+
region = _SELF;
|
164
|
+
cairo_region_get_rectangle (region, NUM2INT (index), &extents);
|
165
|
+
cr_region_check_status (region);
|
166
|
+
return rb_ary_new3 (4,
|
167
|
+
INT2NUM (extents.x), INT2NUM (extents.y),
|
168
|
+
INT2NUM (extents.width), INT2NUM (extents.height));
|
169
|
+
}
|
170
|
+
|
171
|
+
static VALUE
|
172
|
+
cr_region_is_empty (VALUE self)
|
173
|
+
{
|
174
|
+
return CBOOL2RVAL (cairo_region_is_empty (_SELF));
|
175
|
+
}
|
176
|
+
|
177
|
+
static VALUE
|
178
|
+
cr_region_containts_rectangle (int argc, VALUE *argv, VALUE self)
|
179
|
+
{
|
180
|
+
cairo_region_t *region;
|
181
|
+
cairo_rectangle_int_t rectangle;
|
182
|
+
cairo_region_overlap_t overlap;
|
183
|
+
VALUE arg1, arg2, arg3, arg4;
|
184
|
+
const char *error_message =
|
185
|
+
"invalid argument (expect "
|
186
|
+
"(x, y, width, height) or ([x, y, width, height])): %s";
|
187
|
+
|
188
|
+
rb_scan_args (argc, argv, "13", &arg1, &arg2, &arg3, &arg4);
|
189
|
+
|
190
|
+
region = _SELF;
|
191
|
+
if (argc == 1)
|
192
|
+
{
|
193
|
+
VALUE rb_rectangle;
|
194
|
+
|
195
|
+
rb_rectangle = rb_check_array_type (arg1);
|
196
|
+
if (RARRAY_LEN (rb_rectangle) != 4)
|
197
|
+
rb_raise (rb_eArgError, error_message,
|
198
|
+
rb_cairo__inspect (rb_ary_new4 (argc, argv)));
|
199
|
+
rectangle.x = NUM2INT (RARRAY_PTR (rb_rectangle)[0]);
|
200
|
+
rectangle.y = NUM2INT (RARRAY_PTR (rb_rectangle)[1]);
|
201
|
+
rectangle.width = NUM2INT (RARRAY_PTR (rb_rectangle)[2]);
|
202
|
+
rectangle.height = NUM2INT (RARRAY_PTR (rb_rectangle)[3]);
|
203
|
+
}
|
204
|
+
else if (argc == 4)
|
205
|
+
{
|
206
|
+
rectangle.x = NUM2INT (arg1);
|
207
|
+
rectangle.y = NUM2INT (arg2);
|
208
|
+
rectangle.width = NUM2INT (arg3);
|
209
|
+
rectangle.height = NUM2INT (arg4);
|
210
|
+
}
|
211
|
+
else
|
212
|
+
{
|
213
|
+
rb_raise (rb_eArgError, error_message,
|
214
|
+
rb_cairo__inspect (rb_ary_new4 (argc, argv)));
|
215
|
+
}
|
216
|
+
|
217
|
+
overlap = cairo_region_contains_rectangle (region, &rectangle);
|
218
|
+
cr_region_check_status (region);
|
219
|
+
return INT2NUM (overlap);
|
220
|
+
}
|
221
|
+
|
222
|
+
static VALUE
|
223
|
+
cr_region_containts_point (int argc, VALUE *argv, VALUE self)
|
224
|
+
{
|
225
|
+
cairo_region_t *region;
|
226
|
+
int x, y;
|
227
|
+
VALUE arg1, arg2;
|
228
|
+
const char *error_message =
|
229
|
+
"invalid argument (expect "
|
230
|
+
"(x, y) or ([x, y])): %s";
|
231
|
+
|
232
|
+
rb_scan_args (argc, argv, "11", &arg1, &arg2);
|
233
|
+
|
234
|
+
region = _SELF;
|
235
|
+
if (argc == 1)
|
236
|
+
{
|
237
|
+
VALUE point;
|
238
|
+
|
239
|
+
point = rb_check_array_type (arg1);
|
240
|
+
if (RARRAY_LEN (point) != 4)
|
241
|
+
rb_raise (rb_eArgError, error_message,
|
242
|
+
rb_cairo__inspect (rb_ary_new4 (argc, argv)));
|
243
|
+
x = NUM2INT (RARRAY_PTR (point)[0]);
|
244
|
+
y = NUM2INT (RARRAY_PTR (point)[1]);
|
245
|
+
}
|
246
|
+
else
|
247
|
+
{
|
248
|
+
x = NUM2INT (arg1);
|
249
|
+
y = NUM2INT (arg2);
|
250
|
+
}
|
251
|
+
return CBOOL2RVAL (cairo_region_contains_point (region, x, y));
|
252
|
+
}
|
253
|
+
|
254
|
+
static VALUE
|
255
|
+
cr_region_translate (int argc, VALUE *argv, VALUE self)
|
256
|
+
{
|
257
|
+
cairo_region_t *region;
|
258
|
+
int x, y;
|
259
|
+
VALUE arg1, arg2;
|
260
|
+
const char *error_message =
|
261
|
+
"invalid argument (expect "
|
262
|
+
"(x, y) or ([x, y])): %s";
|
263
|
+
|
264
|
+
rb_scan_args (argc, argv, "11", &arg1, &arg2);
|
265
|
+
|
266
|
+
region = _SELF;
|
267
|
+
if (argc == 1)
|
268
|
+
{
|
269
|
+
VALUE point;
|
270
|
+
|
271
|
+
point = rb_check_array_type (arg1);
|
272
|
+
if (RARRAY_LEN (point) != 4)
|
273
|
+
rb_raise (rb_eArgError, error_message,
|
274
|
+
rb_cairo__inspect (rb_ary_new4 (argc, argv)));
|
275
|
+
x = NUM2INT (RARRAY_PTR (point)[0]);
|
276
|
+
y = NUM2INT (RARRAY_PTR (point)[1]);
|
277
|
+
}
|
278
|
+
else
|
279
|
+
{
|
280
|
+
x = NUM2INT (arg1);
|
281
|
+
y = NUM2INT (arg2);
|
282
|
+
}
|
283
|
+
|
284
|
+
cairo_region_translate (region, x, y);
|
285
|
+
cr_region_check_status (region);
|
286
|
+
return Qnil;
|
287
|
+
}
|
288
|
+
|
289
|
+
#define DEFINE_OPERATOR(type) \
|
290
|
+
static VALUE \
|
291
|
+
cr_region_ ## type (int argc, VALUE *argv, VALUE self) \
|
292
|
+
{ \
|
293
|
+
cairo_status_t status; \
|
294
|
+
cairo_region_t *region, *other = NULL; \
|
295
|
+
cairo_rectangle_int_t rectangle; \
|
296
|
+
VALUE arg1, arg2, arg3, arg4; \
|
297
|
+
const char *error_message = \
|
298
|
+
"invalid argument (expect " \
|
299
|
+
"(region), (x, y, width, height) or ([x, y, width, height])): %s"; \
|
300
|
+
\
|
301
|
+
rb_scan_args (argc, argv, "13", &arg1, &arg2, &arg3, &arg4); \
|
302
|
+
\
|
303
|
+
region = _SELF; \
|
304
|
+
if (argc == 1) \
|
305
|
+
{ \
|
306
|
+
if (rb_cairo__is_kind_of (arg1, rb_cCairo_Region)) \
|
307
|
+
{ \
|
308
|
+
other = RVAL2CRREGION (arg1); \
|
309
|
+
} \
|
310
|
+
else \
|
311
|
+
{ \
|
312
|
+
VALUE rb_rectangle; \
|
313
|
+
\
|
314
|
+
rb_rectangle = rb_check_array_type (arg1); \
|
315
|
+
if (RARRAY_LEN (rb_rectangle) != 4) \
|
316
|
+
rb_raise (rb_eArgError, error_message, \
|
317
|
+
rb_cairo__inspect (rb_ary_new4 (argc, argv))); \
|
318
|
+
rectangle.x = NUM2INT (RARRAY_PTR (rb_rectangle)[0]); \
|
319
|
+
rectangle.y = NUM2INT (RARRAY_PTR (rb_rectangle)[1]); \
|
320
|
+
rectangle.width = NUM2INT (RARRAY_PTR (rb_rectangle)[2]); \
|
321
|
+
rectangle.height = NUM2INT (RARRAY_PTR (rb_rectangle)[3]); \
|
322
|
+
} \
|
323
|
+
} \
|
324
|
+
else if (argc == 4) \
|
325
|
+
{ \
|
326
|
+
rectangle.x = NUM2INT (arg1); \
|
327
|
+
rectangle.y = NUM2INT (arg2); \
|
328
|
+
rectangle.width = NUM2INT (arg3); \
|
329
|
+
rectangle.height = NUM2INT (arg4); \
|
330
|
+
} \
|
331
|
+
else \
|
332
|
+
{ \
|
333
|
+
rb_raise (rb_eArgError, error_message, \
|
334
|
+
rb_cairo__inspect (rb_ary_new4 (argc, argv))); \
|
335
|
+
} \
|
336
|
+
\
|
337
|
+
if (other) \
|
338
|
+
status = cairo_region_ ## type (region, other); \
|
339
|
+
else \
|
340
|
+
status = cairo_region_ ## type ## _rectangle (region, &rectangle); \
|
341
|
+
rb_cairo_check_status (status); \
|
342
|
+
cr_region_check_status (region); \
|
343
|
+
return Qnil; \
|
344
|
+
}
|
345
|
+
|
346
|
+
DEFINE_OPERATOR(subtract)
|
347
|
+
DEFINE_OPERATOR(intersect)
|
348
|
+
DEFINE_OPERATOR(union)
|
349
|
+
DEFINE_OPERATOR(xor)
|
350
|
+
#endif
|
351
|
+
|
352
|
+
void
|
353
|
+
Init_cairo_region (void)
|
354
|
+
{
|
355
|
+
#if CAIRO_CHECK_VERSION(1, 10, 0)
|
356
|
+
rb_cCairo_Region =
|
357
|
+
rb_define_class_under (rb_mCairo, "Region", rb_cObject);
|
358
|
+
|
359
|
+
rb_define_alloc_func (rb_cCairo_Region, cr_region_allocate);
|
360
|
+
|
361
|
+
rb_define_method (rb_cCairo_Region, "initialize", cr_region_initialize, -1);
|
362
|
+
|
363
|
+
rb_define_method (rb_cCairo_Region, "dup", cr_region_dup, 0);
|
364
|
+
rb_define_method (rb_cCairo_Region, "==", cr_region_equal, 1);
|
365
|
+
|
366
|
+
rb_define_method (rb_cCairo_Region, "extents", cr_region_get_extents, 0);
|
367
|
+
rb_define_method (rb_cCairo_Region, "num_rectangles",
|
368
|
+
cr_region_num_rectangles, 0);
|
369
|
+
rb_define_method (rb_cCairo_Region, "[]",
|
370
|
+
cr_region_get_rectangle, 1);
|
371
|
+
rb_define_method (rb_cCairo_Region, "empty?", cr_region_is_empty, 0);
|
372
|
+
rb_define_method (rb_cCairo_Region, "contains_rectangle",
|
373
|
+
cr_region_containts_rectangle, -1);
|
374
|
+
rb_define_method (rb_cCairo_Region, "contains_point?",
|
375
|
+
cr_region_containts_point, -1);
|
376
|
+
|
377
|
+
rb_define_method (rb_cCairo_Region, "translate!", cr_region_translate, -1);
|
378
|
+
rb_define_method (rb_cCairo_Region, "subtract!", cr_region_subtract, -1);
|
379
|
+
rb_define_method (rb_cCairo_Region, "intersect!", cr_region_intersect, -1);
|
380
|
+
rb_define_method (rb_cCairo_Region, "union!", cr_region_union, -1);
|
381
|
+
rb_define_method (rb_cCairo_Region, "xor!", cr_region_xor, -1);
|
382
|
+
|
383
|
+
RB_CAIRO_DEF_SETTERS (rb_cCairo_Region);
|
384
|
+
#endif
|
385
|
+
}
|
@@ -0,0 +1,235 @@
|
|
1
|
+
/* -*- c-file-style: "gnu"; indent-tabs-mode: nil -*- */
|
2
|
+
/*
|
3
|
+
* Ruby Cairo Binding
|
4
|
+
*
|
5
|
+
* $Author: kou $
|
6
|
+
* $Date: 2008-09-19 12:56:27 $
|
7
|
+
*
|
8
|
+
* Copyright 2005-2008 Kouhei Sutou <kou@cozmixng.org>
|
9
|
+
*
|
10
|
+
* This file is made available under the same terms as Ruby
|
11
|
+
*
|
12
|
+
*/
|
13
|
+
|
14
|
+
|
15
|
+
#include "rb_cairo.h"
|
16
|
+
#include "rb_cairo_private.h"
|
17
|
+
|
18
|
+
VALUE rb_cCairo_ScaledFont;
|
19
|
+
|
20
|
+
#define _SELF(self) (RVAL2CRSCALEDFONT(self))
|
21
|
+
|
22
|
+
static inline void
|
23
|
+
cr_scaled_font_check_status (cairo_scaled_font_t *font)
|
24
|
+
{
|
25
|
+
rb_cairo_check_status (cairo_scaled_font_status (font));
|
26
|
+
}
|
27
|
+
|
28
|
+
cairo_scaled_font_t *
|
29
|
+
rb_cairo_scaled_font_from_ruby_object (VALUE obj)
|
30
|
+
{
|
31
|
+
cairo_scaled_font_t *font;
|
32
|
+
if (!rb_cairo__is_kind_of (obj, rb_cCairo_ScaledFont))
|
33
|
+
{
|
34
|
+
rb_raise (rb_eTypeError, "not a cairo scaled font");
|
35
|
+
}
|
36
|
+
Data_Get_Struct (obj, cairo_scaled_font_t, font);
|
37
|
+
return font;
|
38
|
+
}
|
39
|
+
|
40
|
+
static void
|
41
|
+
cr_scaled_font_free (void *ptr)
|
42
|
+
{
|
43
|
+
if (ptr)
|
44
|
+
{
|
45
|
+
cairo_scaled_font_destroy ((cairo_scaled_font_t *) ptr);
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
VALUE
|
50
|
+
rb_cairo_scaled_font_to_ruby_object (cairo_scaled_font_t *font)
|
51
|
+
{
|
52
|
+
if (font)
|
53
|
+
{
|
54
|
+
cairo_scaled_font_reference (font);
|
55
|
+
return Data_Wrap_Struct (rb_cCairo_ScaledFont, NULL,
|
56
|
+
cr_scaled_font_free, font);
|
57
|
+
}
|
58
|
+
else
|
59
|
+
{
|
60
|
+
return Qnil;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
static VALUE
|
65
|
+
cr_scaled_font_allocate (VALUE klass)
|
66
|
+
{
|
67
|
+
return Data_Wrap_Struct (klass, NULL, cr_scaled_font_free, NULL);
|
68
|
+
}
|
69
|
+
|
70
|
+
static VALUE
|
71
|
+
cr_scaled_font_initialize (VALUE self, VALUE face, VALUE matrix,
|
72
|
+
VALUE ctm, VALUE options)
|
73
|
+
{
|
74
|
+
cairo_scaled_font_t *font;
|
75
|
+
|
76
|
+
font = cairo_scaled_font_create (RVAL2CRFONTFACE (face),
|
77
|
+
RVAL2CRMATRIX (matrix),
|
78
|
+
RVAL2CRMATRIX (ctm),
|
79
|
+
RVAL2CRFONTOPTIONS (options));
|
80
|
+
cr_scaled_font_check_status (font);
|
81
|
+
DATA_PTR (self) = font;
|
82
|
+
return Qnil;
|
83
|
+
}
|
84
|
+
|
85
|
+
static VALUE
|
86
|
+
cr_scaled_font_extents (VALUE self)
|
87
|
+
{
|
88
|
+
cairo_font_extents_t extents;
|
89
|
+
cairo_scaled_font_extents (_SELF (self), &extents);
|
90
|
+
cr_scaled_font_check_status (_SELF (self));
|
91
|
+
return CRFONTEXTENTS2RVAL (&extents);
|
92
|
+
}
|
93
|
+
|
94
|
+
static VALUE
|
95
|
+
cr_scaled_font_text_extents (VALUE self, VALUE utf8)
|
96
|
+
{
|
97
|
+
cairo_text_extents_t extents;
|
98
|
+
cairo_scaled_font_text_extents (_SELF (self), StringValueCStr (utf8),
|
99
|
+
&extents);
|
100
|
+
cr_scaled_font_check_status (_SELF (self));
|
101
|
+
return CRTEXTEXTENTS2RVAL (&extents);
|
102
|
+
}
|
103
|
+
|
104
|
+
static VALUE
|
105
|
+
cr_scaled_font_glyph_extents (VALUE self, VALUE rb_glyphs)
|
106
|
+
{
|
107
|
+
cairo_text_extents_t extents;
|
108
|
+
cairo_glyph_t *glyphs;
|
109
|
+
int count;
|
110
|
+
|
111
|
+
RB_CAIRO__GLYPHS_TO_ARRAY (rb_glyphs, glyphs, count);
|
112
|
+
cairo_scaled_font_glyph_extents (_SELF (self), glyphs, count, &extents);
|
113
|
+
cr_scaled_font_check_status (_SELF (self));
|
114
|
+
return CRTEXTEXTENTS2RVAL (&extents);
|
115
|
+
}
|
116
|
+
|
117
|
+
#if CAIRO_CHECK_VERSION(1, 7, 6)
|
118
|
+
static VALUE
|
119
|
+
cr_scaled_font_text_to_glyphs (VALUE self, VALUE rb_x, VALUE rb_y, VALUE rb_utf8)
|
120
|
+
{
|
121
|
+
double x, y;
|
122
|
+
const char *utf8;
|
123
|
+
int utf8_len;
|
124
|
+
cairo_glyph_t *glyphs = NULL;
|
125
|
+
int num_glyphs;
|
126
|
+
cairo_text_cluster_t *clusters = NULL;
|
127
|
+
int num_clusters;
|
128
|
+
cairo_text_cluster_flags_t cluster_flags;
|
129
|
+
cairo_status_t status;
|
130
|
+
VALUE rb_glyphs, rb_clusters;
|
131
|
+
|
132
|
+
x = NUM2DBL (rb_x);
|
133
|
+
y = NUM2DBL (rb_y);
|
134
|
+
utf8 = RSTRING_PTR (rb_utf8);
|
135
|
+
utf8_len = RSTRING_LEN (rb_utf8);
|
136
|
+
|
137
|
+
status = cairo_scaled_font_text_to_glyphs (_SELF (self),
|
138
|
+
x, y, utf8, utf8_len,
|
139
|
+
&glyphs, &num_glyphs,
|
140
|
+
&clusters, &num_clusters,
|
141
|
+
&cluster_flags);
|
142
|
+
rb_cairo_check_status (status);
|
143
|
+
|
144
|
+
rb_glyphs = rb_cairo__glyphs_to_ruby_object (glyphs, num_glyphs);
|
145
|
+
cairo_glyph_free (glyphs);
|
146
|
+
rb_clusters = rb_cairo__text_clusters_to_ruby_object (clusters, num_clusters);
|
147
|
+
cairo_text_cluster_free (clusters);
|
148
|
+
|
149
|
+
return rb_ary_new3 (3, rb_glyphs, rb_clusters, INT2NUM (cluster_flags));
|
150
|
+
}
|
151
|
+
#endif
|
152
|
+
|
153
|
+
static VALUE
|
154
|
+
cr_scaled_font_get_font_face (VALUE self)
|
155
|
+
{
|
156
|
+
cairo_font_face_t *face;
|
157
|
+
face = cairo_scaled_font_get_font_face (_SELF (self));
|
158
|
+
cr_scaled_font_check_status (_SELF (self));
|
159
|
+
return CRFONTFACE2RVAL (face);
|
160
|
+
}
|
161
|
+
|
162
|
+
static VALUE
|
163
|
+
cr_scaled_font_get_font_matrix (VALUE self)
|
164
|
+
{
|
165
|
+
cairo_matrix_t font_matrix;
|
166
|
+
cairo_scaled_font_get_font_matrix (_SELF (self), &font_matrix);
|
167
|
+
cr_scaled_font_check_status (_SELF (self));
|
168
|
+
return CRMATRIX2RVAL (&font_matrix);
|
169
|
+
}
|
170
|
+
|
171
|
+
static VALUE
|
172
|
+
cr_scaled_font_get_ctm (VALUE self)
|
173
|
+
{
|
174
|
+
cairo_matrix_t ctm;
|
175
|
+
cairo_scaled_font_get_font_matrix (_SELF (self), &ctm);
|
176
|
+
cr_scaled_font_check_status (_SELF (self));
|
177
|
+
return CRMATRIX2RVAL (&ctm);
|
178
|
+
}
|
179
|
+
|
180
|
+
static VALUE
|
181
|
+
cr_scaled_font_get_font_options (VALUE self)
|
182
|
+
{
|
183
|
+
cairo_font_options_t *options;
|
184
|
+
|
185
|
+
options = cairo_font_options_create();
|
186
|
+
cairo_scaled_font_get_font_options (_SELF (self), options);
|
187
|
+
cr_scaled_font_check_status (_SELF (self));
|
188
|
+
rb_cairo_check_status (cairo_font_options_status (options));
|
189
|
+
return CRFONTOPTIONS2RVAL (options);
|
190
|
+
}
|
191
|
+
|
192
|
+
#if CAIRO_CHECK_VERSION(1, 7, 2)
|
193
|
+
static VALUE
|
194
|
+
cr_scaled_font_get_scale_matrix (VALUE self)
|
195
|
+
{
|
196
|
+
cairo_matrix_t matrix;
|
197
|
+
|
198
|
+
cairo_scaled_font_get_scale_matrix (_SELF (self), &matrix);
|
199
|
+
cr_scaled_font_check_status (_SELF (self));
|
200
|
+
return CRMATRIX2RVAL (&matrix);
|
201
|
+
}
|
202
|
+
#endif
|
203
|
+
|
204
|
+
void
|
205
|
+
Init_cairo_scaled_font (void)
|
206
|
+
{
|
207
|
+
rb_cCairo_ScaledFont =
|
208
|
+
rb_define_class_under (rb_mCairo, "ScaledFont", rb_cObject);
|
209
|
+
|
210
|
+
rb_define_alloc_func (rb_cCairo_ScaledFont, cr_scaled_font_allocate);
|
211
|
+
|
212
|
+
rb_define_method (rb_cCairo_ScaledFont, "initialize",
|
213
|
+
cr_scaled_font_initialize, 4);
|
214
|
+
|
215
|
+
rb_define_method (rb_cCairo_ScaledFont, "extents", cr_scaled_font_extents, 0);
|
216
|
+
rb_define_method (rb_cCairo_ScaledFont, "text_extents",
|
217
|
+
cr_scaled_font_text_extents, 1);
|
218
|
+
rb_define_method (rb_cCairo_ScaledFont, "glyph_extents",
|
219
|
+
cr_scaled_font_glyph_extents, 1);
|
220
|
+
#if CAIRO_CHECK_VERSION(1, 7, 2)
|
221
|
+
rb_define_method (rb_cCairo_ScaledFont, "text_to_glyphs",
|
222
|
+
cr_scaled_font_text_to_glyphs, 3);
|
223
|
+
#endif
|
224
|
+
rb_define_method (rb_cCairo_ScaledFont, "font_face",
|
225
|
+
cr_scaled_font_get_font_face, 0);
|
226
|
+
rb_define_method (rb_cCairo_ScaledFont, "font_matrix",
|
227
|
+
cr_scaled_font_get_font_matrix, 0);
|
228
|
+
rb_define_method (rb_cCairo_ScaledFont, "ctm", cr_scaled_font_get_ctm, 0);
|
229
|
+
rb_define_method (rb_cCairo_ScaledFont, "font_options",
|
230
|
+
cr_scaled_font_get_font_options, 0);
|
231
|
+
#if CAIRO_CHECK_VERSION(1, 7, 2)
|
232
|
+
rb_define_method (rb_cCairo_ScaledFont, "scale_matrix",
|
233
|
+
cr_scaled_font_get_scale_matrix, 0);
|
234
|
+
#endif
|
235
|
+
}
|