[squeak-dev] Form - fill area with a TranslucentColor
Igor Stasenko
siguctua at gmail.com
Wed Sep 28 09:53:17 UTC 2011
On 28 September 2011 07:14, Jonathan Mullins <j.mullins at gmx.com> wrote:
> Hi all,
> I'm trying to fill areas on a Form object with different TranslucentColors
> using Form fill:fillColor:, however the areas always get filled with solid
> colours, ignoring the alpha values altogether. I've tried the different fill
> modes with no success. The form is initialised with a 32 bit depth. Any
> ideas?
it depends how you displaying a form.
if you using drawImage: then alpha channel is ignored completely,
and if you using translucentImage: ...
then it blends with background.
> I'm using Squeak 2.8 (I think… it's the MIT Scratch image).
> Cheers, Jonathan
>
>
>
--
Best regards,
Igor Stasenko.
More information about the Squeak-dev
mailing list
|