Drw.this

Ctor to initialise the draw object

struct Drw
this
(
Display* dpy
,
int screen
,
Window root
,
uint w
,
uint h
)

Parameters

dpy Display*

X display to render with.

screen int

X screen id

root Window

Root X window for this drawable

w uint

Width of the drawable

h uint

Height of the drawable

Examples

drw = new Drw(AppDisplay.instance().dpy, screen, root, sw, sh);

Meta