NVGImage

NanoVega image handle.

This is refcounted struct, so you don't need to do anything special to free it once it is allocated.

Constructors

this
this(NVGImage src)

Destructor

~this
~this()

Postblit

this(this)
this(this)

Members

Functions

clear
void clear()

Free this image.

height
int height()

Returns image height, or zero for invalid image.

opAssign
void opAssign(NVGImage src)
width
int width()

Returns image width, or zero for invalid image.

Properties

isSameContext
const(NVGContext) isSameContext [@property setter]

Is the given image valid and comes from the same context?

valid
bool valid [@property getter]

Is this image valid?

See Also

Meta