Class: TCanvasLineDragInteractor

Declaration: CanvasInteraction.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TCanvasDragInteractor

Inherited By:

TCanvasLineCreationInteractor

Purpose:

A base class for drag interactors that draw a rubberband line from the point of the initial mouse down to the current point of the most recent mouse move during interaction.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Abstract base class; must be derived. Typically a derived class overrides EndInteraction to implement the execution of a command at the end of the drag.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TCanvasLineDragInteractor::TCanvasLineDragInteractor

TCanvasLineDragInteractor (MToolHandler *)

Interface Category:

API.

Purpose:

Constructor.

Calling Context:

Called by constructors of derived classes.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TCanvasLineDragInteractor::~TCanvasLineDragInteractor

virtual ~ TCanvasLineDragInteractor ()

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: TCanvasLineDragInteractor::DrawFeedback

virtual void DrawFeedback ()

Interface Category:

API.

Purpose:

Draws the feedback of a line from the first recorded point to the last recorded point.

Calling Context:

Called by TCanvasDragInteractor mouse event handling functions.

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.