wxGraphicsObject (wx v2.5.4)

Copy Markdown View Source

This class is the superclass of native graphics objects like pens etc.

It allows reference counting. Not instantiated by user code.

See:

wxWidgets docs: wxGraphicsObject

Summary

Functions

Destroys the object

Returns the renderer that was used to create this instance, or NULL if it has not been initialized yet.

Return: false if this object is valid, otherwise returns true.

Types

wxGraphicsObject()

-type wxGraphicsObject() :: wx:wx_object().

Functions

destroy(This :: wxGraphicsObject()) -> ok

Destroys the object

getRenderer(This) -> Result

Returns the renderer that was used to create this instance, or NULL if it has not been initialized yet.

isNull(This :: wxGraphicsObject()) -> boolean()

Return: false if this object is valid, otherwise returns true.