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