17 OperatingSystem isUNIXlike ifTrue:[^'libcairo.so.2']. |
17 OperatingSystem isUNIXlike ifTrue:[^'libcairo.so.2']. |
18 |
18 |
19 OperatingSystem isMSWINDOWSlike ifTrue:[^'cairo.dll']. |
19 OperatingSystem isMSWINDOWSlike ifTrue:[^'cairo.dll']. |
20 |
20 |
21 self error:'Library name for host OS is not known' |
21 self error:'Library name for host OS is not known' |
22 |
|
23 "Modified: / 10-09-2008 / 18:19:53 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
24 ! |
22 ! |
25 |
23 |
26 structSize |
24 structSize |
27 |
25 |
28 ^0 |
26 ^0 |
29 |
|
30 "Modified: / 10-09-2008 / 18:19:53 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
31 ! ! |
27 ! ! |
32 |
28 |
33 !FontOptions class methodsFor:'primitives'! |
29 !FontOptions class methodsFor:'primitives'! |
34 |
30 |
35 primCopy: original |
31 primCopy: original |
54 self primitiveFailed |
50 self primitiveFailed |
55 |
51 |
56 "Modified: / 10-09-2008 / 18:19:55 / Jan Vrany <vranyj1@fel.cvut.cz>" |
52 "Modified: / 10-09-2008 / 18:19:55 / Jan Vrany <vranyj1@fel.cvut.cz>" |
57 ! |
53 ! |
58 |
54 |
|
55 primFontOptionsCopy: original |
|
56 |
|
57 <cdecl: Cairo::FontOptions "cairo_font_options_copy" ( Cairo::FontOptions ) > |
|
58 self primitiveFailed |
|
59 ! |
|
60 |
59 primFontOptionsCreate |
61 primFontOptionsCreate |
60 |
62 |
61 <cdecl: Cairo::FontOptions "cairo_font_options_create" ( ) > |
63 <cdecl: Cairo::FontOptions "cairo_font_options_create" ( ) > |
62 self primitiveFailed |
64 self primitiveFailed |
63 |
65 ! |
64 "Modified: / 10-09-2008 / 18:19:55 / Jan Vrany <vranyj1@fel.cvut.cz>" |
66 |
|
67 primFontOptionsDestroy: options |
|
68 |
|
69 <cdecl: void "cairo_font_options_destroy" ( Cairo::FontOptions ) > |
|
70 self primitiveFailed |
|
71 ! |
|
72 |
|
73 primFontOptionsEqual: options other: other |
|
74 |
|
75 <cdecl: int32 "cairo_font_options_equal" ( Cairo::FontOptions Cairo::FontOptions ) > |
|
76 self primitiveFailed |
|
77 ! |
|
78 |
|
79 primFontOptionsGetAntialias: options |
|
80 |
|
81 <cdecl: int32 "cairo_font_options_get_antialias" ( Cairo::FontOptions ) > |
|
82 self primitiveFailed |
|
83 ! |
|
84 |
|
85 primFontOptionsGetHintMetrics: options |
|
86 |
|
87 <cdecl: int32 "cairo_font_options_get_hint_metrics" ( Cairo::FontOptions ) > |
|
88 self primitiveFailed |
|
89 ! |
|
90 |
|
91 primFontOptionsGetHintStyle: options |
|
92 |
|
93 <cdecl: int32 "cairo_font_options_get_hint_style" ( Cairo::FontOptions ) > |
|
94 self primitiveFailed |
|
95 ! |
|
96 |
|
97 primFontOptionsGetSubpixelOrder: options |
|
98 |
|
99 <cdecl: int32 "cairo_font_options_get_subpixel_order" ( Cairo::FontOptions ) > |
|
100 self primitiveFailed |
|
101 ! |
|
102 |
|
103 primFontOptionsHash: options |
|
104 |
|
105 <cdecl: long "cairo_font_options_hash" ( Cairo::FontOptions ) > |
|
106 self primitiveFailed |
|
107 ! |
|
108 |
|
109 primFontOptionsMerge: options other: other |
|
110 |
|
111 <cdecl: void "cairo_font_options_merge" ( Cairo::FontOptions Cairo::FontOptions ) > |
|
112 self primitiveFailed |
|
113 ! |
|
114 |
|
115 primFontOptionsSetAntialias: options antialias: antialias |
|
116 |
|
117 <cdecl: void "cairo_font_options_set_antialias" ( Cairo::FontOptions int32 ) > |
|
118 self primitiveFailed |
|
119 ! |
|
120 |
|
121 primFontOptionsSetHintMetrics: options hintMetrics: hint_metrics |
|
122 |
|
123 <cdecl: void "cairo_font_options_set_hint_metrics" ( Cairo::FontOptions int32 ) > |
|
124 self primitiveFailed |
|
125 ! |
|
126 |
|
127 primFontOptionsSetHintStyle: options hintStyle: hint_style |
|
128 |
|
129 <cdecl: void "cairo_font_options_set_hint_style" ( Cairo::FontOptions int32 ) > |
|
130 self primitiveFailed |
|
131 ! |
|
132 |
|
133 primFontOptionsSetSubpixelOrder: options subpixelOrder: subpixel_order |
|
134 |
|
135 <cdecl: void "cairo_font_options_set_subpixel_order" ( Cairo::FontOptions int32 ) > |
|
136 self primitiveFailed |
|
137 ! |
|
138 |
|
139 primFontOptionsStatus: options |
|
140 |
|
141 <cdecl: int32 "cairo_font_options_status" ( Cairo::FontOptions ) > |
|
142 self primitiveFailed |
65 ! |
143 ! |
66 |
144 |
67 primFtFontOptionsSubstitute: options pattern: pattern |
145 primFtFontOptionsSubstitute: options pattern: pattern |
68 |
146 |
69 <cdecl: void "cairo_ft_font_options_substitute" ( Cairo::FontOptions pointer ) > |
147 <cdecl: void "cairo_ft_font_options_substitute" ( Cairo::FontOptions pointer ) > |