[cairo] Confused by render to image buffer

Ned Konz ned at squeakland.org
Fri Dec 24 22:08:18 PST 2004


On Friday 24 December 2004 6:28 pm, Chris wrote:
> Ah, sorry, I was incorrect.  I forgot that I had reversed the order when
> I tested on MacOS.
>
> On MacOS it comes out in ARGB order and x86 is BGRA.
>
> So, yes, it's an endian issue because pixman is working at the 32-bit
> integer level rather than the byte level.

Well, that's fairly annoying for those of us who'd prefer a consistent byte 
ordering within a word.

Oh well, it's just extra work for me...
-- 
Ned Konz
http://bike-nomad.com/squeak/



More information about the cairo mailing list