Mercurial > repos > rliterman > csp2
comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/gtk-doc/html/cairo/cairo-Quartz-(CGFont)-Fonts.html @ 68:5028fdace37b
planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author | jpayne |
---|---|
date | Tue, 18 Mar 2025 16:23:26 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
67:0e9998148a16 | 68:5028fdace37b |
---|---|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
2 <html> | |
3 <head> | |
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
5 <title>Quartz (CGFont) Fonts: Cairo: A Vector Graphics Library</title> | |
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> | |
7 <link rel="home" href="index.html" title="Cairo: A Vector Graphics Library"> | |
8 <link rel="up" href="cairo-fonts.html" title="Fonts"> | |
9 <link rel="prev" href="cairo-Win32-Fonts.html" title="Win32 Fonts"> | |
10 <link rel="next" href="cairo-User-Fonts.html" title="User Fonts"> | |
11 <meta name="generator" content="GTK-Doc V1.27 (XML mode)"> | |
12 <link rel="stylesheet" href="style.css" type="text/css"> | |
13 </head> | |
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> | |
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><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-Quartz-(CGFont)-Fonts.description" class="shortcut">Description</a></span> | |
19 </td> | |
20 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> | |
21 <td><a accesskey="u" href="cairo-fonts.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> | |
22 <td><a accesskey="p" href="cairo-Win32-Fonts.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> | |
23 <td><a accesskey="n" href="cairo-User-Fonts.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> | |
24 </tr></table> | |
25 <div class="refentry"> | |
26 <a name="cairo-Quartz-(CGFont)-Fonts"></a><div class="titlepage"></div> | |
27 <div class="refnamediv"><table width="100%"><tr> | |
28 <td valign="top"> | |
29 <h2><span class="refentrytitle"><a name="cairo-Quartz-(CGFont)-Fonts.top_of_page"></a>Quartz (CGFont) Fonts</span></h2> | |
30 <p>Quartz (CGFont) Fonts — Font support via CGFont on OS X</p> | |
31 </td> | |
32 <td class="gallery_image" valign="top" align="right"></td> | |
33 </tr></table></div> | |
34 <div class="refsect1"> | |
35 <a name="cairo-Quartz-(CGFont)-Fonts.functions"></a><h2>Functions</h2> | |
36 <div class="informaltable"><table class="informaltable" width="100%" border="0"> | |
37 <colgroup> | |
38 <col width="150px" class="functions_return"> | |
39 <col class="functions_name"> | |
40 </colgroup> | |
41 <tbody> | |
42 <tr> | |
43 <td class="function_type"> | |
44 <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * | |
45 </td> | |
46 <td class="function_name"> | |
47 <a class="link" href="cairo-Quartz-(CGFont)-Fonts.html#cairo-quartz-font-face-create-for-cgfont" title="cairo_quartz_font_face_create_for_cgfont ()">cairo_quartz_font_face_create_for_cgfont</a> <span class="c_punctuation">()</span> | |
48 </td> | |
49 </tr> | |
50 <tr> | |
51 <td class="function_type"> | |
52 <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * | |
53 </td> | |
54 <td class="function_name"> | |
55 <a class="link" href="cairo-Quartz-(CGFont)-Fonts.html#cairo-quartz-font-face-create-for-atsu-font-id" title="cairo_quartz_font_face_create_for_atsu_font_id ()">cairo_quartz_font_face_create_for_atsu_font_id</a> <span class="c_punctuation">()</span> | |
56 </td> | |
57 </tr> | |
58 </tbody> | |
59 </table></div> | |
60 </div> | |
61 <div class="refsect1"> | |
62 <a name="cairo-Quartz-(CGFont)-Fonts.other"></a><h2>Types and Values</h2> | |
63 <div class="informaltable"><table class="informaltable" width="100%" border="0"> | |
64 <colgroup> | |
65 <col width="150px" class="name"> | |
66 <col class="description"> | |
67 </colgroup> | |
68 <tbody><tr> | |
69 <td class="define_keyword">#define</td> | |
70 <td class="function_name"><a class="link" href="cairo-Quartz-(CGFont)-Fonts.html#CAIRO-HAS-QUARTZ-FONT:CAPS" title="CAIRO_HAS_QUARTZ_FONT">CAIRO_HAS_QUARTZ_FONT</a></td> | |
71 </tr></tbody> | |
72 </table></div> | |
73 </div> | |
74 <div class="refsect1"> | |
75 <a name="cairo-Quartz-(CGFont)-Fonts.description"></a><h2>Description</h2> | |
76 <p>The Quartz font backend is primarily used to render text on Apple | |
77 MacOS X systems. The CGFont API is used for the internal | |
78 implementation of the font backend methods.</p> | |
79 </div> | |
80 <div class="refsect1"> | |
81 <a name="cairo-Quartz-(CGFont)-Fonts.functions_details"></a><h2>Functions</h2> | |
82 <div class="refsect2"> | |
83 <a name="cairo-quartz-font-face-create-for-cgfont"></a><h3>cairo_quartz_font_face_create_for_cgfont ()</h3> | |
84 <pre class="programlisting"><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * | |
85 cairo_quartz_font_face_create_for_cgfont | |
86 (<em class="parameter"><code><span class="type">CGFontRef</span> font</code></em>);</pre> | |
87 <p>Creates a new font for the Quartz font backend based on a | |
88 <span class="type">CGFontRef</span>. This font can then be used with | |
89 <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a> or <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a>.</p> | |
90 <div class="refsect3"> | |
91 <a name="cairo-quartz-font-face-create-for-cgfont.parameters"></a><h4>Parameters</h4> | |
92 <div class="informaltable"><table class="informaltable" width="100%" border="0"> | |
93 <colgroup> | |
94 <col width="150px" class="parameters_name"> | |
95 <col class="parameters_description"> | |
96 <col width="200px" class="parameters_annotations"> | |
97 </colgroup> | |
98 <tbody><tr> | |
99 <td class="parameter_name"><p>font</p></td> | |
100 <td class="parameter_description"><p>a <span class="type">CGFontRef</span> obtained through a method external to cairo.</p></td> | |
101 <td class="parameter_annotations"> </td> | |
102 </tr></tbody> | |
103 </table></div> | |
104 </div> | |
105 <div class="refsect3"> | |
106 <a name="cairo-quartz-font-face-create-for-cgfont.returns"></a><h4>Returns</h4> | |
107 <p> a newly created <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>. Free with | |
108 <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-destroy" title="cairo_font_face_destroy ()"><code class="function">cairo_font_face_destroy()</code></a> when you are done using it.</p> | |
109 </div> | |
110 <p class="since">Since: 1.6</p> | |
111 </div> | |
112 <hr> | |
113 <div class="refsect2"> | |
114 <a name="cairo-quartz-font-face-create-for-atsu-font-id"></a><h3>cairo_quartz_font_face_create_for_atsu_font_id ()</h3> | |
115 <pre class="programlisting"><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * | |
116 cairo_quartz_font_face_create_for_atsu_font_id | |
117 (<em class="parameter"><code><span class="type">ATSUFontID</span> font_id</code></em>);</pre> | |
118 <p>Creates a new font for the Quartz font backend based on an | |
119 <span class="type">ATSUFontID</span>. This font can then be used with | |
120 <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a> or <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a>.</p> | |
121 <div class="refsect3"> | |
122 <a name="cairo-quartz-font-face-create-for-atsu-font-id.parameters"></a><h4>Parameters</h4> | |
123 <div class="informaltable"><table class="informaltable" width="100%" border="0"> | |
124 <colgroup> | |
125 <col width="150px" class="parameters_name"> | |
126 <col class="parameters_description"> | |
127 <col width="200px" class="parameters_annotations"> | |
128 </colgroup> | |
129 <tbody><tr> | |
130 <td class="parameter_name"><p>font_id</p></td> | |
131 <td class="parameter_description"><p>an ATSUFontID for the font.</p></td> | |
132 <td class="parameter_annotations"> </td> | |
133 </tr></tbody> | |
134 </table></div> | |
135 </div> | |
136 <div class="refsect3"> | |
137 <a name="cairo-quartz-font-face-create-for-atsu-font-id.returns"></a><h4>Returns</h4> | |
138 <p> a newly created <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>. Free with | |
139 <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-destroy" title="cairo_font_face_destroy ()"><code class="function">cairo_font_face_destroy()</code></a> when you are done using it.</p> | |
140 </div> | |
141 <p class="since">Since: 1.6</p> | |
142 </div> | |
143 </div> | |
144 <div class="refsect1"> | |
145 <a name="cairo-Quartz-(CGFont)-Fonts.other_details"></a><h2>Types and Values</h2> | |
146 <div class="refsect2"> | |
147 <a name="CAIRO-HAS-QUARTZ-FONT:CAPS"></a><h3>CAIRO_HAS_QUARTZ_FONT</h3> | |
148 <pre class="programlisting">#define CAIRO_HAS_QUARTZ_FONT 1 | |
149 </pre> | |
150 <p>Defined if the Quartz font backend is available. | |
151 This macro can be used to conditionally compile backend-specific code.</p> | |
152 <p class="since">Since: 1.6</p> | |
153 </div> | |
154 </div> | |
155 <div class="refsect1"> | |
156 <a name="cairo-Quartz-(CGFont)-Fonts.see-also"></a><h2>See Also</h2> | |
157 <p><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a></p> | |
158 </div> | |
159 </div> | |
160 <div class="footer"> | |
161 <hr>Generated by GTK-Doc V1.27</div> | |
162 </body> | |
163 </html> |