[BUG][?] SketchMorph with transparency and "smooth image"

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Thu Apr 18 13:00:09 UTC 2002

On Wed, 17 Apr 2002, Ned Konz wrote:

> 3.2g cs 4823
> Make a SketchMorph. Paint it and make it transparent in places.
> Now select "smooth image" from its menu and then resize it.
> The transparent areas now show up as black, rather than transparent. 
> However, if you query them as to their color they say that they're 
> transparent. Which would indicate that the problem comes when the 
> form is being drawn.

Actually, "rotatedForm colorAt: 1 at 1" gives "Color black", not transparent. 
So the problem is in scaling, not in drawing.

> Is this a bug?

The "smooth image" option uses Balloon3D for scaling, which is faster than
WarpBlt but does not support transparency.

So the answer is: Don't do that ;-)

-- Bert

PS: Now that the smoothing functionality is migrated to SketchMorph maybe 
we can remove InterpolatingImageMorph?

More information about the Squeak-dev mailing list