Cairo__FillRule.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 05 Apr 2016 10:00:57 +0100
changeset 77 cdf856e78998
parent 45 8ee53c41a084
child 88 9d51db2ba641
permissions -rw-r--r--
CairoGraphicsContext: Fixed paint setting Even though methods like #foreground: / #foreground:background: method are marked obsolete for quite some time, a lot of core widgets are still using them (!). Therefore CairoGraphicsContext must implement them to correctly update Cairo context. This fixes issues with EditField.

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

"{ NameSpace: Cairo }"

SharedPool subclass:#FillRule
	instanceVariableNames:''
	classVariableNames:'CAIRO_FILL_RULE_WINDING CAIRO_FILL_RULE_EVEN_ODD'
	poolDictionaries:''
	category:'Cairo-Constants'
!


!FillRule class methodsFor:'initialization'!

initialize

    CAIRO_FILL_RULE_WINDING := 0.
    CAIRO_FILL_RULE_EVEN_ODD := 1.
! !

!FillRule class methodsFor:'constants'!

CAIRO_FILL_RULE_EVEN_ODD

    ^CAIRO_FILL_RULE_EVEN_ODD
!

CAIRO_FILL_RULE_WINDING

    ^CAIRO_FILL_RULE_WINDING
! !

!FillRule class methodsFor:'documentation'!

version_HG

    ^ '$Changeset: <not expanded> $'
! !


FillRule initialize!