Status: FixedWaitingToBePharoed
Owner: stephane.ducasse
Labels: Milestone-1.3
New issue 3435 by stephane.ducasse: Don't draw transparent fillStules
http://code.google.com/p/pharo/issues/detail?id=3435don't draw transparent fillStyles. Needed by Tweak. Imported from OpenCobalt
=============== Diff against Morphic-ul.490 ===============
Item was changed:
----- Method: Canvas>>fillRectangle:fillStyle:borderStyle: (in
category 'drawing-rectangles') -----
fillRectangle: aRectangle fillStyle: aFillStyle borderStyle: aBorderStyle
"Fill the given rectangle."
+ aFillStyle isTransparent ifFalse:[
+ self fillRectangle: (aRectangle insetBy: aBorderStyle
width) fillStyle: aFillStyle].
+ aBorderStyle ifNil:[^self].
+ aBorderStyle width <= 0 ifTrue:[^self].
+ aBorderStyle frameRectangle: aRectangle on: self
+ !
- self fillRectangle: (aRectangle insetBy: aBorderStyle width)
fillStyle: aFillStyle.
- aBorderStyle frameRectangle: aRectangle on: self!