On 10/28/16, 2:52 AM, "Harbs" <harbs.li...@gmail.com> wrote:

>There’s two ways to represent RGB with alpha as a uint:
>
>AARRGGBB (or 0xAARRGGBB)
>and
>RRGGBBAA (or 0xRRGGBBAA)
>
>The two quite obviously have very different numeric representations.
>
>The standard for HTML is RRGGBBAA.

Right, so wouldn't having actual RGB and RGBA classes instead of uint in
our APIs help us solve this problem?  I'm assuming that's what you are
suggesting?  The toValue() for RGBA would be different based on platform.

-Alex

Reply via email to