Cairo__SurfaceObserverMode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 05 Apr 2016 08:02:32 +0100
changeset 76 f3deda9cea3e
parent 29 6ba06265e543
child 88 9d51db2ba641
permissions -rw-r--r--
Oops, fixed CairoGraphicsContext>>width:height: Must test whether a Cairo context has been created. If not, we're done.

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

"{ NameSpace: Cairo }"

SharedPool subclass:#SurfaceObserverMode
	instanceVariableNames:''
	classVariableNames:'CAIRO_SURFACE_OBSERVER_NORMAL
		CAIRO_SURFACE_OBSERVER_RECORD_OPERATIONS'
	poolDictionaries:''
	category:'Cairo-Constants'
!

!SurfaceObserverMode class methodsFor:'initialization'!

initialize

    CAIRO_SURFACE_OBSERVER_NORMAL := 0.
    CAIRO_SURFACE_OBSERVER_RECORD_OPERATIONS := 1.
! !

!SurfaceObserverMode class methodsFor:'constants'!

CAIRO_SURFACE_OBSERVER_NORMAL

    ^CAIRO_SURFACE_OBSERVER_NORMAL
!

CAIRO_SURFACE_OBSERVER_RECORD_OPERATIONS

    ^CAIRO_SURFACE_OBSERVER_RECORD_OPERATIONS
! !


SurfaceObserverMode initialize!