Rogue Wave Views
Manager Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvRotateObjectCommand Class Reference

Manager command class. More...

#include <ilviews/manager/commands.h>

Inheritance diagram for IlvRotateObjectCommand:
IlvManagerCommand IlvCommand IlvAction

Public Member Functions

 IlvRotateObjectCommand (IlvManager *m, IlvGraphic *g, const IlvPoint &center, IlFloat angle)
 Constructor. More...
 
- Public Member Functions inherited from IlvManagerCommand
 IlvManagerCommand (IlvManager *manager)
 Constructor. More...
 
IlvManagergetManager () const
 Returns the manager. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

IlvRotateObjectCommand::IlvRotateObjectCommand ( IlvManager m,
IlvGraphic g,
const IlvPoint center,
IlFloat  angle 
)

Constructor.

Parameters
mThe manager to which the command applies.
gThe graphic object that has been rotated.
centerThe rotation center.
angleThe rotation angle.

© Copyright 2016, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.