Cairo__RegionOverlap.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 16 Feb 2016 07:46:52 +0000
changeset 39 8af34937e1ec
parent 36 9b680e54aa94
child 88 9d51db2ba641
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:#RegionOverlap
	instanceVariableNames:''
	classVariableNames:'CAIRO_REGION_OVERLAP_IN CAIRO_REGION_OVERLAP_OUT
		CAIRO_REGION_OVERLAP_PART'
	poolDictionaries:''
	category:'Cairo-Constants'
!


!RegionOverlap class methodsFor:'initialization'!

initialize

    CAIRO_REGION_OVERLAP_IN := 0.
    CAIRO_REGION_OVERLAP_OUT := 1.
    CAIRO_REGION_OVERLAP_PART := 2.
! !

!RegionOverlap class methodsFor:'constants'!

CAIRO_REGION_OVERLAP_IN

    ^CAIRO_REGION_OVERLAP_IN
!

CAIRO_REGION_OVERLAP_OUT

    ^CAIRO_REGION_OVERLAP_OUT
!

CAIRO_REGION_OVERLAP_PART

    ^CAIRO_REGION_OVERLAP_PART
! !

!RegionOverlap class methodsFor:'documentation'!

version_HG

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


RegionOverlap initialize!