[squeakland] How can you make a graphic in Etoys transparent?

karl ramberg karlramberg at gmail.com
Wed Aug 3 13:30:13 EDT 2011


Translucency is not very well integrated into Etoys/Squeak.
You can import images with translucency but it's hard to make translucent
images in Etoys.

This is another area that needs more work :-)

Karl

On Wed, Aug 3, 2011 at 6:16 PM, K. K. Subramaniam <kksubbu.ml at gmail.com>wrote:

> On Wednesday 03 Aug 2011 9:39:03 PM K. K. Subramaniam wrote:
> > On Wednesday 03 Aug 2011 8:22:26 AM Steve Thomas wrote:
> > > it would be nice to be able to set the sketch's transparency.  I can
> add
> > > an extra transparent playfield (which shows the gridlines even when
> > > alpha=0, which is nice) but the ability to set a sketch's alpha would
> be
> > > useful.
> >
> > AFAIK, SketchMorph is a special kind of Morph that can rotate an
> arbitrary
> > Form efficiently before displaying it. It is not capable of varying the
> > alpha (translucency) of this form.
> >
> > You could add a feature request or discuss it in squeak-dev mailing list.
> Oops! I just saw your feature request.
>
> Meanwhile, you could use a trick to simulate fade-in/fade-out for locked
> down
> sketches. Place the sketch in between two rectangle siblings. Vary the
> alpha
> of the top rectangle to affect the translucency of the sketch.
>
> HTH .. Subbu
> _______________________________________________
> squeakland mailing list
> squeakland at squeakland.org
> http://lists.squeakland.org/mailman/listinfo/squeakland
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakland.org/pipermail/squeakland/attachments/20110803/3bfd9b28/attachment.html>


More information about the squeakland mailing list