[squeak-dev] The Inbox: Graphics-ct.441.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Thu Oct 1 10:55:16 UTC 2020


Nice. Given that #storeOn: is used, we should take care to always wrap the result in parentheses.

-> '(Color red alpha: 0.4)'

Best,
Marcel
Am 01.10.2020 10:51:29 schrieb Stéphane Rollandin <lecteur at zogotounga.net>:
> Proposal: Isolate alpha channel when printing a named color. This allows it to reuse the color name even for translucent color.
>
> Example:
> (Color red alpha: 0.4) printString
> Output (new):
> 'Color red alpha: 0.4'
> Output (old):
> '(TranslucentColor r: 1 g: 0.0 b: 0.0 alpha: 0.4)'

+1

Stef


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20201001/0810c096/attachment.html>


More information about the Squeak-dev mailing list