Hello,<div><br></div><div>If I set my R, G, B, A values to 0.25, 0.5, 0.75 and 1.0 respectively and then cairo_paint() a surface, I get a nice mostly blue color output, just as I would expect. </div><div><br></div><div>However, if I then grab the data from that surface using cairo_image_surface_get_data() and look at the first four bytes, I see (after normalizing) 0.75, 0.5, 0.25, 1.0.</div>
<div><br></div><div>I thought I read somewhere in the documentation that the data were stored in native-endian format, and I thought that intel processors (I'm using a macbook pro) were little endian. In any case, this doesn't look little or big endian. What gives?</div>
<div><br></div><div><br></div><div>Thanks,</div><div><br></div><div>Dan</div><div><br></div>