ImageSurface.this

this(int w, int h, bool highres = false)

Creates a new image surface with the given dimensions.

After creation, call setCurrent() to direct graphics operations to this surface.

Parameters

wWidth in pixels
hHeight in pixels
highresIf true, creates a high-resolution image (for Retina displays)