GradientFillStyle oddity

Raab, Andreas Andreas.Raab at disney.com
Fri Sep 3 20:06:45 UTC 1999


> > Congratulations! You just discovered one of the most serious bugs in the
> > Balloon engine. I'm amazed nobody stumbled across that earlier ;-)
> 
> Gee, I feel honored.  :)
> 
And rightly so ;-)

> Okay, it's supposed to work for ovals, but the interpolation doesn't
> quite work.  Now, is it also supposed to work when the normal isn't
> normal to the fill's direction?
> 
No - for the time being this works neither for gradient nor bitmap fills.

> > The only way to work around the problem is using a bitmap fill generated
> > from a radial gradient. This should work until I've fixed the problem
> (which
> > will take some time).
> 
> Thanks for the suggestion.  Now, is there a way I can make the bitmap
> fill use translucent colors?  Aw, what am I asking for, I was going to
> play around with those soon, anyway!  :)
> 
Just use a 32bit deep form and make sure the alpha channel is okay. This
should work (I hope ;-)

  Andreas
--
+===== Andreas Raab ========= (andreasr at wdi.disney.com) ==+
| Walt Disney Imagineering        Phone: +1 818 544 5016  I
I Glendale, CA                    Fax:   +1 818 544 4544  I
+======< http://isgwww.cs.uni-magdeburg.de/~raab >========+





More information about the Squeak-dev mailing list