Resolution independent 2D graphics engine
qr::circle

Class Description

Circle primitive. Inherits qr::scene_node.

Public Methods

circle (scene_manager *scene_man)
circle (scene_node *parent)

Protected Methods

void on_register ()
void on_render ()
void on_drop ()

Details

qr::circle::circle ( scene_manager * scene_man
)

Description

Creates a circle and registers it with the scene manager.

Paramiters

scene_man Scene manager.
qr::circle::circle ( scene_node * parent
)

Description

Creates a circle and attaches it to another scene node.

Paramiters

parent Parent scene node.
void qr::circle::on_register ( ) [protected, virtual]

Description

Sets up the circle.

void qr::circle::on_render ( ) [protected, inline, virtual]

Description

Necessary so that the node will register, but doesn't actually do anything.

void qr::circle::on_drop ( ) [protected, inline, virtual]

Description

Necessary so that the node will register, but doesn't actually do anything.