Class: TCanvasGraphicScalingInteractor

Declaration: CanvasGraphicManipulation.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TCanvasDragInteractor

Inherited By:

None.

Purpose:

Interactor that scales 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.

Member Function: TCanvasGraphicScalingInteractor::TCanvasGraphicScalingInteractor

TCanvasGraphicScalingInteractor (MCanvasSelection * adoptTarget, MToolHandler *, const TGPoint & centerOfScale, const TGrafMatrix & tform)

Interface Category:

API.

Purpose:

Constructor.

Calling Context:

Intended to be called by a TSRTFeedbacker or derived class.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

If the center of scale is the center of the SRT Feedbacker, then centerOfScale should be the center of the point returned from the SRT feedbacker's HandleGetBounds member function. The SRT feedbacker's transform can be obtained by calling MCanvasGraphic::GetTransform for the feedbacker.

Member Function: TCanvasGraphicScalingInteractor::~TCanvasGraphicScalingInteractor

virtual ~ TCanvasGraphicScalingInteractor ()

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.

Member Function: TCanvasGraphicScalingInteractor::StartInteraction

virtual void StartInteraction ()

Interface Category:

API.

Purpose:

Begins a TScaleCanvasGraphicCmd.

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.

Member Function: TCanvasGraphicScalingInteractor::ContinueInteraction

virtual void ContinueInteraction ()

Interface Category:

API.

Purpose:

Increments a TScaleCanvasGraphicCmd.

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.

Member Function: TCanvasGraphicScalingInteractor::EndInteraction

virtual void EndInteraction ()

Interface Category:

API.

Purpose:

Increments a TScaleCanvasGraphicCmd.

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.