XlibSurface.this

Creates an Xlib surface that draws to the given drawable. The way that colors are represented in the drawable is specified by the provided visual.

Note: If drawable is a Window, then the function setSize() must be called whenever the size of the window changes.

When drawable is a Window containing child windows then drawing to the created surface will be clipped by those child windows. When the created surface is used as a source, the contents of the children will be included.

  1. this(cairo_surface_t* ptr)
  2. this(Display* dpy, Drawable drawable, Visual* visual, int width, int height)
    class XlibSurface
    this
    (
    Display* dpy
    ,
    Drawable drawable
    ,
    Visual* visual
    ,
    int width
    ,
    int height
    )
  3. this(Display* dpy, Pixmap bitmap, Screen* screen, int width, int height)

Meta