[cairo] Is there an equivalent of XGetPixel in cairo?

Krzysztof KosiƄski tweenk.pl at gmail.com
Fri Apr 10 21:28:31 PDT 2015


No, you will have to use cairo_image_surface_get_data(),
cairo_image_surface_get_height() and cairo_image_surface_get_stride().
Also remember to call cairo_surface_flush() before accessing the
pixels directly.

Regards, Krzysztof

2015-04-11 5:32 GMT+02:00 Richard Billington <billingt at ai.sri.com>:
>
> --
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo


More information about the cairo mailing list