[Newbies] Re: Anti-aliasing canvas graphics

Andreas Raab andreas.raab at gmx.de
Wed Dec 23 14:19:05 UTC 2009


Jeff Gonis wrote:
> This gives me the look I want, except for the fact that the line isn't 
> really anti-aliased.  I have attached a screen shot of what the line 
> looks like in the morph.  I am wondering how I can go about getting a 
> better looking line with less noticeable aliasing when I draw.

There is an optimization in BalloonCanvas trying to use the faster 
FormCanvas and you're running afoul of it. Try this instead:

             bc
                 drawPolygon: {startPt. endPt}
                 color: nil
                 borderWidth: 3
                 borderColor: Color red

Cheers,
   - Andreas


More information about the Beginners mailing list