[squeak-dev] ImageForm color with alpha
lecteur at zogotounga.net
Tue Dec 11 10:32:19 UTC 2018
> Hmm... according to Canvas >> #translucentImage:at:sourceRect: and
> FormCanvas >> #setFillColor: (via FormCanvas >>
> #frameAndFillRectangle:...) both use "Form blend".
> It should produce the same result.
> Maybe the Form (via #imageForm) itself is created differently. See Morph
> >> #imageForm:forRectangle: and FormCanvas >>
> There are only two senders of #blendAlphaScaled.
Ah! It seems that simply using #blendAlphaScaled in
#translucentImage:at:sourceRect: does the trick...
More information about the Squeak-dev