4349 |
Serge |
1 |
|
|
|
2 |
"http://www.w3.org/TR/html4/loose.dtd"> |
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
FreeType-2.5.0 API Reference |
|
|
7 |
|
|
|
8 |
body { font-family: Verdana, Geneva, Arial, Helvetica, serif; |
|
|
9 |
color: #000000; |
|
|
10 |
background: #FFFFFF; } |
|
|
11 |
|
|
|
12 |
p { text-align: justify; } |
|
|
13 |
h1 { text-align: center; } |
|
|
14 |
li { text-align: justify; } |
|
|
15 |
td { padding: 0 0.5em 0 0.5em; } |
|
|
16 |
td.left { padding: 0 0.5em 0 0.5em; |
|
|
17 |
text-align: left; } |
|
|
18 |
|
|
|
19 |
a:link { color: #0000EF; } |
|
|
20 |
a:visited { color: #51188E; } |
|
|
21 |
a:hover { color: #FF0000; } |
|
|
22 |
|
|
|
23 |
span.keyword { font-family: monospace; |
|
|
24 |
text-align: left; |
|
|
25 |
white-space: pre; |
|
|
26 |
color: darkblue; } |
|
|
27 |
|
|
|
28 |
pre.colored { color: blue; } |
|
|
29 |
|
|
|
30 |
ul.empty { list-style-type: none; } |
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
38 |
FreeType-2.5.0 API Reference
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
List Processing |
|
|
42 |
|
|
|
43 |
Synopsis
|
|
|
44 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
This section contains various definitions related to list processing using doubly-linked nodes.
|
|
|
54 |
|
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
Defined in FT_TYPES_H (freetype/fttypes.h). |
|
|
59 |
|
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
typedef struct FT_ListRec_* FT_List; |
|
|
63 |
|
|
|
64 |
|
|
|
|
65 |
|
|
|
68 |
|
|
|
|
69 |
|
|
|
70 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
Defined in FT_TYPES_H (freetype/fttypes.h). |
|
|
78 |
|
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
typedef struct FT_ListNodeRec_* FT_ListNode; |
|
|
82 |
|
|
|
83 |
|
|
|
|
84 |
|
|
|
85 |
Many elements and objects in FreeType are listed through an FT_List record (see FT_ListRec). As its name suggests, an FT_ListNode is a handle to a single list element.
|
|
|
86 |
|
|
|
|
87 |
|
|
|
|
88 |
|
|
|
89 |
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
|
|
|
95 |
|
|
|
96 |
Defined in FT_TYPES_H (freetype/fttypes.h). |
|
|
97 |
|
|
|
|
98 |
|
|
|
108 |
|
|
|
109 |
A structure used to hold a simple doubly-linked list. These are used in many parts of FreeType.
|
|
|
110 |
|
|
|
|
111 |
fields | |
|
|
112 |
|
|
|
113 |
|
|
114 |
head | |
|
|
115 |
The head (first element) of doubly-linked list.
|
|
|
116 |
|
|
|
|
117 |
tail | |
|
|
118 |
The tail (last element) of doubly-linked list.
|
|
|
119 |
|
|
|
|
120 |
| |
|
|
121 |
|
|
|
|
122 |
|
|
|
|
123 |
|
|
|
124 |
|
|
|
127 |
|
|
|
128 |
|
|
|
162 |
|
|
|
163 |
|
|
|
166 |
|
|
|
167 |
|
|
|
197 |
|
|
|
198 |
|
|
|
201 |
|
|
|
202 |
|
|
|
229 |
|
|
|
230 |
|
|
|
233 |
|
|
|
234 |
|
|
|
261 |
|
|
|
262 |
|
|
|
265 |
|
|
|
266 |
|
|
|
267 |
|
|
|
268 |
|
|
|
269 |
Defined in FT_LIST_H (freetype/ftlist.h). |
|
|
270 |
|
|
|
|
271 |
|
|
|
278 |
|
|
|
279 |
Remove a node from a list. This function doesn't check whether the node is in the list!
|
|
|
280 |
|
|
|
|
281 |
|
|
|
289 |
|
|
|
297 |
|
|
|
|
298 |
|
|
|
299 |
|
|
|
302 |
|
|
|
303 |
|
|
|
330 |
|
|
|
331 |
|
|
|
334 |
|
|
|
335 |
|
|
|
362 |
|
|
|
363 |
|
|
|
366 |
|
|
|
367 |
|
|
|
368 |
|
|
|
369 |
|
|
|
370 |
Defined in FT_LIST_H (freetype/ftlist.h). |
|
|
371 |
|
|
|
|
372 |
|
|
|
380 |
|
|
|
381 |
Parse a list and calls a given iterator function on each element. Note that parsing is stopped as soon as one of the iterator calls returns a non-zero value.
|
|
|
382 |
|
|
|
|
383 |
input | |
|
|
384 |
|
|
|
385 |
|
|
386 |
list | |
|
|
387 |
A handle to the list.
|
|
|
388 |
|
|
|
|
389 |
iterator | |
|
|
390 |
An iterator function, called on each node of the list.
|
|
|
391 |
|
|
|
|
392 |
user | |
|
|
393 |
A user-supplied field which is passed as the second argument to the iterator.
|
|
|
394 |
|
|
|
|
395 |
| |
|
|
396 |
|
|
|
|
397 |
return | |
|
|
398 |
The result (a FreeType error code) of the last iterator call.
|
|
|
399 |
|
|
|
|
400 |
|
|
|
|
401 |
|
|
|
402 |
|
|
|
405 |
|
|
|
406 |
|
|
|
437 |
|
|
|
438 |
|
|
|
441 |
|
|
|
442 |
|
|
|
443 |
|
|
|
444 |
|
|
|
445 |
Defined in FT_LIST_H (freetype/ftlist.h). |
|
|
446 |
|
|
|
|
447 |
|
|
|
456 |
|
|
|
457 |
Destroy all elements in the list as well as the list itself.
|
|
|
458 |
|
|
|
|
459 |
input | |
|
|
460 |
|
|
|
461 |
|
|
462 |
list | |
|
|
463 |
A handle to the list.
|
|
|
464 |
|
|
|
|
465 |
destroy | |
|
|
466 |
A list destructor that will be applied to each element of the list.
|
|
|
467 |
|
|
|
|
468 |
memory | |
|
|
469 |
The current memory object which handles deallocation.
|
|
|
470 |
|
|
|
|
471 |
user | |
|
|
472 |
A user-supplied field which is passed as the last argument to the destructor.
|
|
|
473 |
|
|
|
|
474 |
| |
|
|
475 |
|
|
|
|
476 |
|
|
|
479 |
|
|
|
|
480 |
|
|
|
481 |
|
|
|
484 |
|
|
|
485 |
|
|
|
486 |
|
!DOCTYPE>