[squeak-dev] ImageForm color with alpha

Bert Freudenberg bert at freudenbergs.de
Mon Dec 10 20:55:55 UTC 2018


On Mon, Dec 10, 2018 at 3:36 AM St├ęphane Rollandin <lecteur at zogotounga.net>
wrote:

> Hello all,
>
> Why is it that
>
>         (Morph new color: (Color blue alpha: 0.5))
>
> and
>
>         (Morph new color: (Color blue alpha: 0.5)) imageForm asMorph
>
> do not have the same color?
>

Because ImageMorph is using "Form blend" rule instead of "Form
blendAlphaScaled".

- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20181210/e3c11dd8/attachment.html>


More information about the Squeak-dev mailing list