Class: TCanvasPolylineDragInteractor

Declaration: CanvasInteraction.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TCanvasDragInteractor

Inherited By:

TCanvasCurveCreationInteractor

Purpose:

A base class for drag interactors that draw a polyline sketch of the drag points 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.

Other Considerations:

None.

Member Function: TCanvasPolylineDragInteractor::TCanvasPolylineDragInteractor

TCanvasPolylineDragInteractor (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: TCanvasPolylineDragInteractor::~TCanvasPolylineDragInteractor

virtual ~ TCanvasPolylineDragInteractor ()

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

virtual void DrawFeedback ()

Interface Category:

API.

Purpose:

Draws the feedback of a polyline consisting of all drag points thus far.

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:

Uses MToolHandler feedback support interface.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.