cairo 1.12.6-x86-mingw32 → 1.12.7-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of cairo might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/Gemfile +1 -1
- data/NEWS +24 -0
- data/README.rdoc +1 -1
- data/Rakefile +57 -14
- data/ext/cairo/rb_cairo.h +1 -1
- data/ext/cairo/rb_cairo_surface.c +2 -0
- data/lib/1.9/cairo.so +0 -0
- data/lib/2.0/cairo.so +0 -0
- data/lib/2.1/cairo.so +0 -0
- data/lib/cairo/papers.rb +24 -0
- data/test/test_image_surface.rb +28 -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 +6 -10
- 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_sjlj-1.dll +0 -0
- data/vendor/local/bin/libpixman-1-0.dll +0 -0
- data/vendor/local/bin/libpng-config +1 -1
- data/vendor/local/bin/libpng16-16.dll +0 -0
- data/vendor/local/bin/libpng16-config +1 -1
- data/vendor/local/bin/libxml2-2.dll +0 -0
- data/vendor/local/bin/png-fix-itxt.exe +0 -0
- data/vendor/local/bin/pngfix.exe +0 -0
- data/vendor/local/bin/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/30-metric-aliases.conf +259 -53
- data/vendor/local/etc/fonts/conf.d/30-urw-aliases.conf +4 -20
- data/vendor/local/etc/fonts/conf.d/45-latin.conf +16 -0
- data/vendor/local/etc/fonts/conf.d/README +3 -3
- data/vendor/local/etc/fonts/fonts.conf +1 -1
- data/vendor/local/include/cairo/cairo-gobject.h +4 -0
- data/vendor/local/include/cairo/cairo-version.h +1 -1
- data/vendor/local/include/fontconfig/fcprivate.h +2 -1
- data/vendor/local/include/fontconfig/fontconfig.h +7 -3
- data/vendor/local/include/freetype2/{freetype/config → config}/ftconfig.h +105 -13
- data/vendor/local/include/freetype2/{freetype/config → config}/ftheader.h +71 -58
- data/vendor/local/include/freetype2/{freetype/config → config}/ftmodule.h +0 -0
- data/vendor/local/include/freetype2/{freetype/config → config}/ftoption.h +41 -35
- data/vendor/local/include/freetype2/{freetype/config → config}/ftstdlib.h +0 -0
- data/vendor/local/include/freetype2/{freetype/freetype.h → freetype.h} +83 -40
- data/vendor/local/include/freetype2/ft2build.h +42 -0
- data/vendor/local/include/freetype2/{freetype/ftadvanc.h → ftadvanc.h} +14 -11
- data/vendor/local/include/freetype2/{freetype/ftautoh.h → ftautoh.h} +11 -3
- data/vendor/local/include/freetype2/{freetype/ftbbox.h → ftbbox.h} +3 -3
- data/vendor/local/include/freetype2/{freetype/ftbdf.h → ftbdf.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftbitmap.h → ftbitmap.h} +4 -4
- data/vendor/local/include/freetype2/{freetype/ftbzip2.h → ftbzip2.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftcache.h → ftcache.h} +4 -87
- data/vendor/local/include/freetype2/ftcffdrv.h +254 -0
- data/vendor/local/include/freetype2/{freetype/ftchapters.h → ftchapters.h} +4 -16
- data/vendor/local/include/freetype2/{freetype/ftcid.h → ftcid.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/fterrdef.h → fterrdef.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/fterrors.h → fterrors.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftgasp.h → ftgasp.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftglyph.h → ftglyph.h} +5 -5
- data/vendor/local/include/freetype2/{freetype/ftgxval.h → ftgxval.h} +5 -5
- data/vendor/local/include/freetype2/{freetype/ftgzip.h → ftgzip.h} +48 -1
- data/vendor/local/include/freetype2/{freetype/ftimage.h → ftimage.h} +20 -11
- data/vendor/local/include/freetype2/{freetype/ftincrem.h → ftincrem.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftlcdfil.h → ftlcdfil.h} +3 -3
- data/vendor/local/include/freetype2/{freetype/ftlist.h → ftlist.h} +6 -6
- data/vendor/local/include/freetype2/{freetype/ftlzw.h → ftlzw.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftmac.h → ftmac.h} +3 -3
- data/vendor/local/include/freetype2/{freetype/ftmm.h → ftmm.h} +3 -4
- data/vendor/local/include/freetype2/{freetype/ftmodapi.h → ftmodapi.h} +15 -8
- data/vendor/local/include/freetype2/{freetype/ftmoderr.h → ftmoderr.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftotval.h → ftotval.h} +3 -3
- data/vendor/local/include/freetype2/{freetype/ftoutln.h → ftoutln.h} +16 -7
- data/vendor/local/include/freetype2/{freetype/ftpfr.h → ftpfr.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftrender.h → ftrender.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftsizes.h → ftsizes.h} +2 -2
- data/vendor/local/include/freetype2/{freetype/ftsnames.h → ftsnames.h} +3 -3
- data/vendor/local/include/freetype2/{freetype/ftstroke.h → ftstroke.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ftsynth.h → ftsynth.h} +2 -2
- data/vendor/local/include/freetype2/{freetype/ftsystem.h → ftsystem.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/fttrigon.h → fttrigon.h} +0 -0
- data/vendor/local/include/freetype2/ftttdrv.h +170 -0
- data/vendor/local/include/freetype2/{freetype/fttypes.h → fttypes.h} +3 -3
- data/vendor/local/include/freetype2/{freetype/ftwinfnt.h → ftwinfnt.h} +4 -3
- data/vendor/local/include/freetype2/{freetype/ftxf86.h → ftxf86.h} +2 -2
- data/vendor/local/include/freetype2/{freetype/t1tables.h → t1tables.h} +0 -0
- data/vendor/local/include/freetype2/{freetype/ttnameid.h → ttnameid.h} +2 -2
- data/vendor/local/include/freetype2/{freetype/tttables.h → tttables.h} +24 -14
- data/vendor/local/include/freetype2/{freetype/tttags.h → tttags.h} +5 -1
- data/vendor/local/include/freetype2/{freetype/ttunpat.h → ttunpat.h} +0 -0
- data/vendor/local/include/libpng16/png.h +30 -12
- data/vendor/local/include/libpng16/pngconf.h +2 -1
- data/vendor/local/include/libpng16/pnglibconf.h +3 -3
- data/vendor/local/include/pixman-1/pixman-version.h +3 -3
- data/vendor/local/include/pixman-1/pixman.h +1 -1
- data/vendor/local/include/png.h +30 -12
- data/vendor/local/include/pngconf.h +2 -1
- data/vendor/local/include/pnglibconf.h +3 -3
- data/vendor/local/lib/fontconfig.def +2 -1
- data/vendor/local/lib/libcairo-gobject.a +0 -0
- data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
- data/vendor/local/lib/libcairo-gobject.la +3 -3
- 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 +3 -3
- data/vendor/local/lib/libcairo.a +0 -0
- data/vendor/local/lib/libcairo.dll.a +0 -0
- data/vendor/local/lib/libcairo.la +3 -3
- data/vendor/local/lib/libfontconfig.a +0 -0
- data/vendor/local/lib/libfontconfig.dll.a +0 -0
- data/vendor/local/lib/libfontconfig.la +3 -3
- data/vendor/local/lib/libfreetype.a +0 -0
- data/vendor/local/lib/libfreetype.dll.a +0 -0
- data/vendor/local/lib/libfreetype.la +3 -3
- 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 +4 -4
- data/vendor/local/lib/libpng.a +0 -0
- data/vendor/local/lib/libpng.dll.a +0 -0
- data/vendor/local/lib/libpng.la +2 -2
- data/vendor/local/lib/libpng16.a +0 -0
- data/vendor/local/lib/libpng16.dll.a +0 -0
- data/vendor/local/lib/libpng16.la +2 -2
- data/vendor/local/lib/libxml2.a +0 -0
- data/vendor/local/lib/libxml2.dll.a +0 -0
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-script.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo.pc +3 -3
- data/vendor/local/lib/pkgconfig/fontconfig.pc +6 -4
- data/vendor/local/lib/pkgconfig/freetype2.pc +4 -4
- data/vendor/local/lib/pkgconfig/libpng.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpng16.pc +1 -1
- data/vendor/local/lib/pkgconfig/pixman-1.pc +1 -1
- data/vendor/local/share/fontconfig/conf.avail/30-metric-aliases.conf +259 -53
- data/vendor/local/share/fontconfig/conf.avail/30-urw-aliases.conf +4 -20
- data/vendor/local/share/fontconfig/conf.avail/45-latin.conf +16 -0
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Error-handling.html +1 -1
- data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +1 -1
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +1 -1
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +3 -3
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Paths.html +3 -3
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +6 -6
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html +3 -3
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Regions.html +8 -8
- data/vendor/local/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +3 -3
- data/vendor/local/share/gtk-doc/html/cairo/cairo-User-Fonts.html +14 -14
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +1 -1
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +5 -5
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XCB-Surfaces.html +0 -8
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +1 -1
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-XRender-Backend.html +1 -1
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-device-t.html +3 -3
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +4 -4
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html +2 -2
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html +31 -31
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html +11 -11
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-t.html +8 -8
- data/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +11 -11
- data/vendor/local/share/gtk-doc/html/cairo/index.html +1 -1
- data/vendor/local/share/license/fontconfig/README +83 -2
- data/vendor/local/share/license/freetype/README +5 -5
- data/vendor/local/share/license/freetype/README.git +5 -1
- data/vendor/local/share/license/libpng/README +18 -18
- data/vendor/local/share/man/man3/libpng.3 +136 -54
- data/vendor/local/share/man/man3/libpngpf.3 +2 -2
- data/vendor/local/share/man/man5/png.5 +1 -1
- metadata +74 -80
- data/vendor/local/etc/fonts/fonts.conf.bak +0 -155
- data/vendor/local/include/freetype2/freetype/ftcffdrv.h +0 -150
- data/vendor/local/include/ft2build.h +0 -61
@@ -3,30 +3,14 @@
|
|
3
3
|
<fontconfig>
|
4
4
|
<!--
|
5
5
|
URW provides metric and shape compatible fonts for some Adobe families.
|
6
|
-
|
6
|
+
Most of these are handled in 30-metric-aliases.conf.
|
7
7
|
-->
|
8
8
|
<alias binding="same">
|
9
|
-
<family>
|
10
|
-
<accept><family>
|
11
|
-
</alias>
|
12
|
-
<alias binding="same">
|
13
|
-
<family>Bookman</family>
|
14
|
-
<accept><family>URW Bookman L</family></accept>
|
15
|
-
</alias>
|
16
|
-
<alias binding="same">
|
17
|
-
<family>New Century Schoolbook</family>
|
18
|
-
<accept><family>Century Schoolbook L</family></accept>
|
19
|
-
</alias>
|
20
|
-
<alias binding="same">
|
21
|
-
<family>Palatino</family>
|
22
|
-
<accept><family>URW Palladio L</family></accept>
|
23
|
-
</alias>
|
24
|
-
<alias binding="same">
|
25
|
-
<family>Zapf Chancery</family>
|
26
|
-
<accept><family>URW Chancery L</family></accept>
|
9
|
+
<family>Zapf Dingbats</family>
|
10
|
+
<accept><family>Dingbats</family></accept>
|
27
11
|
</alias>
|
28
12
|
<alias binding="same">
|
29
|
-
<family>Zapf Dingbats</family>
|
13
|
+
<family>ITC Zapf Dingbats</family>
|
30
14
|
<accept><family>Dingbats</family></accept>
|
31
15
|
</alias>
|
32
16
|
<match target="pattern">
|
@@ -45,6 +45,22 @@
|
|
45
45
|
<family>Thorndale</family>
|
46
46
|
<default><family>serif</family></default>
|
47
47
|
</alias>
|
48
|
+
<alias>
|
49
|
+
<family>Georgia</family>
|
50
|
+
<default><family>serif</family></default>
|
51
|
+
</alias>
|
52
|
+
<alias>
|
53
|
+
<family>Garamond</family>
|
54
|
+
<default><family>serif</family></default>
|
55
|
+
</alias>
|
56
|
+
<alias>
|
57
|
+
<family>Palatino Linotype</family>
|
58
|
+
<default><family>serif</family></default>
|
59
|
+
</alias>
|
60
|
+
<alias>
|
61
|
+
<family>Trebuchet MS</family>
|
62
|
+
<default><family>serif</family></default>
|
63
|
+
</alias>
|
48
64
|
<!--
|
49
65
|
Sans-serif faces
|
50
66
|
-->
|
@@ -157,7 +157,7 @@ to get a human-readable representation of an error message.
|
|
157
157
|
<tr>
|
158
158
|
<td><p><a name="CAIRO-STATUS-NULL-POINTER:CAPS"></a><span class="term"><code class="literal">CAIRO_STATUS_NULL_POINTER</code></span></p></td>
|
159
159
|
<td>
|
160
|
-
<
|
160
|
+
<code class="literal">NULL</code> pointer (Since 1.0)
|
161
161
|
</td>
|
162
162
|
</tr>
|
163
163
|
<tr>
|
@@ -296,7 +296,7 @@ FreeType backend font face (see <a class="link" href="cairo-FreeType-Fonts.html#
|
|
296
296
|
<tr>
|
297
297
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
298
298
|
<td>The <span class="type">FT_Face</span> object for <em class="parameter"><code>font</code></em>, scaled appropriately,
|
299
|
-
or <
|
299
|
+
or <code class="literal">NULL</code> if <em class="parameter"><code>scaled_font</code></em> is in an error state (see
|
300
300
|
<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>) or there is insufficient memory.</td>
|
301
301
|
</tr>
|
302
302
|
</tbody>
|
@@ -352,7 +352,7 @@ the data is modified.
|
|
352
352
|
</tr>
|
353
353
|
<tr>
|
354
354
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
355
|
-
<td>a pointer to the image data of this surface or <
|
355
|
+
<td>a pointer to the image data of this surface or <code class="literal">NULL</code>
|
356
356
|
if <em class="parameter"><code>surface</code></em> is not an image surface, or if <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-finish" title="cairo_surface_finish ()"><code class="function">cairo_surface_finish()</code></a>
|
357
357
|
has been called.</td>
|
358
358
|
</tr>
|
@@ -91,7 +91,7 @@ to <em class="parameter"><code>filename</code></em>.
|
|
91
91
|
<tbody>
|
92
92
|
<tr>
|
93
93
|
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
94
|
-
<td>a filename for the PDF output (must be writable), <
|
94
|
+
<td>a filename for the PDF output (must be writable), <code class="literal">NULL</code> may be
|
95
95
|
used to specify no output. This will generate a PDF surface that
|
96
96
|
may be queried and used as a source, without generating a
|
97
97
|
temporary file.</td>
|
@@ -133,7 +133,7 @@ incrementally to the stream represented by <em class="parameter"><code>write_fun
|
|
133
133
|
<tbody>
|
134
134
|
<tr>
|
135
135
|
<td><p><span class="term"><em class="parameter"><code>write_func</code></em> :</span></p></td>
|
136
|
-
<td>a <a class="link" href="cairo-PNG-Support.html#cairo-write-func-t" title="cairo_write_func_t ()"><span class="type">cairo_write_func_t</span></a> to accept the output data, may be <
|
136
|
+
<td>a <a class="link" href="cairo-PNG-Support.html#cairo-write-func-t" title="cairo_write_func_t ()"><span class="type">cairo_write_func_t</span></a> to accept the output data, may be <code class="literal">NULL</code>
|
137
137
|
to indicate a no-op <em class="parameter"><code>write_func</code></em>. With a no-op <em class="parameter"><code>write_func</code></em>,
|
138
138
|
the surface may be queried or used as a source without
|
139
139
|
generating any temporary files.</td>
|
@@ -255,7 +255,7 @@ Used to retrieve the list of supported versions. See
|
|
255
255
|
<pre class="programlisting">const <span class="returnvalue">char</span> * cairo_pdf_version_to_string (<em class="parameter"><code><a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-version-t" title="enum cairo_pdf_version_t"><span class="type">cairo_pdf_version_t</span></a> version</code></em>);</pre>
|
256
256
|
<p>
|
257
257
|
Get the string representation of the given <em class="parameter"><code>version</code></em> id. This function
|
258
|
-
will return <
|
258
|
+
will return <code class="literal">NULL</code> if <em class="parameter"><code>version</code></em> isn't valid. See <a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-get-versions" title="cairo_pdf_get_versions ()"><code class="function">cairo_pdf_get_versions()</code></a>
|
259
259
|
for a way to get the list of valid version ids.
|
260
260
|
</p>
|
261
261
|
<div class="variablelist"><table border="0">
|
@@ -335,7 +335,7 @@ over the returned data structure.
|
|
335
335
|
</p>
|
336
336
|
<p>
|
337
337
|
This function will always return a valid pointer, but the result
|
338
|
-
will have no data (<code class="literal">data==<
|
338
|
+
will have no data (<code class="literal">data==<code class="literal">NULL</code></code> and
|
339
339
|
<code class="literal">num_data==0</code>), if either of the following
|
340
340
|
conditions hold:
|
341
341
|
</p>
|
@@ -387,7 +387,7 @@ series of <a class="link" href="cairo-Paths.html#CAIRO-PATH-LINE-TO:CAPS"><code
|
|
387
387
|
</p>
|
388
388
|
<p>
|
389
389
|
This function will always return a valid pointer, but the result
|
390
|
-
will have no data (<code class="literal">data==<
|
390
|
+
will have no data (<code class="literal">data==<code class="literal">NULL</code></code> and
|
391
391
|
<code class="literal">num_data==0</code>), if either of the following
|
392
392
|
conditions hold:
|
393
393
|
</p>
|
@@ -1034,7 +1034,7 @@ serious text-using applications. See <a class="link" href="cairo-Paths.html#cair
|
|
1034
1034
|
</tr>
|
1035
1035
|
<tr>
|
1036
1036
|
<td><p><span class="term"><em class="parameter"><code>utf8</code></em> :</span></p></td>
|
1037
|
-
<td>a NUL-terminated string of text encoded in UTF-8, or <
|
1037
|
+
<td>a NUL-terminated string of text encoded in UTF-8, or <code class="literal">NULL</code>
|
1038
1038
|
</td>
|
1039
1039
|
</tr>
|
1040
1040
|
</tbody>
|
@@ -104,7 +104,7 @@ vary. See <a class="link" href="cairo-PostScript-Surfaces.html#cairo-ps-surface-
|
|
104
104
|
<tbody>
|
105
105
|
<tr>
|
106
106
|
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
107
|
-
<td>a filename for the PS output (must be writable), <
|
107
|
+
<td>a filename for the PS output (must be writable), <code class="literal">NULL</code> may be
|
108
108
|
used to specify no output. This will generate a PS surface that
|
109
109
|
may be queried and used as a source, without generating a
|
110
110
|
temporary file.</td>
|
@@ -152,7 +152,7 @@ output can vary. See <a class="link" href="cairo-PostScript-Surfaces.html#cairo-
|
|
152
152
|
<tbody>
|
153
153
|
<tr>
|
154
154
|
<td><p><span class="term"><em class="parameter"><code>write_func</code></em> :</span></p></td>
|
155
|
-
<td>a <a class="link" href="cairo-PNG-Support.html#cairo-write-func-t" title="cairo_write_func_t ()"><span class="type">cairo_write_func_t</span></a> to accept the output data, may be <
|
155
|
+
<td>a <a class="link" href="cairo-PNG-Support.html#cairo-write-func-t" title="cairo_write_func_t ()"><span class="type">cairo_write_func_t</span></a> to accept the output data, may be <code class="literal">NULL</code>
|
156
156
|
to indicate a no-op <em class="parameter"><code>write_func</code></em>. With a no-op <em class="parameter"><code>write_func</code></em>,
|
157
157
|
the surface may be queried or used as a source without
|
158
158
|
generating any temporary files.</td>
|
@@ -275,7 +275,7 @@ Used to retrieve the list of supported levels. See
|
|
275
275
|
<pre class="programlisting">const <span class="returnvalue">char</span> * cairo_ps_level_to_string (<em class="parameter"><code><a class="link" href="cairo-PostScript-Surfaces.html#cairo-ps-level-t" title="enum cairo_ps_level_t"><span class="type">cairo_ps_level_t</span></a> level</code></em>);</pre>
|
276
276
|
<p>
|
277
277
|
Get the string representation of the given <em class="parameter"><code>level</code></em> id. This function
|
278
|
-
will return <
|
278
|
+
will return <code class="literal">NULL</code> if <em class="parameter"><code>level</code></em> id isn't valid. See <a class="link" href="cairo-PostScript-Surfaces.html#cairo-ps-get-levels" title="cairo_ps_get_levels ()"><code class="function">cairo_ps_get_levels()</code></a>
|
279
279
|
for a way to get the list of valid level ids.
|
280
280
|
</p>
|
281
281
|
<div class="variablelist"><table border="0">
|
@@ -299,7 +299,7 @@ for a way to get the list of valid level ids.
|
|
299
299
|
<pre class="programlisting"><span class="returnvalue">void</span> cairo_ps_surface_set_eps (<em class="parameter"><code><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> *surface</code></em>,
|
300
300
|
<em class="parameter"><code><a class="link" href="cairo-Types.html#cairo-bool-t" title="cairo_bool_t"><span class="type">cairo_bool_t</span></a> eps</code></em>);</pre>
|
301
301
|
<p>
|
302
|
-
If <em class="parameter"><code>eps</code></em> is <
|
302
|
+
If <em class="parameter"><code>eps</code></em> is <code class="literal">TRUE</code>, the PostScript surface will output Encapsulated
|
303
303
|
PostScript.
|
304
304
|
</p>
|
305
305
|
<p>
|
@@ -320,7 +320,7 @@ than one page.
|
|
320
320
|
<tr>
|
321
321
|
<td><p><span class="term"><em class="parameter"><code>eps</code></em> :</span></p></td>
|
322
322
|
<td>
|
323
|
-
<
|
323
|
+
<code class="literal">TRUE</code> to output EPS format PostScript</td>
|
324
324
|
</tr>
|
325
325
|
</tbody>
|
326
326
|
</table></div>
|
@@ -344,7 +344,7 @@ Check whether the PostScript surface will output Encapsulated PostScript.
|
|
344
344
|
<tr>
|
345
345
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
346
346
|
<td>
|
347
|
-
<
|
347
|
+
<code class="literal">TRUE</code> if the surface will output Encapsulated PostScript.</td>
|
348
348
|
</tr>
|
349
349
|
</tbody>
|
350
350
|
</table></div>
|
@@ -141,7 +141,7 @@ accurate replay.
|
|
141
141
|
</tr>
|
142
142
|
<tr>
|
143
143
|
<td><p><span class="term"><em class="parameter"><code>extents</code></em> :</span></p></td>
|
144
|
-
<td>the extents to record in pixels, can be <
|
144
|
+
<td>the extents to record in pixels, can be <code class="literal">NULL</code> to record
|
145
145
|
unbounded operations.</td>
|
146
146
|
</tr>
|
147
147
|
<tr>
|
@@ -218,8 +218,8 @@ Get the extents of the recording-surface.
|
|
218
218
|
<tr>
|
219
219
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
220
220
|
<td>
|
221
|
-
<
|
222
|
-
not in an error state, otherwise <
|
221
|
+
<code class="literal">TRUE</code> if the surface is bounded, of recording type, and
|
222
|
+
not in an error state, otherwise <code class="literal">FALSE</code>
|
223
223
|
</td>
|
224
224
|
</tr>
|
225
225
|
</tbody>
|
@@ -379,7 +379,7 @@ Checks whether <em class="parameter"><code>region</code></em> is empty.
|
|
379
379
|
<tr>
|
380
380
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
381
381
|
<td>
|
382
|
-
<
|
382
|
+
<code class="literal">TRUE</code> if <em class="parameter"><code>region</code></em> is empty, <code class="literal">FALSE</code> if it isn't.</td>
|
383
383
|
</tr>
|
384
384
|
</tbody>
|
385
385
|
</table></div>
|
@@ -413,7 +413,7 @@ Checks whether (<em class="parameter"><code>x</code></em>, <em class="parameter"
|
|
413
413
|
<tr>
|
414
414
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
415
415
|
<td>
|
416
|
-
<
|
416
|
+
<code class="literal">TRUE</code> if (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>) is contained in <em class="parameter"><code>region</code></em>, <code class="literal">FALSE</code> if it is not.</td>
|
417
417
|
</tr>
|
418
418
|
</tbody>
|
419
419
|
</table></div>
|
@@ -493,27 +493,27 @@ in <em class="parameter"><code>region</code></em>
|
|
493
493
|
<pre class="programlisting"><a class="link" href="cairo-Types.html#cairo-bool-t" title="cairo_bool_t"><span class="returnvalue">cairo_bool_t</span></a> cairo_region_equal (<em class="parameter"><code>const <a class="link" href="cairo-Regions.html#cairo-region-t" title="cairo_region_t"><span class="type">cairo_region_t</span></a> *a</code></em>,
|
494
494
|
<em class="parameter"><code>const <a class="link" href="cairo-Regions.html#cairo-region-t" title="cairo_region_t"><span class="type">cairo_region_t</span></a> *b</code></em>);</pre>
|
495
495
|
<p>
|
496
|
-
Compares whether region_a is equivalent to region_b. <
|
497
|
-
is equal to itself, but not to any non-<
|
496
|
+
Compares whether region_a is equivalent to region_b. <code class="literal">NULL</code> as an argument
|
497
|
+
is equal to itself, but not to any non-<code class="literal">NULL</code> region.
|
498
498
|
</p>
|
499
499
|
<div class="variablelist"><table border="0">
|
500
500
|
<col align="left" valign="top">
|
501
501
|
<tbody>
|
502
502
|
<tr>
|
503
503
|
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
|
504
|
-
<td>a <a class="link" href="cairo-Regions.html#cairo-region-t" title="cairo_region_t"><span class="type">cairo_region_t</span></a> or <
|
504
|
+
<td>a <a class="link" href="cairo-Regions.html#cairo-region-t" title="cairo_region_t"><span class="type">cairo_region_t</span></a> or <code class="literal">NULL</code>
|
505
505
|
</td>
|
506
506
|
</tr>
|
507
507
|
<tr>
|
508
508
|
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
|
509
|
-
<td>a <a class="link" href="cairo-Regions.html#cairo-region-t" title="cairo_region_t"><span class="type">cairo_region_t</span></a> or <
|
509
|
+
<td>a <a class="link" href="cairo-Regions.html#cairo-region-t" title="cairo_region_t"><span class="type">cairo_region_t</span></a> or <code class="literal">NULL</code>
|
510
510
|
</td>
|
511
511
|
</tr>
|
512
512
|
<tr>
|
513
513
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
514
514
|
<td>
|
515
|
-
<
|
516
|
-
<
|
515
|
+
<code class="literal">TRUE</code> if both regions contained the same coverage,
|
516
|
+
<code class="literal">FALSE</code> if it is not or any region is in an error status.</td>
|
517
517
|
</tr>
|
518
518
|
</tbody>
|
519
519
|
</table></div>
|
@@ -107,7 +107,7 @@ Base64-encoded and emitted.
|
|
107
107
|
<tbody>
|
108
108
|
<tr>
|
109
109
|
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
110
|
-
<td>a filename for the SVG output (must be writable), <
|
110
|
+
<td>a filename for the SVG output (must be writable), <code class="literal">NULL</code> may be
|
111
111
|
used to specify no output. This will generate a SVG surface that
|
112
112
|
may be queried and used as a source, without generating a
|
113
113
|
temporary file.</td>
|
@@ -149,7 +149,7 @@ incrementally to the stream represented by <em class="parameter"><code>write_fun
|
|
149
149
|
<tbody>
|
150
150
|
<tr>
|
151
151
|
<td><p><span class="term"><em class="parameter"><code>write_func</code></em> :</span></p></td>
|
152
|
-
<td>a <a class="link" href="cairo-PNG-Support.html#cairo-write-func-t" title="cairo_write_func_t ()"><span class="type">cairo_write_func_t</span></a> to accept the output data, may be <
|
152
|
+
<td>a <a class="link" href="cairo-PNG-Support.html#cairo-write-func-t" title="cairo_write_func_t ()"><span class="type">cairo_write_func_t</span></a> to accept the output data, may be <code class="literal">NULL</code>
|
153
153
|
to indicate a no-op <em class="parameter"><code>write_func</code></em>. With a no-op <em class="parameter"><code>write_func</code></em>,
|
154
154
|
the surface may be queried or used as a source without
|
155
155
|
generating any temporary files.</td>
|
@@ -271,7 +271,7 @@ Used to retrieve the list of supported versions. See
|
|
271
271
|
<pre class="programlisting">const <span class="returnvalue">char</span> * cairo_svg_version_to_string (<em class="parameter"><code><a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t" title="enum cairo_svg_version_t"><span class="type">cairo_svg_version_t</span></a> version</code></em>);</pre>
|
272
272
|
<p>
|
273
273
|
Get the string representation of the given <em class="parameter"><code>version</code></em> id. This function
|
274
|
-
will return <
|
274
|
+
will return <code class="literal">NULL</code> if <em class="parameter"><code>version</code></em> isn't valid. See <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-get-versions" title="cairo_svg_get_versions ()"><code class="function">cairo_svg_get_versions()</code></a>
|
275
275
|
for a way to get the list of valid version ids.
|
276
276
|
</p>
|
277
277
|
<div class="variablelist"><table border="0">
|
@@ -260,7 +260,7 @@ Arabic and Indic.
|
|
260
260
|
</p>
|
261
261
|
<p>
|
262
262
|
The <em class="parameter"><code>num_glyphs</code></em> argument is preset to the number of glyph entries available
|
263
|
-
in the <em class="parameter"><code>glyphs</code></em> buffer. If the <em class="parameter"><code>glyphs</code></em> buffer is <
|
263
|
+
in the <em class="parameter"><code>glyphs</code></em> buffer. If the <em class="parameter"><code>glyphs</code></em> buffer is <code class="literal">NULL</code>, the value of
|
264
264
|
<em class="parameter"><code>num_glyphs</code></em> will be zero. If the provided glyph array is too short for
|
265
265
|
the conversion (or for convenience), a new glyph array may be allocated
|
266
266
|
using <a class="link" href="cairo-text.html#cairo-glyph-allocate" title="cairo_glyph_allocate ()"><code class="function">cairo_glyph_allocate()</code></a> and placed in <em class="parameter"><code>glyphs</code></em>. Upon return,
|
@@ -272,10 +272,10 @@ The callback should populate the glyph indices and positions (in font space)
|
|
272
272
|
assuming that the text is to be shown at the origin.
|
273
273
|
</p>
|
274
274
|
<p>
|
275
|
-
If <em class="parameter"><code>clusters</code></em> is not <
|
276
|
-
non-<
|
275
|
+
If <em class="parameter"><code>clusters</code></em> is not <code class="literal">NULL</code>, <em class="parameter"><code>num_clusters</code></em> and <em class="parameter"><code>cluster_flags</code></em> are also
|
276
|
+
non-<code class="literal">NULL</code>, and cluster mapping should be computed. The semantics of how
|
277
277
|
cluster array allocation works is similar to the glyph array. That is,
|
278
|
-
if <em class="parameter"><code>clusters</code></em> initially points to a non-<
|
278
|
+
if <em class="parameter"><code>clusters</code></em> initially points to a non-<code class="literal">NULL</code> value, that array may be used
|
279
279
|
as a cluster buffer, and <em class="parameter"><code>num_clusters</code></em> points to the number of cluster
|
280
280
|
entries available there. If the provided cluster array is too short for
|
281
281
|
the conversion (or for convenience), a new cluster array may be allocated
|
@@ -325,7 +325,7 @@ glyph value for other purposes.
|
|
325
325
|
</tr>
|
326
326
|
<tr>
|
327
327
|
<td><p><span class="term"><em class="parameter"><code>clusters</code></em> :</span></p></td>
|
328
|
-
<td>pointer to array of cluster mapping information to fill, or <
|
328
|
+
<td>pointer to array of cluster mapping information to fill, or <code class="literal">NULL</code>
|
329
329
|
</td>
|
330
330
|
</tr>
|
331
331
|
<tr>
|
@@ -464,7 +464,7 @@ is created from it.
|
|
464
464
|
</tr>
|
465
465
|
<tr>
|
466
466
|
<td><p><span class="term"><em class="parameter"><code>init_func</code></em> :</span></p></td>
|
467
|
-
<td>The init callback, or <
|
467
|
+
<td>The init callback, or <code class="literal">NULL</code>
|
468
468
|
</td>
|
469
469
|
</tr>
|
470
470
|
</tbody>
|
@@ -489,7 +489,7 @@ Gets the scaled-font initialization function of a user-font.
|
|
489
489
|
<tr>
|
490
490
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
491
491
|
<td>The init callback of <em class="parameter"><code>font_face</code></em>
|
492
|
-
or <
|
492
|
+
or <code class="literal">NULL</code> if none set or an error has occurred.</td>
|
493
493
|
</tr>
|
494
494
|
</tbody>
|
495
495
|
</table></div>
|
@@ -513,7 +513,7 @@ is created from it.
|
|
513
513
|
</p>
|
514
514
|
<p>
|
515
515
|
The render_glyph callback is the only mandatory callback of a user-font.
|
516
|
-
If the callback is <
|
516
|
+
If the callback is <code class="literal">NULL</code> and a glyph is tried to be rendered using
|
517
517
|
<em class="parameter"><code>font_face</code></em>, a <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-USER-FONT-ERROR:CAPS"><code class="literal">CAIRO_STATUS_USER_FONT_ERROR</code></a> will occur.
|
518
518
|
</p>
|
519
519
|
<div class="variablelist"><table border="0">
|
@@ -525,7 +525,7 @@ If the callback is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/l
|
|
525
525
|
</tr>
|
526
526
|
<tr>
|
527
527
|
<td><p><span class="term"><em class="parameter"><code>render_glyph_func</code></em> :</span></p></td>
|
528
|
-
<td>The render_glyph callback, or <
|
528
|
+
<td>The render_glyph callback, or <code class="literal">NULL</code>
|
529
529
|
</td>
|
530
530
|
</tr>
|
531
531
|
</tbody>
|
@@ -550,7 +550,7 @@ Gets the glyph rendering function of a user-font.
|
|
550
550
|
<tr>
|
551
551
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
552
552
|
<td>The render_glyph callback of <em class="parameter"><code>font_face</code></em>
|
553
|
-
or <
|
553
|
+
or <code class="literal">NULL</code> if none set or an error has occurred.</td>
|
554
554
|
</tr>
|
555
555
|
</tbody>
|
556
556
|
</table></div>
|
@@ -581,7 +581,7 @@ is created from it.
|
|
581
581
|
</tr>
|
582
582
|
<tr>
|
583
583
|
<td><p><span class="term"><em class="parameter"><code>unicode_to_glyph_func</code></em> :</span></p></td>
|
584
|
-
<td>The unicode_to_glyph callback, or <
|
584
|
+
<td>The unicode_to_glyph callback, or <code class="literal">NULL</code>
|
585
585
|
</td>
|
586
586
|
</tr>
|
587
587
|
</tbody>
|
@@ -606,7 +606,7 @@ Gets the unicode-to-glyph conversion function of a user-font.
|
|
606
606
|
<tr>
|
607
607
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
608
608
|
<td>The unicode_to_glyph callback of <em class="parameter"><code>font_face</code></em>
|
609
|
-
or <
|
609
|
+
or <code class="literal">NULL</code> if none set or an error occurred.</td>
|
610
610
|
</tr>
|
611
611
|
</tbody>
|
612
612
|
</table></div>
|
@@ -637,7 +637,7 @@ is created from it.
|
|
637
637
|
</tr>
|
638
638
|
<tr>
|
639
639
|
<td><p><span class="term"><em class="parameter"><code>text_to_glyphs_func</code></em> :</span></p></td>
|
640
|
-
<td>The text_to_glyphs callback, or <
|
640
|
+
<td>The text_to_glyphs callback, or <code class="literal">NULL</code>
|
641
641
|
</td>
|
642
642
|
</tr>
|
643
643
|
</tbody>
|
@@ -662,7 +662,7 @@ Gets the text-to-glyphs conversion function of a user-font.
|
|
662
662
|
<tr>
|
663
663
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
664
664
|
<td>The text_to_glyphs callback of <em class="parameter"><code>font_face</code></em>
|
665
|
-
or <
|
665
|
+
or <code class="literal">NULL</code> if none set or an error occurred.</td>
|
666
666
|
</tr>
|
667
667
|
</tbody>
|
668
668
|
</table></div>
|
@@ -157,7 +157,7 @@ and can be used with functions such as <a class="link" href="cairo-Win32-Fonts.h
|
|
157
157
|
<tr>
|
158
158
|
<td><p><span class="term"><em class="parameter"><code>logfont</code></em> :</span></p></td>
|
159
159
|
<td>A <span class="type">LOGFONTW</span> structure specifying the font to use.
|
160
|
-
If <em class="parameter"><code>font</code></em> is <
|
160
|
+
If <em class="parameter"><code>font</code></em> is <code class="literal">NULL</code> then the lfHeight, lfWidth, lfOrientation and lfEscapement
|
161
161
|
fields of this structure are ignored. Otherwise lfWidth, lfOrientation and
|
162
162
|
lfEscapement must be zero.</td>
|
163
163
|
</tr>
|
@@ -215,8 +215,8 @@ associated methods must be used for correct output.
|
|
215
215
|
<a name="cairo-win32-surface-get-dc"></a><h3>cairo_win32_surface_get_dc ()</h3>
|
216
216
|
<pre class="programlisting"><span class="returnvalue">HDC</span> cairo_win32_surface_get_dc (<em class="parameter"><code><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> *surface</code></em>);</pre>
|
217
217
|
<p>
|
218
|
-
Returns the HDC associated with this surface, or <
|
219
|
-
Also returns <
|
218
|
+
Returns the HDC associated with this surface, or <code class="literal">NULL</code> if none.
|
219
|
+
Also returns <code class="literal">NULL</code> if the surface is not a win32 surface.
|
220
220
|
</p>
|
221
221
|
<p>
|
222
222
|
A call to <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-flush" title="cairo_surface_flush ()"><code class="function">cairo_surface_flush()</code></a> is required before using the HDC to
|
@@ -235,7 +235,7 @@ the content of the HDC has been modified.
|
|
235
235
|
</tr>
|
236
236
|
<tr>
|
237
237
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
238
|
-
<td>HDC or <
|
238
|
+
<td>HDC or <code class="literal">NULL</code> if no HDC available.</td>
|
239
239
|
</tr>
|
240
240
|
</tbody>
|
241
241
|
</table></div>
|
@@ -248,7 +248,7 @@ the content of the HDC has been modified.
|
|
248
248
|
<p>
|
249
249
|
Returns a <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> image surface that refers to the same bits
|
250
250
|
as the DIB of the Win32 surface. If the passed-in win32 surface
|
251
|
-
is not a DIB surface, <
|
251
|
+
is not a DIB surface, <code class="literal">NULL</code> is returned.
|
252
252
|
</p>
|
253
253
|
<div class="variablelist"><table border="0">
|
254
254
|
<col align="left" valign="top">
|
@@ -261,7 +261,7 @@ is not a DIB surface, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendo
|
|
261
261
|
<tr>
|
262
262
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
263
263
|
<td>a <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> (owned by the win32 <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>),
|
264
|
-
or <
|
264
|
+
or <code class="literal">NULL</code> if the win32 surface is not a DIB.</td>
|
265
265
|
</tr>
|
266
266
|
</tbody>
|
267
267
|
</table></div>
|