Issue 3435 in pharo: Don't draw transparent fillStules

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 3435 in pharo: Don't draw transparent fillStules

pharo
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=3435

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



Reply | Threaded
Open this post in threaded view
|

Re: Issue 3435 in pharo: Don't draw transparent fillStules

pharo
Updates:
        Labels: -Milestone-1.3

Comment #1 on issue 3435 by [hidden email]: Don't draw transparent  
fillStules
http://code.google.com/p/pharo/issues/detail?id=3435

(No comment was entered for this change.)