OrientedFillStyle.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Sat, 26 Nov 2016 21:09:32 +0000
branchjv
changeset 7719 c2f802dd340a
parent 6687 706f61ac0637
child 7785 9167fca33dcf
permissions -rw-r--r--
XFT: Forbid XFT rendering on bitmaps (depth-1 pixmaps) In theory it could work if XFT would just turn gray into either black or white. But XFT doesn't do it and simply draw nothing without failing in any way. To prevent this silent failures, forbid drawing XFT onto bitmaps (depth-1 pixmaps). After all, the while point of XFT is to use anti-aliased fonts.

"{ Package: 'stx:libview' }"

FillStyle subclass:#OrientedFillStyle
	instanceVariableNames:'form origin direction normal'
	classVariableNames:''
	poolDictionaries:''
	category:'Compatibility-Squeak-Balloon-Fills'
!

!OrientedFillStyle class methodsFor:'documentation'!

documentation
"
    an as-yet unused class.
    For now, this is present as compatibility class (for Squeak),
    but we may move change the fill/drawing code in the view hierarchy to use it later.

    [author:]
        cg

    [instance variables:]

    [class variables:]

    [see also:]

"
! !


!OrientedFillStyle class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/libview/OrientedFillStyle.st,v 1.3 2014-12-19 21:31:33 cg Exp $'
!

version_CVS
    ^ '$Header: /cvs/stx/stx/libview/OrientedFillStyle.st,v 1.3 2014-12-19 21:31:33 cg Exp $'
! !