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>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="language-bindings.html" title="Appendix A. Creating a language binding for cairo">
|
jpayne@68
|
9 <link rel="prev" href="bindings-surfaces.html" title="Surfaces">
|
jpayne@68
|
10 <link rel="next" href="bindings-path.html" title="cairo_path_t">
|
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"></td>
|
jpayne@68
|
17 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
jpayne@68
|
18 <td><a accesskey="u" href="language-bindings.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
jpayne@68
|
19 <td><a accesskey="p" href="bindings-surfaces.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
jpayne@68
|
20 <td><a accesskey="n" href="bindings-path.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
jpayne@68
|
21 </tr></table>
|
jpayne@68
|
22 <div class="sect1">
|
jpayne@68
|
23 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
jpayne@68
|
24 <a name="bindings-fonts"></a>Fonts</h2></div></div></div>
|
jpayne@68
|
25 <p>
|
jpayne@68
|
26 Fonts are once more an area where there is a hierarchy of types:
|
jpayne@68
|
27 </p>
|
jpayne@68
|
28 <pre class="programlisting">
|
jpayne@68
|
29 cairo_font_face_t
|
jpayne@68
|
30 cairo_ft_font_face_t
|
jpayne@68
|
31 cairo_win32_font_face_t
|
jpayne@68
|
32 cairo_scaled_font_t
|
jpayne@68
|
33 cairo_ft_scaled_font_t
|
jpayne@68
|
34 cairo_win32_scaled_font_t
|
jpayne@68
|
35 </pre>
|
jpayne@68
|
36 <p>
|
jpayne@68
|
37 The methods on the subtypes are, however, not useful without
|
jpayne@68
|
38 bindings for fontconfig and FreeType or for the Win32 GDI,
|
jpayne@68
|
39 so most language bindings will choose not to bind these
|
jpayne@68
|
40 types.
|
jpayne@68
|
41 </p>
|
jpayne@68
|
42 <p>
|
jpayne@68
|
43 The <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-set-user-data" title="cairo_font_face_set_user_data ()"><code class="function">cairo_font_face_set_user_data()</code></a>,
|
jpayne@68
|
44 and <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-get-user-data" title="cairo_font_face_get_user_data ()"><code class="function">cairo_font_face_get_user_data()</code></a>
|
jpayne@68
|
45 methods are provided for use in language bindings, and should
|
jpayne@68
|
46 not be directly exposed to applications.
|
jpayne@68
|
47 </p>
|
jpayne@68
|
48 </div>
|
jpayne@68
|
49 <div class="footer">
|
jpayne@68
|
50 <hr>Generated by GTK-Doc V1.27</div>
|
jpayne@68
|
51 </body>
|
jpayne@68
|
52 </html> |