File: structMDrawGlyph.html

package info (click to toggle)
m17n-docs 1.2.0-3
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k
  • size: 14,772 kB
  • ctags: 1,682
  • sloc: sh: 7,026; makefile: 294
file content (431 lines) | stat: -rw-r--r-- 14,626 bytes parent folder | download | duplicates (2)
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
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2004
  National Institute of Advanced Industrial Science and Technology (AIST)
This file is part of the m17n library documentation.
See the end for copying conditions.
-->
<html><head><meta http-equiv="Content-Type" content="text/html;charset="UTF-8">
<title>The m17n Library</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>

<body bgcolor="#ffffff">

<a name="top-of-page"></a>

<hr><center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; 
<a class="qindex" href="modules.html">Modules</a> &nbsp; 
<!-- <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; -->
<a class="qindex" href="annotated.html">Data Structures</a> &nbsp; 
<!-- <a class="qindex" href="files.html">File List</a> &nbsp;  -->
<!-- <a class="qindex" href="functions.html">Data Fields</a> &nbsp; -->
<a class="qindex" href="globals.html">Globals</a> &nbsp; 
<a class="qindex" href="pages.html">Appendix</a> &nbsp; 
</center>

<hr>
<!-- Generated by Doxygen 1.3.9.1 -->
<h1>MDrawGlyph Struct Reference<br>
<small>
[<a class="el" href="group__m17nDraw.html">Drawing</a>]</small>
</h1>Type of information about a glyph metric and font.  
<a href="#_details">More...</a>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMDrawGlyph.html#o0">from</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMDrawGlyph.html#o1">to</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMDrawGlyph.html#o2">glyph_code</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMDrawGlyph.html#o3">x_advance</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMDrawGlyph.html#o4">y_advance</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMDrawGlyph.html#o5">x_off</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMDrawGlyph.html#o6">y_off</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMDrawGlyph.html#o7">lbearing</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMDrawGlyph.html#o8">rbearing</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMDrawGlyph.html#o9">ascent</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMDrawGlyph.html#o10">descent</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__m17nFont.html#ga0">MFont</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMDrawGlyph.html#o11">font</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__m17nSymbol.html#ga0">MSymbol</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMDrawGlyph.html#o12">font_type</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMDrawGlyph.html#o13">fontp</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The type <a class="el" href="structMDrawGlyph.html">MDrawGlyph</a> is the structure that contains information about a glyph metric and font. It is used by the function <a class="el" href="group__m17nDraw.html#ga9">mdraw_glyph_list()</a>. 
<p>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="o0" doxytag="MDrawGlyph::from"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structMDrawGlyph.html#o0">MDrawGlyph::from</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Character range corresponding to the glyph.     </td>
  </tr>
</table>
<a class="anchor" name="o1" doxytag="MDrawGlyph::to"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structMDrawGlyph.html#o1">MDrawGlyph::to</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Character range corresponding to the glyph.     </td>
  </tr>
</table>
<a class="anchor" name="o2" doxytag="MDrawGlyph::glyph_code"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structMDrawGlyph.html#o2">MDrawGlyph::glyph_code</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Font glyph code of the glyph.     </td>
  </tr>
</table>
<a class="anchor" name="o3" doxytag="MDrawGlyph::x_advance"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structMDrawGlyph.html#o3">MDrawGlyph::x_advance</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Logical width of the glyph. Nominal distance to the next glyph.     </td>
  </tr>
</table>
<a class="anchor" name="o4" doxytag="MDrawGlyph::y_advance"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structMDrawGlyph.html#o4">MDrawGlyph::y_advance</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Logical width of the glyph. Nominal distance to the next glyph.     </td>
  </tr>
</table>
<a class="anchor" name="o5" doxytag="MDrawGlyph::x_off"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structMDrawGlyph.html#o5">MDrawGlyph::x_off</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
X/Y offset relative to the glyph position.     </td>
  </tr>
</table>
<a class="anchor" name="o6" doxytag="MDrawGlyph::y_off"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structMDrawGlyph.html#o6">MDrawGlyph::y_off</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
X/Y offset relative to the glyph position.     </td>
  </tr>
</table>
<a class="anchor" name="o7" doxytag="MDrawGlyph::lbearing"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structMDrawGlyph.html#o7">MDrawGlyph::lbearing</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Metric of the glyph.     </td>
  </tr>
</table>
<a class="anchor" name="o8" doxytag="MDrawGlyph::rbearing"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structMDrawGlyph.html#o8">MDrawGlyph::rbearing</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Metric of the glyph.     </td>
  </tr>
</table>
<a class="anchor" name="o9" doxytag="MDrawGlyph::ascent"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structMDrawGlyph.html#o9">MDrawGlyph::ascent</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Metric of the glyph.     </td>
  </tr>
</table>
<a class="anchor" name="o10" doxytag="MDrawGlyph::descent"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structMDrawGlyph.html#o10">MDrawGlyph::descent</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Metric of the glyph.     </td>
  </tr>
</table>
<a class="anchor" name="o11" doxytag="MDrawGlyph::font"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="group__m17nFont.html#ga0">MFont</a>* <a class="el" href="structMDrawGlyph.html#o11">MDrawGlyph::font</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Font used for the glyph. Set to NULL if no font is found for the glyph.     </td>
  </tr>
</table>
<a class="anchor" name="o12" doxytag="MDrawGlyph::font_type"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="group__m17nSymbol.html#ga0">MSymbol</a> <a class="el" href="structMDrawGlyph.html#o12">MDrawGlyph::font_type</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Type of the font. One of Mx, Mfreetype, Mxft.     </td>
  </tr>
</table>
<a class="anchor" name="o13" doxytag="MDrawGlyph::fontp"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void* <a class="el" href="structMDrawGlyph.html#o13">MDrawGlyph::fontp</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Pointer to the font structure. The actual type is (XFontStruct *) if &lt;font_type&gt; member is Mx, FT_Face if &lt;font_type&gt; member is Mfreetype, and (XftFont *) if &lt;font_type&gt; member is Mxft.     </td>
  </tr>
</table>
<hr>
<center>
<a href="#top-of-page">Top of this page</a><br><br>

<a class="qindex" href="index.html">Main Page</a> &nbsp; 
<a class="qindex" href="modules.html">Modules</a> &nbsp; 
<!-- <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; -->
<a class="qindex" href="annotated.html">Data Structures</a> &nbsp; 
<!-- <a class="qindex" href="files.html">File List</a> &nbsp;  -->
<!-- <a class="qindex" href="functions.html">Data Fields</a> &nbsp; -->
<a class="qindex" href="globals.html">Globals</a> &nbsp; 
<a class="qindex" href="pages.html">Appendix</a> &nbsp; 
</center>
<hr>
<ADDRESS>
<a href="http://www.m17n.org/m17n-lib/index.html" target="mulewindow"><img src="parrot.png" align=bottom alt="mulemark" border=0></a>
<A HREF="mailto:mule-aist@m17n.org">mule-aist@m17n.org</a>

</ADDRESS>
</body>
</HTML>

<!-- Copyright information

Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2004
  National Institute of Advanced Industrial Science and Technology (AIST)

This file is part of the m17n library documentation.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no
Invariant Section, Front-Cover Texts "The m17n library documentation",
and no Back-Cover Texts.  A copy of the license is included in the
appendix entitled "GNU Free Documentation License".
-->