summaryrefslogtreecommitdiff
path: root/doc/reference/surfaces.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference/surfaces.rst')
-rw-r--r--doc/reference/surfaces.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/reference/surfaces.rst b/doc/reference/surfaces.rst
index b8cc399..0957649 100644
--- a/doc/reference/surfaces.rst
+++ b/doc/reference/surfaces.rst
@@ -626,6 +626,23 @@ Windows windows, bitmaps, and printing device contexts.
cairo.FORMAT_RGB24, see :ref:`FORMAT attributes <constants_FORMAT>`.
+
+class XCBSurface(:class:`Surface`)
+===================================
+
+The XCB surface is used to render cairo graphics to X Window System windows
+and pixmaps using the XCB library.
+
+Note that the XCB surface automatically takes advantage of X render extension
+if it is available.
+
+.. class:: XCBSurface
+
+ .. note:: *XCBSurface* cannot be instantiated directly because Python
+ interaction with XCB would require open source Python bindings to Xlib
+ which provided a C API.
+
+
class XlibSurface(:class:`Surface`)
===================================