[plt-scheme] Re: MrEd - Animated canvas

From: Robby Findler (robby at cs.uchicago.edu)
Date: Fri Mar 16 08:15:24 EDT 2007

Usually, .png files work better for that kind of thing.

You'll have to be careful that you create the bitmap with 'png/mask
and that you draw the bitmap with the mask (there are extra arguments
to draw-bitmap you'll need to use).

Of course, drawing a circle with draw-ellipse (the method of dc<%>)
doesn't fill in the rectangle behind the circle ... but maybe you
wanted more complicated balls, not just ellipses?

Robby

On 3/16/07, Laurent <Ouaibou at gmail.com> wrote:
> Hi,
>
> I have a new question :) :
>
> I search to draw a transparent image.
> For example drawing balls.
>
> But if i use a bitmap object, must i use a gif ?
>
> Thanks,
> Laurent
>
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>


Posted on the users mailing list.