[Q][balloon2D] is transparency supported?

Ned Konz ned at squeakland.org
Fri Feb 25 20:26:35 UTC 2005


On Friday 25 February 2005 7:26 am, Baveco, Hans wrote:
> When displaying polygons on a BalloonCanvas, setting the alpha of the
> fill-color apparently does not work.
> It changes the color though: when alpha approaches 1.0 the original
> color shows, when alpha approaches 0.0 the resulting color approaches
> black/opaque. Is this a known limitation, or a bug.... (the code looks
> like transparency should be handled). The final drawing is done in
> primitives, so a bit difficult to check..

I think the problem is more in the way that you displayed the contents of the 
BalloonCanvas. Was there an intermediate canvas?

If you look at (for instance) the fill in the inside of Connectors (which are 
rendered with Balloon2D) you will see that they can have translucency.

-- 
Ned Konz
http://bike-nomad.com/squeak/



More information about the Squeak-dev mailing list