Manager command class. More...
#include <ilviews/manager/commands.h>
Public Member Functions | |
IlvRotateObjectCommand (IlvManager *m, IlvGraphic *g, const IlvPoint ¢er, IlFloat angle) | |
Constructor. More... | |
Public Member Functions inherited from IlvManagerCommand | |
IlvManagerCommand (IlvManager *manager) | |
Constructor. More... | |
IlvManager * | getManager () const |
Returns the manager. More... | |
Manager command class.
Library: ilvmgr
The class IlvRotateObjectCommand
is a subclass of IlvManagerCommand
that must be instantiated to record that objects have been rotated, and make it possible to undo the rotation. Note that not all objects can be rotated.
IlvRotateObjectCommand::IlvRotateObjectCommand | ( | IlvManager * | m, |
IlvGraphic * | g, | ||
const IlvPoint & | center, | ||
IlFloat | angle | ||
) |
Constructor.
m | The manager to which the command applies. |
g | The graphic object that has been rotated. |
center | The rotation center. |
angle | The rotation angle. |