Cairo__FillRule.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 16 Feb 2016 07:46:52 +0000
changeset 39 8af34937e1ec
parent 29 6ba06265e543
child 45 8ee53c41a084
permissions -rw-r--r--
More work for using CairoGrahicsContext for rendering views * Added GraphicsMedium>>cairoify to change from device rendering to Cairo rendering. * Handle lineWidth: 0 specially as it actually means lineWidth = 1. * Small cleanup / fixes in text displaying (this would need more work, though)

"{ 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 initialize!