Drw.this

Ctor to initialise the draw object

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

Parameters

dpy
Type: Display*

X display to render with.

screen
Type: int

X screen id

root
Type: Window

Root X window for this drawable

w
Type: uint

Width of the drawable

h
Type: uint

Height of the drawable

Examples

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

Meta