<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On 19.12.2013, at 00:17, Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div><div>The red/green/blue component of a Color are currently stored each on 10 bits.<br></div>That about 1024 combinations.<br><br></div><div>rgbTriplet return values scales between 0.0 and 1.0.<br></div>
But why does it round each component to 0.01 instead of 0.001?<br></div></div></blockquote><div><br></div><div>Perhaps because it matches Color&gt;&gt;shortPrintString?&nbsp;</div><br><blockquote type="cite"><div dir="ltr">OK, it's not used in trunk image, but...</div></blockquote></div><div><br></div><div>Now with our accurate float printing, the rounding in rgbTriplet seems pretty useless - maybe we should just remove it?</div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; font-family: 'Lucida Grande'; font-size: 12px;"><div style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; ">- Bert -</span></div><br class="Apple-interchange-newline"></span>

</div>
<br></body></html>