1
|
1 |
"{ Package: 'stx:goodies/libcairo' }"
|
|
2 |
|
|
3 |
"{ NameSpace: Cairo }"
|
|
4 |
|
|
5 |
SharedPool subclass:#FontSlant
|
|
6 |
instanceVariableNames:''
|
|
7 |
classVariableNames:'FONT_SLANT_NORMAL FONT_SLANT_ITALIC FONT_SLANT_OBLIQUE'
|
|
8 |
poolDictionaries:''
|
|
9 |
category:'Cairo - Constants'
|
|
10 |
!
|
|
11 |
|
|
12 |
!FontSlant class methodsFor:'initialization'!
|
|
13 |
|
|
14 |
initialize
|
|
15 |
|
|
16 |
FONT_SLANT_NORMAL := 0.
|
|
17 |
FONT_SLANT_ITALIC := 1.
|
|
18 |
FONT_SLANT_OBLIQUE := 2.
|
|
19 |
|
3
|
20 |
"Modified: / 10-07-2008 / 23:05:54 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
21 |
! !
|
|
22 |
|
|
23 |
!FontSlant class methodsFor:'constants'!
|
|
24 |
|
|
25 |
FONT_SLANT_ITALIC
|
|
26 |
|
|
27 |
^FONT_SLANT_ITALIC
|
|
28 |
|
3
|
29 |
"Modified: / 10-07-2008 / 23:05:54 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
30 |
!
|
|
31 |
|
|
32 |
FONT_SLANT_NORMAL
|
|
33 |
|
|
34 |
^FONT_SLANT_NORMAL
|
|
35 |
|
3
|
36 |
"Modified: / 10-07-2008 / 23:05:54 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
37 |
!
|
|
38 |
|
|
39 |
FONT_SLANT_OBLIQUE
|
|
40 |
|
|
41 |
^FONT_SLANT_OBLIQUE
|
|
42 |
|
3
|
43 |
"Modified: / 10-07-2008 / 23:05:54 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
1
|
44 |
! !
|
|
45 |
|
|
46 |
|
|
47 |
FontSlant initialize!
|