[cairo] How to export image_surface pixel data?

Benoit Perrot benoit at lrde.epita.fr
Wed Jan 18 00:37:38 PST 2006


>> Multiple return values are distinctly language binding unfriendly.
>
> Thanks. The choice was feeling arbitrary, so it's good to get
> guidance, (as well as a reminder about what led to separate get_width
> and get_height originally).
>
>> But even then you have to know the order. (C has the ordering problem
>> too, actually..)
>
> Oh, good point. I'll definitely take more type safety over less typing.
>

... What about a dedicated structure?

-- 
benoit




More information about the cairo mailing list