Re: Is there an equivalent of XGetPixel in cairo?

Krzysztof Kosiński <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAFLw2WRF4JhukDr1QuF0Ge48wvH1_aXTi-OsUuzP1qZ7BB2vQQ@mail.gmail.com>
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 <[email protected]>:
>
> --
> cairo mailing list
> [email protected]
> http://lists.cairographics.org/mailman/listinfo/cairo
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.