Cairo__FontSlant.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Sun, 28 Dec 2014 22:38:24 +0100
changeset 29 6ba06265e543
parent 23 38ee47dbd976
child 34 97705b5a9411
permissions -rw-r--r--
Bindinge updated to recent Cairo version. All primitives moved to a new class - Cairo::CPrimitives. Callouts selectors changed to reflect C function names closely.

"{ Package: 'stx:goodies/libcairo' }"

"{ NameSpace: Cairo }"

SharedPool subclass:#FontSlant
	instanceVariableNames:''
	classVariableNames:'CAIRO_FONT_SLANT_NORMAL CAIRO_FONT_SLANT_ITALIC
		CAIRO_FONT_SLANT_OBLIQUE'
	poolDictionaries:''
	category:'Cairo-Constants'
!

!FontSlant class methodsFor:'initialization'!

initialize

    CAIRO_FONT_SLANT_NORMAL := 0.
    CAIRO_FONT_SLANT_ITALIC := 1.
    CAIRO_FONT_SLANT_OBLIQUE := 2.
! !

!FontSlant class methodsFor:'constants'!

CAIRO_FONT_SLANT_ITALIC

    ^CAIRO_FONT_SLANT_ITALIC
!

CAIRO_FONT_SLANT_NORMAL

    ^CAIRO_FONT_SLANT_NORMAL
!

CAIRO_FONT_SLANT_OBLIQUE

    ^CAIRO_FONT_SLANT_OBLIQUE
! !


FontSlant initialize!