[Cuis-dev] Transparent Form ?

Hilaire Fernandes hilaire at drgeo.eu
Sat May 30 11:06:49 PDT 2020


Hi Juan,

When I ask a form to my circular toolbar morph with the imageForm: 
message, the colors are a bit different in the returned form.

The toolbar is build from chevron morphs. Those ones cache the 
vectorgraphic drawing in forms, then the central part is just a normal 
circle with alpha (not vector graphics).

See bellow, at the left the morph and the right the image form. The 
colors are a bit different:


I think this is the alpha that got it wrong, see this simple test:

(RectangleLikeMorph new color: (Color orange alpha: 0.5); imageForm: 32) 
display


Thanks

Hilaire



Le 24/05/2020 à 22:55, Juan Vuletich a écrit :
> Please try the attaches. SVG now includes #examplesClinton, that shows 
> another use case for correctly blending to translucent target.
>
> This just came out from the oven. Haven't yet reviewed it carefully. 
> But it seems to work, so please try it.
>
> Cheers,

-- 
GNU Dr. Geo
http://drgeo.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200530/0d6ace0b/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture d??cran de 2020-05-30 19-28-32.jpg
Type: image/jpeg
Size: 49893 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200530/0d6ace0b/attachment-0001.jpg>


More information about the Cuis-dev mailing list