[squeak-dev] Questionable Color>>rgbTriplet

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Wed Dec 18 23:17:02 UTC 2013


The red/green/blue component of a Color are currently stored each on 10
bits.
That about 1024 combinations.

rgbTriplet return values scales between 0.0 and 1.0.
But why does it round each component to 0.01 instead of 0.001?

OK, it's not used in trunk image, but...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20131219/d2223def/attachment.htm


More information about the Squeak-dev mailing list