![](../../Home/Icons/Home.gif)
![](../icons/UpCNM.gif)
![](../icons/CNMContext.gif)
![](../../Home/Icons/Search.gif)
Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TCanvasDragInteractor
Inherited By:
None.
Purpose:
Interactor that rotates canvas graphics in a specified selection.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
Intended to be used as is but can also be derived.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
TCanvasGraphicRotatingInteractor (MCanvasSelection * adoptTarget, MToolHandler *, const TGPoint & centerOfRotate)
Interface Category:
API.
Purpose:
Constructor.
Calling Context:
Intended to be called by a TSRTFeedbacker or derived class.
Parameters:
- MCanvasSelection * adoptTarget -The selection that specifies the graphics to be scaled.
- MToolHandler * -The application's tool handler.
- const TGPoint & centerOfRotate -The transformed center of rotation.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
If the center of rotation is the center of the SRT Feedbacker, then centerOfRotate should be the center of the point returned from the SRT feedbacker's HandleGetBounds member function, transformed by the SRT feedbacker's transform. The SRT feedbacker's transform can be obtained by calling MCanvasGraphic::GetTransform for the feedbacker.
virtual ~ TCanvasGraphicRotatingInteractor ()
Interface Category:
API.
Purpose:
Destructor.
Calling Context:
Called to destroy an object.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual void StartInteraction ()
Interface Category:
API.
Purpose:
Begins a TRotateCanvasGraphicCmd.
Calling Context:
Called by the Graphics Editing framework.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual void ContinueInteraction ()
Interface Category:
API.
Purpose:
Continues a TRotateCanvasGraphicCmd.
Calling Context:
Called by the Graphics Editing framework.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual void EndInteraction ()
Interface Category:
API.
Purpose:
Ends a TRotateCanvasGraphicCmd.
Calling Context:
Called by the Graphics Editing framework.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.