Cairo__Content.st
author Jan Vrany <jan.vrany@labware.com>
Mon, 15 Jun 2020 15:16:56 +0100
changeset 90 b808c338d5c3
parent 88 9d51db2ba641
permissions -rw-r--r--
Fix `SimpleView >> redrawWithCairoBuffered:...` after an API change ...which happened a loong time ago but went unnoticed.

"
stx:goodies/libcairo - Cairo graphics bindings for Smalltalk/X

Copyright (C) 2008-2019 Jan Vrany

This code is licensed under Creative Commons Attribution-NonCommercial License.
For full text of the license, see file LICENSE.txt
"
"{ Package: 'stx:goodies/libcairo' }"

"{ NameSpace: Cairo }"

SharedPool subclass:#Content
	instanceVariableNames:''
	classVariableNames:'CAIRO_CONTENT_COLOR CAIRO_CONTENT_ALPHA CAIRO_CONTENT_COLOR_ALPHA'
	poolDictionaries:''
	category:'Cairo-Constants'
!

!Content class methodsFor:'documentation'!

copyright
"
stx:goodies/libcairo - Cairo graphics bindings for Smalltalk/X

Copyright (C) 2008-2019 Jan Vrany

This code is licensed under Creative Commons Attribution-NonCommercial License.
For full text of the license, see file LICENSE.txt
"
! !

!Content class methodsFor:'initialization'!

initialize

    CAIRO_CONTENT_COLOR := 4096.
    CAIRO_CONTENT_ALPHA := 8192.
    CAIRO_CONTENT_COLOR_ALPHA := 12288.
! !

!Content class methodsFor:'constants'!

CAIRO_CONTENT_ALPHA

    ^CAIRO_CONTENT_ALPHA
!

CAIRO_CONTENT_COLOR

    ^CAIRO_CONTENT_COLOR
!

CAIRO_CONTENT_COLOR_ALPHA

    ^CAIRO_CONTENT_COLOR_ALPHA
! !

!Content class methodsFor:'documentation'!

version_HG

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


Content initialize!