<!-- ##### SECTION Title ##### -->
XLib Surfaces

<!-- ##### SECTION Short_Description ##### -->
X Window System rendering using XLib

<!-- ##### SECTION Long_Description ##### -->
<para>
The XLib surface is used to render cairo graphics to X Window System
windows and pixmaps using the XLib library.
</para>
<para>
Note that the XLib surface automatically takes advantage of X render extension
if it is available.
</para>

<!-- ##### SECTION See_Also ##### -->
<para>
<itemizedlist>
<listitem>#cairo_surface_t</listitem>
</itemizedlist>
</para>

<!-- ##### SECTION Stability_Level ##### -->


<!-- ##### SECTION Image ##### -->


<!-- ##### MACRO CAIRO_HAS_XLIB_SURFACE ##### -->
<para>
Defined if the Xlib surface backend is available.
This macro can be used to conditionally compile backend-specific code.
</para>



<!-- ##### FUNCTION cairo_xlib_surface_create ##### -->
<para>

</para>

@dpy: 
@drawable: 
@visual: 
@width: 
@height: 
@Returns: 


<!-- ##### FUNCTION cairo_xlib_surface_create_for_bitmap ##### -->
<para>

</para>

@dpy: 
@bitmap: 
@screen: 
@width: 
@height: 
@Returns: 


<!-- ##### FUNCTION cairo_xlib_surface_set_size ##### -->
<para>

</para>

@surface: 
@width: 
@height: 


<!-- ##### FUNCTION cairo_xlib_surface_get_display ##### -->
<para>

</para>

@surface: 
@Returns: 


<!-- ##### FUNCTION cairo_xlib_surface_get_screen ##### -->
<para>

</para>

@surface: 
@Returns: 


<!-- ##### FUNCTION cairo_xlib_surface_set_drawable ##### -->
<para>

</para>

@surface: 
@drawable: 
@width: 
@height: 


<!-- ##### FUNCTION cairo_xlib_surface_get_drawable ##### -->
<para>

</para>

@surface: 
@Returns: 


<!-- ##### FUNCTION cairo_xlib_surface_get_visual ##### -->
<para>

</para>

@surface: 
@Returns: 


<!-- ##### FUNCTION cairo_xlib_surface_get_width ##### -->
<para>

</para>

@surface: 
@Returns: 


<!-- ##### FUNCTION cairo_xlib_surface_get_height ##### -->
<para>

</para>

@surface: 
@Returns: 


<!-- ##### FUNCTION cairo_xlib_surface_get_depth ##### -->
<para>

</para>

@surface: 
@Returns: 


