1
|
1 |
"{ Package: 'stx:goodies/libcairo' }"
|
|
2 |
|
|
3 |
"{ NameSpace: Cairo }"
|
|
4 |
|
|
5 |
ExternalStructure subclass:#FontOptions
|
|
6 |
instanceVariableNames:''
|
|
7 |
classVariableNames:''
|
|
8 |
poolDictionaries:''
|
|
9 |
category:'Cairo - C Types'
|
|
10 |
!
|
|
11 |
|
5
|
12 |
|
1
|
13 |
!FontOptions class methodsFor:'accessing'!
|
|
14 |
|
|
15 |
libraryName
|
|
16 |
|
|
17 |
OperatingSystem isUNIXlike ifTrue:[^'libcairo.so'].
|
|
18 |
|
|
19 |
OperatingSystem isMSWINDOWSlike ifTrue:[^'cairo.dll'].
|
|
20 |
|
|
21 |
self error:'Library name for host OS is not known'
|
|
22 |
|
3
|
23 |
"Modified: / 10-07-2008 / 23:05:54 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
24 |
! !
|
|
25 |
|
|
26 |
!FontOptions class methodsFor:'primitives'!
|
|
27 |
|
|
28 |
primCopy: original
|
|
29 |
|
|
30 |
<cdecl: Cairo::FontOptions "cairo_font_options_copy" ( Cairo::FontOptions ) >
|
|
31 |
self primitiveFailed
|
|
32 |
|
3
|
33 |
"Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
34 |
!
|
|
35 |
|
|
36 |
primDestroy: options
|
|
37 |
|
|
38 |
<cdecl: void "cairo_font_options_destroy" ( Cairo::FontOptions ) >
|
|
39 |
self primitiveFailed
|
|
40 |
|
3
|
41 |
"Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
42 |
!
|
|
43 |
|
|
44 |
primEqual: options other: other
|
|
45 |
|
|
46 |
<cdecl: int32 "cairo_font_options_equal" ( Cairo::FontOptions Cairo::FontOptions ) >
|
|
47 |
self primitiveFailed
|
|
48 |
|
3
|
49 |
"Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
50 |
!
|
|
51 |
|
|
52 |
primFontOptionsCreate
|
|
53 |
|
|
54 |
<cdecl: Cairo::FontOptions "cairo_font_options_create" ( ) >
|
|
55 |
self primitiveFailed
|
|
56 |
|
3
|
57 |
"Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
|
58 |
!
|
|
59 |
|
|
60 |
primFtFontOptionsSubstitute: options pattern: pattern
|
|
61 |
|
|
62 |
<cdecl: void "cairo_ft_font_options_substitute" ( Cairo::FontOptions pointer ) >
|
|
63 |
self primitiveFailed
|
|
64 |
|
|
65 |
"Created: / 10-07-2008 / 23:05:54 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
66 |
!
|
|
67 |
|
|
68 |
primGetAntialias: options
|
|
69 |
|
|
70 |
<cdecl: int32 "cairo_font_options_get_antialias" ( Cairo::FontOptions ) >
|
|
71 |
self primitiveFailed
|
|
72 |
|
3
|
73 |
"Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
74 |
!
|
|
75 |
|
|
76 |
primGetHintMetrics: options
|
|
77 |
|
|
78 |
<cdecl: int32 "cairo_font_options_get_hint_metrics" ( Cairo::FontOptions ) >
|
|
79 |
self primitiveFailed
|
|
80 |
|
3
|
81 |
"Modified: / 10-07-2008 / 23:05:54 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
82 |
!
|
|
83 |
|
|
84 |
primGetHintStyle: options
|
|
85 |
|
|
86 |
<cdecl: int32 "cairo_font_options_get_hint_style" ( Cairo::FontOptions ) >
|
|
87 |
self primitiveFailed
|
|
88 |
|
3
|
89 |
"Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
90 |
!
|
|
91 |
|
|
92 |
primGetSubpixelOrder: options
|
|
93 |
|
|
94 |
<cdecl: int32 "cairo_font_options_get_subpixel_order" ( Cairo::FontOptions ) >
|
|
95 |
self primitiveFailed
|
|
96 |
|
3
|
97 |
"Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
98 |
!
|
|
99 |
|
|
100 |
primHash: options
|
|
101 |
|
|
102 |
<cdecl: int32 "cairo_font_options_hash" ( Cairo::FontOptions ) >
|
|
103 |
self primitiveFailed
|
|
104 |
|
3
|
105 |
"Modified: / 10-07-2008 / 23:05:54 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
106 |
!
|
|
107 |
|
|
108 |
primMerge: options other: other
|
|
109 |
|
|
110 |
<cdecl: void "cairo_font_options_merge" ( Cairo::FontOptions Cairo::FontOptions ) >
|
|
111 |
self primitiveFailed
|
|
112 |
|
3
|
113 |
"Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
114 |
!
|
|
115 |
|
|
116 |
primSetAntialias: options antialias: antialias
|
|
117 |
|
|
118 |
<cdecl: void "cairo_font_options_set_antialias" ( Cairo::FontOptions int32 ) >
|
|
119 |
self primitiveFailed
|
|
120 |
|
3
|
121 |
"Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
122 |
!
|
|
123 |
|
|
124 |
primSetHintMetrics: options hintMetrics: hint_metrics
|
|
125 |
|
|
126 |
<cdecl: void "cairo_font_options_set_hint_metrics" ( Cairo::FontOptions int32 ) >
|
|
127 |
self primitiveFailed
|
|
128 |
|
3
|
129 |
"Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
130 |
!
|
|
131 |
|
|
132 |
primSetHintStyle: options hintStyle: hint_style
|
|
133 |
|
|
134 |
<cdecl: void "cairo_font_options_set_hint_style" ( Cairo::FontOptions int32 ) >
|
|
135 |
self primitiveFailed
|
|
136 |
|
3
|
137 |
"Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
138 |
!
|
|
139 |
|
|
140 |
primSetSubpixelOrder: options subpixelOrder: subpixel_order
|
|
141 |
|
|
142 |
<cdecl: void "cairo_font_options_set_subpixel_order" ( Cairo::FontOptions int32 ) >
|
|
143 |
self primitiveFailed
|
|
144 |
|
3
|
145 |
"Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
146 |
!
|
|
147 |
|
|
148 |
primStatus: options
|
|
149 |
|
|
150 |
<cdecl: int32 "cairo_font_options_status" ( Cairo::FontOptions ) >
|
|
151 |
self primitiveFailed
|
|
152 |
|
3
|
153 |
"Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
154 |
! !
|
|
155 |
|
5
|
156 |
!FontOptions class methodsFor:'documentation'!
|
|
157 |
|
|
158 |
version
|
|
159 |
^'$Id$'
|
|
160 |
! !
|