[squeak-dev] Re: Round rect drawing

Andreas Raab andreas.raab at gmx.de
Fri Jul 24 07:36:18 UTC 2009


Igor Stasenko wrote:
> IMHO, it is a dirty hack to draw rounded shapes, when drawing code
> telling you to draw a rectangle.
> This is plain wrong, especially for a canvas, who should perform any
> actions strictly as they passed from outside by callers.
> That's why i would prefer to never see things like
> #roundCornersOf:during: again.

Try it. It may give some pretty bad artifacts but you won't know before 
you try ;-)

Cheers,
   - Andreas



More information about the Squeak-dev mailing list