[Newbies] creating smooth graphic in squeak

Bert Freudenberg bert at impara.de
Tue May 30 14:59:02 UTC 2006


Am 30.05.2006 um 15:56 schrieb andy.burnett at knowinnovation.com:

>
> I have only just started playing with squeak and I suspect this is  
> a very very basic question!
>
> The graphics in the squeak environment -- and by that I mean things  
> like the lines drawn round boxes and even the little widgets of the  
> closing windows etc -- seemed to be very primitive.  They seemed to  
> lack the anti alias smoothness which you find in, for example, flash.

That's because most graphic in Squeak is indeed rendered without anti- 
aliasing.

You can use the BalloonEngine to render anti-aliased graphics. It's  
actually able to render Flash files, too, at least graphics-wise (it  
does not handle most of the extensions added since Flash V4).

For example, if you open a WatchMorph, you find an option in its red  
halo handle menu to enable anti-aliasing. If you enable that, it  
looks smooth. It does so by using Balloon rendering.

> I've tried running squeak on both Windows and Mac, and the graphics  
> do seem smoother on the Macintosh.  So this makes me wonder if  
> there is a setting somewhere in the Windows environment which I  
> have missed.

Squeak renders identically on Mac and Win. Perhaps the monitor on  
your Mac is a bit smoother.

>  To put it another way, is there a way to get squeak to use the  
> native Windows widgets?

That's a completely unrelated question.

- Bert -



More information about the Beginners mailing list