cairo 1.14.1-x64-mingw32 → 1.14.2-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 +4 -4
- data/NEWS +21 -0
- data/Rakefile +17 -6
- data/ext/cairo/cairo.def +1 -0
- data/ext/cairo/extconf.rb +23 -10
- data/ext/cairo/rb_cairo.c +3 -0
- data/ext/cairo/rb_cairo.h +3 -3
- data/ext/cairo/rb_cairo_context.c +1 -1
- data/ext/cairo/rb_cairo_io.c +4 -0
- data/ext/cairo/rb_cairo_io.h +2 -0
- data/ext/cairo/rb_cairo_pattern.c +4 -4
- data/ext/cairo/rb_cairo_private.h +2 -0
- data/ext/cairo/rb_cairo_surface.c +64 -232
- 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 +20 -19
- data/lib/cairo/region.rb +14 -0
- data/test/test_region.rb +26 -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 +2 -2
- 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 +1 -1
- data/vendor/local/bin/libpng16-16.dll +0 -0
- data/vendor/local/bin/libpng16-config +1 -1
- 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/xmlcatalog.exe +0 -0
- data/vendor/local/bin/xmllint.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/include/cairo/cairo-version.h +1 -1
- data/vendor/local/include/freetype2/config/ftconfig.h +19 -2
- data/vendor/local/include/freetype2/config/ftheader.h +7 -5
- data/vendor/local/include/freetype2/config/ftoption.h +9 -22
- data/vendor/local/include/freetype2/config/ftstdlib.h +2 -3
- data/vendor/local/include/freetype2/freetype.h +38 -17
- data/vendor/local/include/freetype2/ft2build.h +1 -1
- data/vendor/local/include/freetype2/ftadvanc.h +2 -2
- data/vendor/local/include/freetype2/ftautoh.h +50 -2
- data/vendor/local/include/freetype2/ftbbox.h +1 -1
- data/vendor/local/include/freetype2/ftbdf.h +1 -1
- data/vendor/local/include/freetype2/ftbitmap.h +11 -3
- data/vendor/local/include/freetype2/ftbzip2.h +1 -1
- data/vendor/local/include/freetype2/ftcache.h +3 -3
- data/vendor/local/include/freetype2/ftcffdrv.h +1 -1
- data/vendor/local/include/freetype2/ftcid.h +2 -1
- data/vendor/local/include/freetype2/fterrdef.h +1 -1
- data/vendor/local/include/freetype2/fterrors.h +1 -1
- data/vendor/local/include/freetype2/{ftxf86.h → ftfntfmt.h} +22 -14
- data/vendor/local/include/freetype2/ftgasp.h +1 -1
- data/vendor/local/include/freetype2/ftglyph.h +1 -1
- data/vendor/local/include/freetype2/ftgxval.h +1 -1
- data/vendor/local/include/freetype2/ftgzip.h +1 -1
- data/vendor/local/include/freetype2/ftimage.h +7 -13
- data/vendor/local/include/freetype2/ftincrem.h +1 -1
- data/vendor/local/include/freetype2/ftlcdfil.h +2 -2
- data/vendor/local/include/freetype2/ftlist.h +1 -1
- data/vendor/local/include/freetype2/ftlzw.h +1 -1
- data/vendor/local/include/freetype2/ftmac.h +1 -1
- data/vendor/local/include/freetype2/ftmm.h +17 -11
- data/vendor/local/include/freetype2/ftmodapi.h +4 -2
- data/vendor/local/include/freetype2/ftmoderr.h +1 -1
- data/vendor/local/include/freetype2/ftotval.h +1 -1
- data/vendor/local/include/freetype2/ftoutln.h +1 -1
- data/vendor/local/include/freetype2/ftpfr.h +1 -1
- data/vendor/local/include/freetype2/ftrender.h +3 -8
- data/vendor/local/include/freetype2/ftsizes.h +1 -1
- data/vendor/local/include/freetype2/ftsnames.h +1 -1
- data/vendor/local/include/freetype2/ftstroke.h +1 -1
- data/vendor/local/include/freetype2/ftsynth.h +5 -3
- data/vendor/local/include/freetype2/ftsystem.h +10 -1
- data/vendor/local/include/freetype2/fttrigon.h +1 -1
- data/vendor/local/include/freetype2/ftttdrv.h +85 -22
- data/vendor/local/include/freetype2/fttypes.h +1 -1
- data/vendor/local/include/freetype2/ftwinfnt.h +3 -3
- data/vendor/local/include/freetype2/t1tables.h +4 -3
- data/vendor/local/include/freetype2/ttnameid.h +116 -116
- data/vendor/local/include/freetype2/tttables.h +2 -2
- data/vendor/local/include/freetype2/tttags.h +1 -1
- data/vendor/local/include/freetype2/ttunpat.h +1 -1
- data/vendor/local/include/libpng16/png.h +63 -80
- data/vendor/local/include/libpng16/pngconf.h +8 -30
- data/vendor/local/include/libpng16/pnglibconf.h +10 -4
- data/vendor/local/include/png.h +63 -80
- data/vendor/local/include/pngconf.h +8 -30
- data/vendor/local/include/pnglibconf.h +10 -4
- data/vendor/local/lib/libcairo-gobject.a +0 -0
- data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
- data/vendor/local/lib/libcairo-gobject.la +2 -2
- data/vendor/local/lib/libcairo-script-interpreter.a +0 -0
- data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
- data/vendor/local/lib/libcairo-script-interpreter.la +2 -2
- data/vendor/local/lib/libcairo.a +0 -0
- data/vendor/local/lib/libcairo.dll.a +0 -0
- data/vendor/local/lib/libcairo.la +2 -2
- data/vendor/local/lib/libfontconfig.dll.a +0 -0
- data/vendor/local/lib/libfreetype.a +0 -0
- data/vendor/local/lib/libfreetype.dll.a +0 -0
- data/vendor/local/lib/libfreetype.la +4 -4
- data/vendor/local/lib/libpixman-1.a +0 -0
- data/vendor/local/lib/libpixman-1.dll.a +0 -0
- data/vendor/local/lib/libpng.a +0 -0
- data/vendor/local/lib/libpng.dll.a +0 -0
- data/vendor/local/lib/libpng.la +4 -4
- data/vendor/local/lib/libpng16.a +0 -0
- data/vendor/local/lib/libpng16.dll.a +0 -0
- data/vendor/local/lib/libpng16.la +4 -4
- 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 +1 -1
- data/vendor/local/lib/pkgconfig/freetype2.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpng.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpng16.pc +1 -1
- data/vendor/local/share/aclocal/freetype2.m4 +1 -1
- data/vendor/local/share/gtk-doc/html/cairo/bindings-errors.html +12 -12
- data/vendor/local/share/gtk-doc/html/cairo/bindings-fonts.html +12 -12
- data/vendor/local/share/gtk-doc/html/cairo/bindings-memory.html +12 -12
- data/vendor/local/share/gtk-doc/html/cairo/bindings-overloading.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/bindings-path.html +12 -12
- data/vendor/local/share/gtk-doc/html/cairo/bindings-patterns.html +35 -35
- data/vendor/local/share/gtk-doc/html/cairo/bindings-return-values.html +10 -10
- data/vendor/local/share/gtk-doc/html/cairo/bindings-streams.html +11 -11
- data/vendor/local/share/gtk-doc/html/cairo/bindings-surfaces.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Error-handling.html +294 -225
- data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +387 -269
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +432 -302
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +325 -217
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PNG-Support.html +298 -193
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Paths.html +1121 -812
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +513 -383
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-(CGFont)-Fonts.html +126 -83
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html +172 -119
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Raster-Sources.html +581 -372
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html +179 -130
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Regions.html +888 -539
- data/vendor/local/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +287 -192
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Script-Surfaces.html +374 -231
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Transformations.html +395 -219
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Types.html +125 -75
- data/vendor/local/share/gtk-doc/html/cairo/cairo-User-Fonts.html +630 -464
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Version-Information.html +225 -200
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +336 -214
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +277 -186
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XCB-Surfaces.html +495 -350
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +557 -362
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-XRender-Backend.html +158 -111
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-device-t.html +655 -441
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +389 -280
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html +667 -451
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html +579 -351
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html +2006 -1545
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html +892 -618
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +1624 -1188
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-t.html +2903 -2104
- data/vendor/local/share/gtk-doc/html/cairo/cairo-drawing.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/cairo-fonts.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/cairo-support.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/cairo-surfaces.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +1115 -758
- data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +419 -604
- data/vendor/local/share/gtk-doc/html/cairo/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/index-1.10.html +56 -56
- data/vendor/local/share/gtk-doc/html/cairo/index-1.12.html +70 -70
- data/vendor/local/share/gtk-doc/html/cairo/index-1.2.html +58 -58
- data/vendor/local/share/gtk-doc/html/cairo/index-1.4.html +39 -39
- data/vendor/local/share/gtk-doc/html/cairo/index-1.6.html +30 -30
- data/vendor/local/share/gtk-doc/html/cairo/index-1.8.html +38 -38
- data/vendor/local/share/gtk-doc/html/cairo/index-all.html +426 -426
- data/vendor/local/share/gtk-doc/html/cairo/index.html +6 -6
- data/vendor/local/share/gtk-doc/html/cairo/index.sgml +234 -325
- data/vendor/local/share/gtk-doc/html/cairo/language-bindings.html +12 -12
- data/vendor/local/share/gtk-doc/html/cairo/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/right-insensitive.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 +221 -26
- data/vendor/local/share/gtk-doc/html/cairo/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/up.png +0 -0
- data/vendor/local/share/license/cairo/README +1 -1
- data/vendor/local/share/license/freetype/README +6 -6
- data/vendor/local/share/license/freetype/README.git +1 -1
- data/vendor/local/share/license/libpng/README +2 -2
- data/vendor/local/share/man/man1/freetype-config.1 +1 -1
- data/vendor/local/share/man/man3/libpng.3 +85 -92
- data/vendor/local/share/man/man3/libpngpf.3 +2 -2
- data/vendor/local/share/man/man5/png.5 +1 -1
- metadata +23 -19
@@ -2,30 +2,27 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Win32 Surfaces</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
5
|
+
<title>Cairo: A Vector Graphics Library: Win32 Surfaces</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
8
|
<link rel="up" href="cairo-surfaces.html" title="Surfaces">
|
9
9
|
<link rel="prev" href="cairo-Recording-Surfaces.html" title="Recording Surfaces">
|
10
10
|
<link rel="next" href="cairo-SVG-Surfaces.html" title="SVG Surfaces">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<
|
19
|
-
<
|
20
|
-
|
21
|
-
<td><a accesskey="
|
22
|
-
|
23
|
-
<
|
24
|
-
<a href="
|
25
|
-
|
26
|
-
<a href="#cairo-Win32-Surfaces.description" class="shortcut">Description</a>
|
27
|
-
</td></tr>
|
28
|
-
</table>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#cairo-Win32-Surfaces.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#cairo-Win32-Surfaces.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
|
20
|
+
</td>
|
21
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
|
+
<td><a accesskey="u" href="cairo-surfaces.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
23
|
+
<td><a accesskey="p" href="cairo-Recording-Surfaces.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
24
|
+
<td><a accesskey="n" href="cairo-SVG-Surfaces.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
25
|
+
</tr></table>
|
29
26
|
<div class="refentry">
|
30
27
|
<a name="cairo-Win32-Surfaces"></a><div class="titlepage"></div>
|
31
28
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -33,248 +30,342 @@
|
|
33
30
|
<h2><span class="refentrytitle"><a name="cairo-Win32-Surfaces.top_of_page"></a>Win32 Surfaces</span></h2>
|
34
31
|
<p>Win32 Surfaces — Microsoft Windows surface support</p>
|
35
32
|
</td>
|
36
|
-
<td valign="top" align="right"></td>
|
33
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
37
34
|
</tr></table></div>
|
38
|
-
<div class="
|
39
|
-
<a name="cairo-Win32-Surfaces.
|
40
|
-
<
|
41
|
-
<
|
42
|
-
<
|
43
|
-
|
44
|
-
|
45
|
-
<
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
<
|
51
|
-
<a class="link" href="cairo-
|
35
|
+
<div class="refsect1">
|
36
|
+
<a name="cairo-Win32-Surfaces.functions"></a><h2>Functions</h2>
|
37
|
+
<div class="informaltable"><table width="100%" border="0">
|
38
|
+
<colgroup>
|
39
|
+
<col width="150px" class="functions_return">
|
40
|
+
<col class="functions_name">
|
41
|
+
</colgroup>
|
42
|
+
<tbody>
|
43
|
+
<tr>
|
44
|
+
<td class="function_type">
|
45
|
+
<a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
|
46
|
+
</td>
|
47
|
+
<td class="function_name">
|
48
|
+
<a class="link" href="cairo-Win32-Surfaces.html#cairo-win32-surface-create" title="cairo_win32_surface_create ()">cairo_win32_surface_create</a> <span class="c_punctuation">()</span>
|
49
|
+
</td>
|
50
|
+
</tr>
|
51
|
+
<tr>
|
52
|
+
<td class="function_type">
|
53
|
+
<a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
|
54
|
+
</td>
|
55
|
+
<td class="function_name">
|
56
|
+
<a class="link" href="cairo-Win32-Surfaces.html#cairo-win32-surface-create-with-dib" title="cairo_win32_surface_create_with_dib ()">cairo_win32_surface_create_with_dib</a> <span class="c_punctuation">()</span>
|
57
|
+
</td>
|
58
|
+
</tr>
|
59
|
+
<tr>
|
60
|
+
<td class="function_type">
|
61
|
+
<a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
|
62
|
+
</td>
|
63
|
+
<td class="function_name">
|
64
|
+
<a class="link" href="cairo-Win32-Surfaces.html#cairo-win32-surface-create-with-ddb" title="cairo_win32_surface_create_with_ddb ()">cairo_win32_surface_create_with_ddb</a> <span class="c_punctuation">()</span>
|
65
|
+
</td>
|
66
|
+
</tr>
|
67
|
+
<tr>
|
68
|
+
<td class="function_type">
|
69
|
+
<a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
|
70
|
+
</td>
|
71
|
+
<td class="function_name">
|
72
|
+
<a class="link" href="cairo-Win32-Surfaces.html#cairo-win32-printing-surface-create" title="cairo_win32_printing_surface_create ()">cairo_win32_printing_surface_create</a> <span class="c_punctuation">()</span>
|
73
|
+
</td>
|
74
|
+
</tr>
|
75
|
+
<tr>
|
76
|
+
<td class="function_type">
|
77
|
+
<span class="returnvalue">HDC</span>
|
78
|
+
</td>
|
79
|
+
<td class="function_name">
|
80
|
+
<a class="link" href="cairo-Win32-Surfaces.html#cairo-win32-surface-get-dc" title="cairo_win32_surface_get_dc ()">cairo_win32_surface_get_dc</a> <span class="c_punctuation">()</span>
|
81
|
+
</td>
|
82
|
+
</tr>
|
83
|
+
<tr>
|
84
|
+
<td class="function_type">
|
85
|
+
<a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
|
86
|
+
</td>
|
87
|
+
<td class="function_name">
|
88
|
+
<a class="link" href="cairo-Win32-Surfaces.html#cairo-win32-surface-get-image" title="cairo_win32_surface_get_image ()">cairo_win32_surface_get_image</a> <span class="c_punctuation">()</span>
|
89
|
+
</td>
|
90
|
+
</tr>
|
91
|
+
</tbody>
|
92
|
+
</table></div>
|
93
|
+
</div>
|
94
|
+
<div class="refsect1">
|
95
|
+
<a name="cairo-Win32-Surfaces.other"></a><h2>Types and Values</h2>
|
96
|
+
<div class="informaltable"><table width="100%" border="0">
|
97
|
+
<colgroup>
|
98
|
+
<col width="150px" class="name">
|
99
|
+
<col class="description">
|
100
|
+
</colgroup>
|
101
|
+
<tbody><tr>
|
102
|
+
<td class="define_keyword">#define</td>
|
103
|
+
<td class="function_name"><a class="link" href="cairo-Win32-Surfaces.html#CAIRO-HAS-WIN32-SURFACE:CAPS" title="CAIRO_HAS_WIN32_SURFACE">CAIRO_HAS_WIN32_SURFACE</a></td>
|
104
|
+
</tr></tbody>
|
105
|
+
</table></div>
|
106
|
+
</div>
|
107
|
+
<div class="refsect1">
|
108
|
+
<a name="cairo-Win32-Surfaces.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
109
|
+
<pre class="screen">
|
52
110
|
</pre>
|
53
111
|
</div>
|
54
112
|
<div class="refsect1">
|
55
113
|
<a name="cairo-Win32-Surfaces.description"></a><h2>Description</h2>
|
56
|
-
<p>
|
57
|
-
|
58
|
-
|
59
|
-
</p>
|
60
|
-
<p>
|
61
|
-
The surface returned by <a class="link" href="cairo-Win32-Surfaces.html#cairo-win32-printing-surface-create" title="cairo_win32_printing_surface_create ()"><code class="function">cairo_win32_printing_surface_create()</code></a> is of surface
|
114
|
+
<p>The Microsoft Windows surface is used to render cairo graphics to
|
115
|
+
Microsoft Windows windows, bitmaps, and printing device contexts.</p>
|
116
|
+
<p>The surface returned by <a class="link" href="cairo-Win32-Surfaces.html#cairo-win32-printing-surface-create" title="cairo_win32_printing_surface_create ()"><code class="function">cairo_win32_printing_surface_create()</code></a> is of surface
|
62
117
|
type <a class="link" href="cairo-cairo-surface-t.html#CAIRO-SURFACE-TYPE-WIN32-PRINTING:CAPS"><code class="literal">CAIRO_SURFACE_TYPE_WIN32_PRINTING</code></a> and is a multi-page vector surface
|
63
|
-
type
|
64
|
-
|
65
|
-
<p>
|
66
|
-
The surface returned by the other win32 constructors is of surface type
|
67
|
-
<a class="link" href="cairo-cairo-surface-t.html#CAIRO-SURFACE-TYPE-WIN32:CAPS"><code class="literal">CAIRO_SURFACE_TYPE_WIN32</code></a> and is a raster surface type.
|
68
|
-
</p>
|
118
|
+
type.</p>
|
119
|
+
<p>The surface returned by the other win32 constructors is of surface type
|
120
|
+
<a class="link" href="cairo-cairo-surface-t.html#CAIRO-SURFACE-TYPE-WIN32:CAPS"><code class="literal">CAIRO_SURFACE_TYPE_WIN32</code></a> and is a raster surface type.</p>
|
69
121
|
</div>
|
70
122
|
<div class="refsect1">
|
71
|
-
<a name="cairo-Win32-Surfaces.
|
123
|
+
<a name="cairo-Win32-Surfaces.functions_details"></a><h2>Functions</h2>
|
72
124
|
<div class="refsect2">
|
73
|
-
<a name="
|
74
|
-
<pre class="programlisting"
|
75
|
-
</pre>
|
76
|
-
<p>
|
77
|
-
Defined if the Microsoft Windows surface backend is available.
|
78
|
-
This macro can be used to conditionally compile backend-specific code.
|
79
|
-
</p>
|
80
|
-
<p class="since">Since 1.0</p>
|
81
|
-
</div>
|
82
|
-
<hr>
|
83
|
-
<div class="refsect2">
|
84
|
-
<a name="cairo-win32-surface-create"></a><h3>cairo_win32_surface_create ()</h3>
|
85
|
-
<pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> * cairo_win32_surface_create (<em class="parameter"><code><span class="type">HDC</span> hdc</code></em>);</pre>
|
86
|
-
<p>
|
87
|
-
Creates a cairo surface that targets the given DC. The DC will be
|
125
|
+
<a name="cairo-win32-surface-create"></a><h3>cairo_win32_surface_create ()</h3>
|
126
|
+
<pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
|
127
|
+
cairo_win32_surface_create (<em class="parameter"><code><span class="type">HDC</span> hdc</code></em>);</pre>
|
128
|
+
<p>Creates a cairo surface that targets the given DC. The DC will be
|
88
129
|
queried for its initial clip extents, and this will be used as the
|
89
130
|
size of the cairo surface. The resulting surface will always be of
|
90
131
|
format <a class="link" href="cairo-Image-Surfaces.html#CAIRO-FORMAT-RGB24:CAPS"><code class="literal">CAIRO_FORMAT_RGB24</code></a>; should you need another surface format,
|
91
132
|
you will need to create one through
|
92
|
-
<a class="link" href="cairo-Win32-Surfaces.html#cairo-win32-surface-create-with-dib" title="cairo_win32_surface_create_with_dib
|
93
|
-
|
94
|
-
<
|
95
|
-
<
|
96
|
-
<
|
97
|
-
<
|
98
|
-
<
|
99
|
-
<
|
100
|
-
</
|
101
|
-
<tr>
|
102
|
-
<td
|
103
|
-
<td>the
|
104
|
-
</
|
105
|
-
</tbody>
|
133
|
+
<a class="link" href="cairo-Win32-Surfaces.html#cairo-win32-surface-create-with-dib" title="cairo_win32_surface_create_with_dib ()"><code class="function">cairo_win32_surface_create_with_dib()</code></a>.</p>
|
134
|
+
<div class="refsect3">
|
135
|
+
<a name="id-1.5.9.7.2.5"></a><h4>Parameters</h4>
|
136
|
+
<div class="informaltable"><table width="100%" border="0">
|
137
|
+
<colgroup>
|
138
|
+
<col width="150px" class="parameters_name">
|
139
|
+
<col class="parameters_description">
|
140
|
+
<col width="200px" class="parameters_annotations">
|
141
|
+
</colgroup>
|
142
|
+
<tbody><tr>
|
143
|
+
<td class="parameter_name"><p>hdc</p></td>
|
144
|
+
<td class="parameter_description"><p>the DC to create a surface for</p></td>
|
145
|
+
<td class="parameter_annotations"> </td>
|
146
|
+
</tr></tbody>
|
106
147
|
</table></div>
|
148
|
+
</div>
|
149
|
+
<div class="refsect3">
|
150
|
+
<a name="id-1.5.9.7.2.6"></a><h4>Returns</h4>
|
151
|
+
<p> the newly created surface</p>
|
152
|
+
<p></p>
|
153
|
+
</div>
|
107
154
|
<p class="since">Since 1.0</p>
|
108
155
|
</div>
|
109
156
|
<hr>
|
110
157
|
<div class="refsect2">
|
111
|
-
<a name="cairo-win32-surface-create-with-dib"></a><h3>cairo_win32_surface_create_with_dib
|
112
|
-
<pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a>
|
113
|
-
|
114
|
-
|
115
|
-
<
|
116
|
-
Creates a device-independent-bitmap surface not associated with
|
158
|
+
<a name="cairo-win32-surface-create-with-dib"></a><h3>cairo_win32_surface_create_with_dib ()</h3>
|
159
|
+
<pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
|
160
|
+
cairo_win32_surface_create_with_dib (<em class="parameter"><code><a class="link" href="cairo-Image-Surfaces.html#cairo-format-t" title="enum cairo_format_t"><span class="type">cairo_format_t</span></a> format</code></em>,
|
161
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
162
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
|
163
|
+
<p>Creates a device-independent-bitmap surface not associated with
|
117
164
|
any particular existing surface or device context. The created
|
118
|
-
bitmap will be uninitialized
|
119
|
-
|
120
|
-
<
|
121
|
-
<
|
165
|
+
bitmap will be uninitialized.</p>
|
166
|
+
<div class="refsect3">
|
167
|
+
<a name="id-1.5.9.7.3.5"></a><h4>Parameters</h4>
|
168
|
+
<div class="informaltable"><table width="100%" border="0">
|
169
|
+
<colgroup>
|
170
|
+
<col width="150px" class="parameters_name">
|
171
|
+
<col class="parameters_description">
|
172
|
+
<col width="200px" class="parameters_annotations">
|
173
|
+
</colgroup>
|
122
174
|
<tbody>
|
123
175
|
<tr>
|
124
|
-
<td
|
125
|
-
<td>format of pixels in the surface to create</td>
|
126
|
-
</
|
127
|
-
<tr>
|
128
|
-
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
129
|
-
<td>width of the surface, in pixels</td>
|
176
|
+
<td class="parameter_name"><p>format</p></td>
|
177
|
+
<td class="parameter_description"><p>format of pixels in the surface to create</p></td>
|
178
|
+
<td class="parameter_annotations"> </td>
|
130
179
|
</tr>
|
131
180
|
<tr>
|
132
|
-
<td
|
133
|
-
<td>
|
181
|
+
<td class="parameter_name"><p>width</p></td>
|
182
|
+
<td class="parameter_description"><p>width of the surface, in pixels</p></td>
|
183
|
+
<td class="parameter_annotations"> </td>
|
134
184
|
</tr>
|
135
185
|
<tr>
|
136
|
-
<td
|
137
|
-
<td>the
|
186
|
+
<td class="parameter_name"><p>height</p></td>
|
187
|
+
<td class="parameter_description"><p>height of the surface, in pixels</p></td>
|
188
|
+
<td class="parameter_annotations"> </td>
|
138
189
|
</tr>
|
139
190
|
</tbody>
|
140
191
|
</table></div>
|
192
|
+
</div>
|
193
|
+
<div class="refsect3">
|
194
|
+
<a name="id-1.5.9.7.3.6"></a><h4>Returns</h4>
|
195
|
+
<p> the newly created surface</p>
|
196
|
+
<p></p>
|
197
|
+
</div>
|
141
198
|
<p class="since">Since 1.2</p>
|
142
199
|
</div>
|
143
200
|
<hr>
|
144
201
|
<div class="refsect2">
|
145
|
-
<a name="cairo-win32-surface-create-with-ddb"></a><h3>cairo_win32_surface_create_with_ddb
|
146
|
-
<pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a>
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
<
|
151
|
-
Creates a device-dependent-bitmap surface not associated with
|
202
|
+
<a name="cairo-win32-surface-create-with-ddb"></a><h3>cairo_win32_surface_create_with_ddb ()</h3>
|
203
|
+
<pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
|
204
|
+
cairo_win32_surface_create_with_ddb (<em class="parameter"><code><span class="type">HDC</span> hdc</code></em>,
|
205
|
+
<em class="parameter"><code><a class="link" href="cairo-Image-Surfaces.html#cairo-format-t" title="enum cairo_format_t"><span class="type">cairo_format_t</span></a> format</code></em>,
|
206
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
207
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
|
208
|
+
<p>Creates a device-dependent-bitmap surface not associated with
|
152
209
|
any particular existing surface or device context. The created
|
153
|
-
bitmap will be uninitialized
|
154
|
-
|
155
|
-
<
|
156
|
-
<
|
210
|
+
bitmap will be uninitialized.</p>
|
211
|
+
<div class="refsect3">
|
212
|
+
<a name="id-1.5.9.7.4.5"></a><h4>Parameters</h4>
|
213
|
+
<div class="informaltable"><table width="100%" border="0">
|
214
|
+
<colgroup>
|
215
|
+
<col width="150px" class="parameters_name">
|
216
|
+
<col class="parameters_description">
|
217
|
+
<col width="200px" class="parameters_annotations">
|
218
|
+
</colgroup>
|
157
219
|
<tbody>
|
158
220
|
<tr>
|
159
|
-
<td
|
160
|
-
<td>a DC compatible with the surface to create</td>
|
161
|
-
</
|
162
|
-
<tr>
|
163
|
-
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
164
|
-
<td>format of pixels in the surface to create</td>
|
221
|
+
<td class="parameter_name"><p>hdc</p></td>
|
222
|
+
<td class="parameter_description"><p>a DC compatible with the surface to create</p></td>
|
223
|
+
<td class="parameter_annotations"> </td>
|
165
224
|
</tr>
|
166
225
|
<tr>
|
167
|
-
<td
|
168
|
-
<td>
|
226
|
+
<td class="parameter_name"><p>format</p></td>
|
227
|
+
<td class="parameter_description"><p>format of pixels in the surface to create</p></td>
|
228
|
+
<td class="parameter_annotations"> </td>
|
169
229
|
</tr>
|
170
230
|
<tr>
|
171
|
-
<td
|
172
|
-
<td>
|
231
|
+
<td class="parameter_name"><p>width</p></td>
|
232
|
+
<td class="parameter_description"><p>width of the surface, in pixels</p></td>
|
233
|
+
<td class="parameter_annotations"> </td>
|
173
234
|
</tr>
|
174
235
|
<tr>
|
175
|
-
<td
|
176
|
-
<td>the
|
236
|
+
<td class="parameter_name"><p>height</p></td>
|
237
|
+
<td class="parameter_description"><p>height of the surface, in pixels</p></td>
|
238
|
+
<td class="parameter_annotations"> </td>
|
177
239
|
</tr>
|
178
240
|
</tbody>
|
179
241
|
</table></div>
|
242
|
+
</div>
|
243
|
+
<div class="refsect3">
|
244
|
+
<a name="id-1.5.9.7.4.6"></a><h4>Returns</h4>
|
245
|
+
<p> the newly created surface</p>
|
246
|
+
<p></p>
|
247
|
+
</div>
|
180
248
|
<p class="since">Since 1.4</p>
|
181
249
|
</div>
|
182
250
|
<hr>
|
183
251
|
<div class="refsect2">
|
184
|
-
<a name="cairo-win32-printing-surface-create"></a><h3>cairo_win32_printing_surface_create
|
185
|
-
<pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a>
|
186
|
-
<
|
187
|
-
Creates a cairo surface that targets the given DC. The DC will be
|
252
|
+
<a name="cairo-win32-printing-surface-create"></a><h3>cairo_win32_printing_surface_create ()</h3>
|
253
|
+
<pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
|
254
|
+
cairo_win32_printing_surface_create (<em class="parameter"><code><span class="type">HDC</span> hdc</code></em>);</pre>
|
255
|
+
<p>Creates a cairo surface that targets the given DC. The DC will be
|
188
256
|
queried for its initial clip extents, and this will be used as the
|
189
257
|
size of the cairo surface. The DC should be a printing DC;
|
190
258
|
antialiasing will be ignored, and GDI will be used as much as
|
191
|
-
possible to draw to the surface
|
192
|
-
|
193
|
-
<
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
<
|
199
|
-
<col
|
200
|
-
<
|
201
|
-
<
|
202
|
-
|
203
|
-
<
|
204
|
-
</
|
205
|
-
<
|
206
|
-
<td
|
207
|
-
|
208
|
-
</tr>
|
209
|
-
</tbody>
|
259
|
+
possible to draw to the surface.</p>
|
260
|
+
<p>The returned surface will be wrapped using the paginated surface to
|
261
|
+
provide correct complex rendering behaviour; <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-show-page" title="cairo_surface_show_page ()"><code class="function">cairo_surface_show_page()</code></a> and
|
262
|
+
associated methods must be used for correct output.</p>
|
263
|
+
<div class="refsect3">
|
264
|
+
<a name="id-1.5.9.7.5.6"></a><h4>Parameters</h4>
|
265
|
+
<div class="informaltable"><table width="100%" border="0">
|
266
|
+
<colgroup>
|
267
|
+
<col width="150px" class="parameters_name">
|
268
|
+
<col class="parameters_description">
|
269
|
+
<col width="200px" class="parameters_annotations">
|
270
|
+
</colgroup>
|
271
|
+
<tbody><tr>
|
272
|
+
<td class="parameter_name"><p>hdc</p></td>
|
273
|
+
<td class="parameter_description"><p>the DC to create a surface for</p></td>
|
274
|
+
<td class="parameter_annotations"> </td>
|
275
|
+
</tr></tbody>
|
210
276
|
</table></div>
|
277
|
+
</div>
|
278
|
+
<div class="refsect3">
|
279
|
+
<a name="id-1.5.9.7.5.7"></a><h4>Returns</h4>
|
280
|
+
<p> the newly created surface</p>
|
281
|
+
<p></p>
|
282
|
+
</div>
|
211
283
|
<p class="since">Since 1.6</p>
|
212
284
|
</div>
|
213
285
|
<hr>
|
214
286
|
<div class="refsect2">
|
215
|
-
<a name="cairo-win32-surface-get-dc"></a><h3>cairo_win32_surface_get_dc
|
216
|
-
<pre class="programlisting"><span class="returnvalue">HDC</span>
|
217
|
-
<
|
218
|
-
Returns the HDC associated with this surface, or <
|
219
|
-
Also returns <
|
220
|
-
|
221
|
-
<p>
|
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
|
287
|
+
<a name="cairo-win32-surface-get-dc"></a><h3>cairo_win32_surface_get_dc ()</h3>
|
288
|
+
<pre class="programlisting"><span class="returnvalue">HDC</span>
|
289
|
+
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>
|
290
|
+
<p>Returns the HDC associated with this surface, or <code class="literal">NULL</code> if none.
|
291
|
+
Also returns <code class="literal">NULL</code> if the surface is not a win32 surface.</p>
|
292
|
+
<p>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
|
223
293
|
ensure that all pending drawing operations are finished and to
|
224
294
|
restore any temporary modification cairo has made to its state. A
|
225
|
-
call to <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-mark-dirty" title="cairo_surface_mark_dirty
|
226
|
-
the content of the HDC has been modified
|
227
|
-
|
228
|
-
<
|
229
|
-
<
|
230
|
-
<
|
231
|
-
<
|
232
|
-
<
|
233
|
-
<
|
234
|
-
</
|
235
|
-
|
236
|
-
<
|
237
|
-
<td><p
|
238
|
-
<td
|
239
|
-
</tr>
|
240
|
-
</tbody>
|
295
|
+
call to <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-mark-dirty" title="cairo_surface_mark_dirty ()"><code class="function">cairo_surface_mark_dirty()</code></a> is required after the state or
|
296
|
+
the content of the HDC has been modified.</p>
|
297
|
+
<div class="refsect3">
|
298
|
+
<a name="id-1.5.9.7.6.6"></a><h4>Parameters</h4>
|
299
|
+
<div class="informaltable"><table width="100%" border="0">
|
300
|
+
<colgroup>
|
301
|
+
<col width="150px" class="parameters_name">
|
302
|
+
<col class="parameters_description">
|
303
|
+
<col width="200px" class="parameters_annotations">
|
304
|
+
</colgroup>
|
305
|
+
<tbody><tr>
|
306
|
+
<td class="parameter_name"><p>surface</p></td>
|
307
|
+
<td class="parameter_description"><p>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></p></td>
|
308
|
+
<td class="parameter_annotations"> </td>
|
309
|
+
</tr></tbody>
|
241
310
|
</table></div>
|
311
|
+
</div>
|
312
|
+
<div class="refsect3">
|
313
|
+
<a name="id-1.5.9.7.6.7"></a><h4>Returns</h4>
|
314
|
+
<p> HDC or <code class="literal">NULL</code> if no HDC available.</p>
|
315
|
+
<p></p>
|
316
|
+
</div>
|
242
317
|
<p class="since">Since 1.2</p>
|
243
318
|
</div>
|
244
319
|
<hr>
|
245
320
|
<div class="refsect2">
|
246
|
-
<a name="cairo-win32-surface-get-image"></a><h3>cairo_win32_surface_get_image
|
247
|
-
<pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a>
|
248
|
-
<
|
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
|
321
|
+
<a name="cairo-win32-surface-get-image"></a><h3>cairo_win32_surface_get_image ()</h3>
|
322
|
+
<pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
|
323
|
+
cairo_win32_surface_get_image (<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>
|
324
|
+
<p>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
325
|
as the DIB of the Win32 surface. If the passed-in win32 surface
|
251
|
-
is not a DIB surface, <
|
252
|
-
|
253
|
-
<
|
254
|
-
<
|
255
|
-
<
|
256
|
-
<
|
257
|
-
<
|
258
|
-
<
|
259
|
-
</
|
260
|
-
|
261
|
-
<
|
262
|
-
<td><p
|
263
|
-
<td
|
264
|
-
|
265
|
-
</tr>
|
266
|
-
</tbody>
|
326
|
+
is not a DIB surface, <code class="literal">NULL</code> is returned.</p>
|
327
|
+
<div class="refsect3">
|
328
|
+
<a name="id-1.5.9.7.7.5"></a><h4>Parameters</h4>
|
329
|
+
<div class="informaltable"><table width="100%" border="0">
|
330
|
+
<colgroup>
|
331
|
+
<col width="150px" class="parameters_name">
|
332
|
+
<col class="parameters_description">
|
333
|
+
<col width="200px" class="parameters_annotations">
|
334
|
+
</colgroup>
|
335
|
+
<tbody><tr>
|
336
|
+
<td class="parameter_name"><p>surface</p></td>
|
337
|
+
<td class="parameter_description"><p>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></p></td>
|
338
|
+
<td class="parameter_annotations"> </td>
|
339
|
+
</tr></tbody>
|
267
340
|
</table></div>
|
341
|
+
</div>
|
342
|
+
<div class="refsect3">
|
343
|
+
<a name="id-1.5.9.7.7.6"></a><h4>Returns</h4>
|
344
|
+
<p> 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>),
|
345
|
+
or <code class="literal">NULL</code> if the win32 surface is not a DIB.</p>
|
346
|
+
<p></p>
|
347
|
+
</div>
|
268
348
|
<p class="since">Since 1.4</p>
|
269
349
|
</div>
|
270
350
|
</div>
|
271
351
|
<div class="refsect1">
|
352
|
+
<a name="cairo-Win32-Surfaces.other_details"></a><h2>Types and Values</h2>
|
353
|
+
<div class="refsect2">
|
354
|
+
<a name="CAIRO-HAS-WIN32-SURFACE:CAPS"></a><h3>CAIRO_HAS_WIN32_SURFACE</h3>
|
355
|
+
<pre class="programlisting">#define CAIRO_HAS_WIN32_SURFACE 1
|
356
|
+
</pre>
|
357
|
+
<p>Defined if the Microsoft Windows surface backend is available.
|
358
|
+
This macro can be used to conditionally compile backend-specific code.</p>
|
359
|
+
<p class="since">Since 1.0</p>
|
360
|
+
</div>
|
361
|
+
</div>
|
362
|
+
<div class="refsect1">
|
272
363
|
<a name="cairo-Win32-Surfaces.see-also"></a><h2>See Also</h2>
|
273
|
-
<a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
|
364
|
+
<p><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a></p>
|
274
365
|
</div>
|
275
366
|
</div>
|
276
367
|
<div class="footer">
|
277
368
|
<hr>
|
278
|
-
Generated by GTK-Doc V1.
|
369
|
+
Generated by GTK-Doc V1.20</div>
|
279
370
|
</body>
|
280
371
|
</html>
|