Cairo__LineCap.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 05 Apr 2016 08:02:32 +0100
changeset 76 f3deda9cea3e
parent 51 5293f2b851ab
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:#LineCap
	instanceVariableNames:''
	classVariableNames:'CAIRO_LINE_CAP_BUTT CAIRO_LINE_CAP_ROUND CAIRO_LINE_CAP_SQUARE'
	poolDictionaries:''
	category:'Cairo-Constants'
!


!LineCap class methodsFor:'initialization'!

initialize

    CAIRO_LINE_CAP_BUTT := 0.
    CAIRO_LINE_CAP_ROUND := 1.
    CAIRO_LINE_CAP_SQUARE := 2.
! !

!LineCap class methodsFor:'constants'!

CAIRO_LINE_CAP_BUTT

    ^CAIRO_LINE_CAP_BUTT
!

CAIRO_LINE_CAP_ROUND

    ^CAIRO_LINE_CAP_ROUND
!

CAIRO_LINE_CAP_SQUARE

    ^CAIRO_LINE_CAP_SQUARE
! !

!LineCap class methodsFor:'documentation'!

version_HG

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


LineCap initialize!