File: font_8hh-source.html

package info (click to toggle)
gfcui 2.3.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 43,420 kB
  • ctags: 18,023
  • sloc: cpp: 53,967; sh: 31,555; makefile: 1,322; perl: 108
file content (364 lines) | stat: -rw-r--r-- 29,435 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
  <title>GTK+ Foundation Classes</title>
  <link href="gfc.css" rel="stylesheet" type="text/css">
  <meta content="The GFC Development Team" name="author">
  <meta content="Core Library Reference Manual" name="description">
</head>
<body style="color: rgb(0, 0, 0); background-color: rgb(243, 244, 248);"
 alink="#000099" link="#000099" vlink="#990099">
<table style="text-align: left; width: 1227px; height: 117px;"
 border="0" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td
 style="text-align: center; background-color: rgb(255, 255, 255); width: 220px; vertical-align: top;"><img
 alt="GFC Logo" src="../images/gfc.png"
 style="width: 207px; height: 92px;"></td>
      <td
 style="text-align: center; background-color: rgb(87, 107, 152); vertical-align: middle;"><img
 alt="GFC Title Logo" src="../images/gfc-title.png"
 style="width: 418px; height: 76px;"><br>
      </td>
    </tr>
    <tr>
      <td
 style="text-align: center; background-color: rgb(65, 77, 104); vertical-align: middle;"><big><span
 style="color: rgb(255, 255, 153); font-weight: bold;">Reference Manual</span></big><br>
      </td>
      <td
 style="text-align: center; background-color: rgb(148, 164, 200); vertical-align: middle;"><small
 style="font-family: helvetica,arial,sans-serif;"><a
 href="../html/index.html">Main Page</a>&nbsp; |&nbsp; <a
 href="../html/namespaces.html">Namespace List</a>&nbsp; |&nbsp; <a
 href="classes.html">Alphabetical List</a>&nbsp; |&nbsp; <a
 href="../html/annotated.html">Class List</a>&nbsp; |&nbsp; <a
 href="../html/files.html">File List</a></small><br>
      </td>
    </tr>
  </tbody>
</table>
<small> </small>
</body>
</html>
<!-- Generated by Doxygen 1.3.8 -->
<h1>font.hh</h1><a href="font_8hh.html">Go to the documentation of this file.</a><pre class="fragment"><div>00001 <span class="comment">/*  GFC-UI: GTK+ Foundation Classes (User Interface Library)</span>
00002 <span class="comment"> *  Copyright (C) 2002-2004 The GFC Development Team.</span>
00003 <span class="comment"> *</span>
00004 <span class="comment"> *  This program is free software; you can redistribute it and/or modify</span>
00005 <span class="comment"> *  it under the terms of the GNU General Public License as published by</span>
00006 <span class="comment"> *  the Free Software Foundation; either version 2 of the License, or</span>
00007 <span class="comment"> *  (at your option) any later version.</span>
00008 <span class="comment"> *</span>
00009 <span class="comment"> *  This program is distributed in the hope that it will be useful,</span>
00010 <span class="comment"> *  but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
00011 <span class="comment"> *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
00012 <span class="comment"> *  GNU Library General Public License for more details.</span>
00013 <span class="comment"> *</span>
00014 <span class="comment"> *  You should have received a copy of the GNU Library General Public License</span>
00015 <span class="comment"> *  along with this program; if not, write to the Free Software</span>
00016 <span class="comment"> *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</span>
00017 <span class="comment"> */</span>
00018  
00023 
00024 <span class="preprocessor">#ifndef GFC_PANGO_FONT_HH</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define GFC_PANGO_FONT_HH</span>
00026 <span class="preprocessor"></span>
00027 <span class="preprocessor">#ifndef GFC_PANGO_TYPES_HH</span>
00028 <span class="preprocessor"></span><span class="preprocessor">#include &lt;<a class="code" href="pango_2types_8hh.html">gfc/pango/types.hh</a>&gt;</span>
00029 <span class="preprocessor">#endif</span>
00030 <span class="preprocessor"></span>
00031 <span class="preprocessor">#ifndef GFC_G_BOXED_HH</span>
00032 <span class="preprocessor"></span><span class="preprocessor">#include &lt;<a class="codeRef" doxygen="gfccore.tag:" href="boxed_8hh.html">gfc/glib/boxed.hh</a>&gt;</span>
00033 <span class="preprocessor">#endif</span>
00034 <span class="preprocessor"></span>
00035 <span class="preprocessor">#ifndef GFC_G_OBJECT_HH</span>
00036 <span class="preprocessor"></span><span class="preprocessor">#include &lt;gfc/glib/object.hh&gt;</span>
00037 <span class="preprocessor">#endif</span>
00038 <span class="preprocessor"></span>
00039 <span class="preprocessor">#ifndef __PANGO_FONT_H__</span>
00040 <span class="preprocessor"></span><span class="preprocessor">#include &lt;pango/pango-font.h&gt;</span>
00041 <span class="preprocessor">#endif</span>
00042 <span class="preprocessor"></span>
00043 <span class="preprocessor">#ifndef _CPP_VECTOR</span>
00044 <span class="preprocessor"></span><span class="preprocessor">#include &lt;vector&gt;</span>
00045 <span class="preprocessor">#endif</span>
00046 <span class="preprocessor"></span>
00047 <span class="keyword">namespace </span>GFC {
00048 
00049 <span class="keyword">namespace </span>Pango {
00050 
00051 <span class="keyword">class </span>Coverage;
00052 
00055 
<a name="l00056"></a><a class="code" href="namespaceGFC_1_1Pango.html#a136">00056</a> <span class="keyword">enum</span> <a class="code" href="namespaceGFC_1_1Pango.html#a136">Style</a>
00057 {
00058         <a class="code" href="namespaceGFC_1_1Pango.html#a136a27">STYLE_NORMAL</a> = PANGO_STYLE_NORMAL, 
00059         <a class="code" href="namespaceGFC_1_1Pango.html#a136a28">STYLE_OBLIQUE</a> = PANGO_STYLE_OBLIQUE, 
00060         <a class="code" href="namespaceGFC_1_1Pango.html#a136a29">STYLE_ITALIC</a> = PANGO_STYLE_ITALIC 
00061 };
00062 
00065 
<a name="l00066"></a><a class="code" href="namespaceGFC_1_1Pango.html#a137">00066</a> <span class="keyword">enum</span> <a class="code" href="namespaceGFC_1_1Pango.html#a137">Variant</a>
00067 {
00068         <a class="code" href="namespaceGFC_1_1Pango.html#a137a30">VARIANT_NORMAL</a> = PANGO_VARIANT_NORMAL,
00070 
00071         <a class="code" href="namespaceGFC_1_1Pango.html#a137a31">VARIANT_SMALL_CAPS</a> = PANGO_VARIANT_SMALL_CAPS
00073 };
00074 
00078 
<a name="l00079"></a><a class="code" href="namespaceGFC_1_1Pango.html#a138">00079</a> <span class="keyword">enum</span> <a class="code" href="namespaceGFC_1_1Pango.html#a138">Weight</a>
00080 {
00081         <a class="code" href="namespaceGFC_1_1Pango.html#a138a32">WEIGHT_ULTALIGHT</a> = PANGO_WEIGHT_ULTRALIGHT, 
00082         <a class="code" href="namespaceGFC_1_1Pango.html#a138a33">WEIGHT_LIGHT</a> = PANGO_WEIGHT_LIGHT, 
00083         <a class="code" href="namespaceGFC_1_1Pango.html#a138a34">WEIGHT_NORMAL</a> = PANGO_WEIGHT_NORMAL, 
00084         <a class="code" href="namespaceGFC_1_1Pango.html#a138a35">WEIGHT_BOLD</a> = PANGO_WEIGHT_BOLD, 
00085         <a class="code" href="namespaceGFC_1_1Pango.html#a138a36">WEIGHT_ULTRABOLD</a> = PANGO_WEIGHT_ULTRABOLD, 
00086         <a class="code" href="namespaceGFC_1_1Pango.html#a138a37">WEIGHT_HEAVY</a> = PANGO_WEIGHT_HEAVY 
00087 };
00088 
00091 
<a name="l00092"></a><a class="code" href="namespaceGFC_1_1Pango.html#a139">00092</a> <span class="keyword">enum</span> <a class="code" href="namespaceGFC_1_1Pango.html#a139">Stretch</a>
00093 {
00094         <a class="code" href="namespaceGFC_1_1Pango.html#a139a38">STRETCH_UTLRA_CONDENSED</a> = PANGO_STRETCH_ULTRA_CONDENSED, 
00095         <a class="code" href="namespaceGFC_1_1Pango.html#a139a39">STRETCH_EXTRA_CONDENSED</a> = PANGO_STRETCH_EXTRA_CONDENSED, 
00096         <a class="code" href="namespaceGFC_1_1Pango.html#a139a40">STRETCH_CONDENSED</a> = PANGO_STRETCH_CONDENSED,  
00097         <a class="code" href="namespaceGFC_1_1Pango.html#a139a41">STRETCH_SEMI_CONDENSED</a> = PANGO_STRETCH_SEMI_CONDENSED, 
00098         <a class="code" href="namespaceGFC_1_1Pango.html#a139a42">STRETCH_NORMAL</a> = PANGO_STRETCH_NORMAL, 
00099         <a class="code" href="namespaceGFC_1_1Pango.html#a139a43">STRETCH_SEMI_EXPANDED</a> = PANGO_STRETCH_SEMI_EXPANDED, 
00100         <a class="code" href="namespaceGFC_1_1Pango.html#a139a44">STRETCH_EXPANDED</a> = PANGO_STRETCH_EXPANDED, 
00101         <a class="code" href="namespaceGFC_1_1Pango.html#a139a45">STRETCH_EXTRA_EXPANDED</a> = PANGO_STRETCH_EXTRA_EXPANDED, 
00102         <a class="code" href="namespaceGFC_1_1Pango.html#a139a46">STRETCH_ULTRA_EXPANDED</a> = PANGO_STRETCH_ULTRA_EXPANDED 
00103 };
00104 
00107 
<a name="l00108"></a><a class="code" href="namespaceGFC_1_1Pango.html#a140">00108</a> <span class="keyword">enum</span> <a class="code" href="namespaceGFC_1_1Pango.html#a140">FontMask</a>
00109 {
00110         <a class="code" href="namespaceGFC_1_1Pango.html#a140a47">FONT_MASK_FAMILY</a> = PANGO_FONT_MASK_FAMILY, 
00111         <a class="code" href="namespaceGFC_1_1Pango.html#a140a48">FONT_MASK_STYLE</a> = PANGO_FONT_MASK_STYLE, 
00112         <a class="code" href="namespaceGFC_1_1Pango.html#a140a49">FONT_MASK_VARIANT</a> = PANGO_FONT_MASK_VARIANT, 
00113         <a class="code" href="namespaceGFC_1_1Pango.html#a140a50">FONT_MASK_WEIGHT</a> = PANGO_FONT_MASK_WEIGHT, 
00114         <a class="code" href="namespaceGFC_1_1Pango.html#a140a51">FONT_MASK_STRETCH</a> = PANGO_FONT_MASK_STRETCH, 
00115         <a class="code" href="namespaceGFC_1_1Pango.html#a140a52">FONT_MASK_SIZE</a> = PANGO_FONT_MASK_SIZE 
00116 };
00117 
00119 
<a name="l00120"></a><a class="code" href="namespaceGFC_1_1Pango.html#a26">00120</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="namespaceGFC_1_1Pango.html#a26">FontMaskField</a>;
00121 
00128 
<a name="l00129"></a><a class="code" href="classGFC_1_1Pango_1_1FontDescription.html">00129</a> <span class="keyword">class </span><a class="code" href="classGFC_1_1Pango_1_1FontDescription.html">FontDescription</a> : <span class="keyword">public</span> G::Boxed
00130 {
00131 <span class="keyword">public</span>:
00134 
00135         <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1154_0">FontDescription</a>();
00137 
00138         <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1154_0">FontDescription</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a>&amp; desc);
00145 
00146         <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1154_0">FontDescription</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a>&amp; family, <span class="keywordtype">int</span> size, <a class="code" href="namespaceGFC_1_1Pango.html#a136">Style</a> style = <a class="code" href="namespaceGFC_1_1Pango.html#a136a27">STYLE_NORMAL</a>, <a class="code" href="namespaceGFC_1_1Pango.html#a138">Weight</a> weight = <a class="code" href="namespaceGFC_1_1Pango.html#a138a34">WEIGHT_NORMAL</a>);
00152 
00153         <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1154_0">FontDescription</a>(PangoFontDescription *desc);
00161 
00162         <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1154_0">FontDescription</a>(PangoFontDescription *desc, <span class="keywordtype">bool</span> copy);
00174 
00175         <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1154_0">FontDescription</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html">FontDescription</a>&amp; src);
00178 
00179         <span class="keyword">virtual</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1154_6">~FontDescription</a>();
00181 
00182         <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html">FontDescription</a>&amp; <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1154_7">operator=</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html">FontDescription</a>&amp; src);
00185 
00189 
00190         PangoFontDescription* <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1155_0">pango_font_description</a>() <span class="keyword">const</span>;
00192 
00193         <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1155_1">operator PangoFontDescription* </a>() <span class="keyword">const</span>;
00195 
00196         <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1155_2">get_family</a>() <span class="keyword">const</span>;
00199 
00200         <a class="code" href="namespaceGFC_1_1Pango.html#a136">Style</a> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1155_3">get_style</a>() <span class="keyword">const</span>;
00205 
00206         <a class="code" href="namespaceGFC_1_1Pango.html#a137">Variant</a> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1155_4">get_variant</a>() <span class="keyword">const</span>;
00211 
00212         <a class="code" href="namespaceGFC_1_1Pango.html#a138">Weight</a> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1155_5">get_weight</a>() <span class="keyword">const</span>;
00217 
00218         <a class="code" href="namespaceGFC_1_1Pango.html#a139">Stretch</a> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1155_6">get_stretch</a>() <span class="keyword">const</span>;
00223 
00224         <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1155_7">get_size</a>() <span class="keyword">const</span>;
00231 
00232         <a class="code" href="namespaceGFC_1_1Pango.html#a26">FontMaskField</a> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1155_8">get_set_fields</a>() <span class="keyword">const</span>;
00235 
00236         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1155_9">equal</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html">FontDescription</a>&amp; other) <span class="keyword">const</span>;
00242 
00243         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1155_10">operator==</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html">FontDescription</a>&amp; other) <span class="keyword">const</span>;
00249 
00250         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1155_11">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html">FontDescription</a>&amp; other) <span class="keyword">const</span>;
00256 
00260 
00261         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1156_0">hash</a>() <span class="keyword">const</span>;
00265 
00266         <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1156_1">to_string</a>() <span class="keyword">const</span>;
00278 
00279         <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1156_2">to_filename</a>() <span class="keyword">const</span>;
00285 
00286         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1156_4">set_family</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *family);
00287         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1156_4">set_family</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a>&amp; family);
00294 
00295         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1156_5">set_style</a>(<a class="code" href="namespaceGFC_1_1Pango.html#a136">Style</a> style);
00304 
00305         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1156_6">set_variant</a>(<a class="code" href="namespaceGFC_1_1Pango.html#a137">Variant</a> variant);
00310 
00311         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1156_7">set_weight</a>(<a class="code" href="namespaceGFC_1_1Pango.html#a138">Weight</a> weight);
00317 
00318         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1156_8">set_stretch</a>(<a class="code" href="namespaceGFC_1_1Pango.html#a139">Stretch</a> stretch);
00323         
00324         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1156_9">set_size</a>(<span class="keywordtype">int</span> size);
00330 
00331         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1156_10">unset_fields</a>(<a class="code" href="namespaceGFC_1_1Pango.html#a26">FontMaskField</a> to_unset);
00337         
00338         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1156_11">merge</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html">FontDescription</a>&amp; desc_to_merge, <span class="keywordtype">bool</span> replace_existing);
00346 
00347         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html#z1156_12">better_match</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html">FontDescription</a>&amp; new_match, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html">FontDescription</a> *old_match = 0) <span class="keyword">const</span>;
00355 
00357 };
00358 
00363 
<a name="l00364"></a><a class="code" href="classGFC_1_1Pango_1_1FontMetrics.html">00364</a> <span class="keyword">class </span><a class="code" href="classGFC_1_1Pango_1_1FontMetrics.html">FontMetrics</a> : <span class="keyword">public</span> G::Boxed
00365 {
00366 <span class="keyword">public</span>:
00369 
00370         <span class="keyword">explicit</span> <a class="code" href="classGFC_1_1Pango_1_1FontMetrics.html#z1157_0">FontMetrics</a>(PangoFontMetrics *metrics);
00378 
00379         <a class="code" href="classGFC_1_1Pango_1_1FontMetrics.html#z1157_0">FontMetrics</a>(PangoFontMetrics *metrics, <span class="keywordtype">bool</span> copy);
00391 
00392         <a class="code" href="classGFC_1_1Pango_1_1FontMetrics.html#z1157_0">FontMetrics</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1FontMetrics.html">FontMetrics</a>&amp; src);
00395 
00396         <span class="keyword">virtual</span> <a class="code" href="classGFC_1_1Pango_1_1FontMetrics.html#z1157_3">~FontMetrics</a>();
00398 
00399         <a class="code" href="classGFC_1_1Pango_1_1FontMetrics.html">FontMetrics</a>&amp; <a class="code" href="classGFC_1_1Pango_1_1FontMetrics.html#z1157_4">operator=</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1FontMetrics.html">FontMetrics</a>&amp; src);
00402 
00406 
00407         PangoFontMetrics* <a class="code" href="classGFC_1_1Pango_1_1FontMetrics.html#z1158_0">pango_font_metrics</a>() <span class="keyword">const</span>;
00409 
00410         <a class="code" href="classGFC_1_1Pango_1_1FontMetrics.html#z1158_1">operator PangoFontMetrics* </a>() <span class="keyword">const</span>;
00412 
00413         <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Pango_1_1FontMetrics.html#z1158_2">get_ascent</a>() <span class="keyword">const</span>;
00420 
00421         <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Pango_1_1FontMetrics.html#z1158_3">get_descent</a>() <span class="keyword">const</span>;
00428 
00429         <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Pango_1_1FontMetrics.html#z1158_4">get_approximate_char_width</a>() <span class="keyword">const</span>;
00435 
00436         <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Pango_1_1FontMetrics.html#z1158_5">get_approximate_digit_width</a>() <span class="keyword">const</span>;
00442 
00444 };
00445 
00451 
<a name="l00452"></a><a class="code" href="classGFC_1_1Pango_1_1FontFace.html">00452</a> <span class="keyword">class </span><a class="code" href="classGFC_1_1Pango_1_1FontFace.html">FontFace</a> : <span class="keyword">public</span> G::<a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Object.html">Object</a>
00453 {
00454         <span class="keyword">friend</span> <span class="keyword">class </span><a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html">G::Object</a>;
00455 
00456         <a class="code" href="classGFC_1_1Pango_1_1FontFace.html#z1159_0">FontFace</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1FontFace.html">FontFace</a>&amp;);
00457         <a class="code" href="classGFC_1_1Pango_1_1FontFace.html">FontFace</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1FontFace.html">FontFace</a>&amp;);
00458         
00459 <span class="keyword">protected</span>:
00462         
00463         <span class="keyword">explicit</span> <a class="code" href="classGFC_1_1Pango_1_1FontFace.html#z1159_0">FontFace</a>(PangoFontFace *face, <span class="keywordtype">bool</span> owns_reference = <span class="keyword">true</span>);
00470 
00472 
00473 <span class="keyword">public</span>:
00476         
00477         <span class="keyword">virtual</span> <a class="code" href="classGFC_1_1Pango_1_1FontFace.html#z1160_0">~FontFace</a>();
00479 
00483         
00484         PangoFontFace* <a class="code" href="classGFC_1_1Pango_1_1FontFace.html#z1161_0">pango_font_face</a>() <span class="keyword">const</span>;
00486 
00487         <a class="code" href="classGFC_1_1Pango_1_1FontFace.html#z1161_1">operator PangoFontFace* </a>() <span class="keyword">const</span>;
00489 
00490         <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer&lt;FontDescription&gt;</a> <a class="code" href="classGFC_1_1Pango_1_1FontFace.html#z1161_2">describe</a>() <span class="keyword">const</span>;
00495         
00496         <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> <a class="code" href="classGFC_1_1Pango_1_1FontFace.html#z1161_3">get_face_name</a>() <span class="keyword">const</span>;
00502         
00506 
00507         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1FontFace.html#z1162_0">list_sizes</a>(std::vector&lt;int&gt;&amp; sizes) <span class="keyword">const</span>;
00515         
00517 };
00518 
00525 
<a name="l00526"></a><a class="code" href="classGFC_1_1Pango_1_1FontFamily.html">00526</a> <span class="keyword">class </span><a class="code" href="classGFC_1_1Pango_1_1FontFamily.html">FontFamily</a> : <span class="keyword">public</span> G::<a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Object.html">Object</a>
00527 {
00528         <span class="keyword">friend</span> <span class="keyword">class </span><a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html">G::Object</a>;
00529 
00530         <a class="code" href="classGFC_1_1Pango_1_1FontFamily.html#z1163_0">FontFamily</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1FontFamily.html">FontFamily</a>&amp;);
00531         <a class="code" href="classGFC_1_1Pango_1_1FontFamily.html">FontFamily</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1FontFamily.html">FontFamily</a>&amp;);
00532         
00533 <span class="keyword">protected</span>:
00536 
00537         <span class="keyword">explicit</span> <a class="code" href="classGFC_1_1Pango_1_1FontFamily.html#z1163_0">FontFamily</a>(PangoFontFamily *family, <span class="keywordtype">bool</span> owns_reference = <span class="keyword">true</span>);
00544 
00546 
00547 <span class="keyword">public</span>:
00550 
00551         <span class="keyword">virtual</span> <a class="code" href="classGFC_1_1Pango_1_1FontFamily.html#z1164_0">~FontFamily</a>();
00553 
00557 
00558         PangoFontFamily* <a class="code" href="classGFC_1_1Pango_1_1FontFamily.html#z1165_0">pango_font_family</a>() <span class="keyword">const</span>;
00560 
00561         <a class="code" href="classGFC_1_1Pango_1_1FontFamily.html#z1165_1">operator PangoFontFamily* </a>() <span class="keyword">const</span>;
00563 
00564         <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> <a class="code" href="classGFC_1_1Pango_1_1FontFamily.html#z1165_2">get_name</a>() <span class="keyword">const</span>;
00570 
00571         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1FontFamily.html#z1165_3">is_monospace</a>() <span class="keyword">const</span>;
00584 
00588         
00589         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1FontFamily.html#z1166_0">list_faces</a>(std::vector&lt;FontFace*&gt;&amp; faces) <span class="keyword">const</span>;
00596 
00598 };
00599 
00604 
<a name="l00605"></a><a class="code" href="classGFC_1_1Pango_1_1Font.html">00605</a> <span class="keyword">class </span><a class="code" href="classGFC_1_1Pango_1_1Font.html">Font</a> : <span class="keyword">public</span> G::<a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Object.html">Object</a>
00606 {
00607         <span class="keyword">friend</span> <span class="keyword">class </span><a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html">G::Object</a>;
00608 
00609         <a class="code" href="classGFC_1_1Pango_1_1Font.html#z1167_0">Font</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1Font.html">Font</a>&amp;);
00610         <a class="code" href="classGFC_1_1Pango_1_1Font.html">Font</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1Font.html">Font</a>&amp;);
00611         
00612 <span class="keyword">protected</span>:
00615         
00616         <span class="keyword">explicit</span> <a class="code" href="classGFC_1_1Pango_1_1Font.html#z1167_0">Font</a>(PangoFont *font, <span class="keywordtype">bool</span> owns_reference = <span class="keyword">true</span>);
00623 
00625 
00626 <span class="keyword">public</span>:
00629         
00630         <span class="keyword">virtual</span> <a class="code" href="classGFC_1_1Pango_1_1Font.html#z1168_0">~Font</a>();
00632         
00636 
00637         PangoFont* <a class="code" href="classGFC_1_1Pango_1_1Font.html#z1169_0">pango_font</a>() <span class="keyword">const</span>;
00639 
00640         <a class="code" href="classGFC_1_1Pango_1_1Font.html#z1169_1">operator PangoFont* </a>() <span class="keyword">const</span> ;
00642 
00643         <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer&lt;FontDescription&gt;</a> <a class="code" href="classGFC_1_1Pango_1_1Font.html#z1169_2">describe</a>() <span class="keyword">const</span>;
00646 
00647         <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer&lt;Coverage&gt;</a> <a class="code" href="classGFC_1_1Pango_1_1Font.html#z1169_3">get_coverage</a>(PangoLanguage *language) <span class="keyword">const</span>;
00651 
00652         <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer&lt;FontMetrics&gt;</a> <a class="code" href="classGFC_1_1Pango_1_1Font.html#z1169_4">get_metrics</a>(PangoLanguage *language = 0) <span class="keyword">const</span>;
00661 
00662         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Font.html#z1169_5">get_glyph_extents</a>(<a class="code" href="namespaceGFC_1_1Pango.html#a116">Glyph</a> glyph, <a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *ink_rect, <a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *logical_rect) <span class="keyword">const</span>;
00676 
00680 
00681         PangoEngineShape* <a class="code" href="classGFC_1_1Pango_1_1Font.html#z1170_0">find_shaper</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> character_code, PangoLanguage *language);
00686 
00688 };
00689 
00690 } <span class="comment">// namespace Pango</span>
00691 
00692 } <span class="comment">// namespace GFC</span>
00693 
00694 <span class="preprocessor">#include &lt;gfc/pango/inline/font.inl&gt;</span>
00695 
00696 <span class="preprocessor">#endif // GFC_PANGO_FONT_HH</span>
00697 <span class="preprocessor"></span>
</div></pre><hr size="1"><address style="align: right;"><small>Generated on Tue Aug 24 00:34:31 2004 for GFC-UI by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
</body>
</html>