[cairo] API proposal: cairo_format_from_content and cairo_content_from_format

Carl Worth cworth at cworth.org
Tue Apr 24 16:42:33 PDT 2007


On Tue, 24 Apr 2007 22:36:47 +0300, "Mox Soini" wrote:
> Is there a way to get struct XRenderPictFormat  (of Xrender.h) from a
> cairo surface?
>
> This seems to be needed for OOo's internal processing...

You can do cairo_xlib_surface_get_visual and from there do
XRenderFindVisualFormat.

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070424/9787d11e/attachment.pgp


More information about the cairo mailing list