Cairo__LineCap.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:#LineCap
	instanceVariableNames:''
	classVariableNames:'CAIRO_LINE_CAP_BUTT CAIRO_LINE_CAP_ROUND CAIRO_LINE_CAP_SQUARE'
	poolDictionaries:''
	category:'Cairo-Constants'
!

!LineCap 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
"
! !

!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!