[cairo] [patch] Surface size getters for xlib
Robert O'Callahan
rocallahan at novell.com
Tue Jun 20 20:47:03 PDT 2006
When accessing the underlying drawable etc of an xlib surface, it is
also helpful to be able to get the width and height without a server
round trip. This patch provides those functions.
With these, we can implement draw_with_xlib without the need for any
sort of is_clipped API, and without weird assumptions and GDK
dependencies. It will also be possible to efficiently create a wrapper
GdkDrawable when GDK gets support for creating foreign GdkDrawables with
known size.
Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-patch
Size: 1977 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060621/24044f94/patch.bin
More information about the cairo
mailing list