Class: TCanvasPolylineCreationInteractor

Declaration: CanvasPolyline.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TCanvasPolylineMulticlickInteractor

Inherited By:

None.

Purpose:

A tool interactor that manages a multiclick interaction and uses the resulting points as vertices to create a new canvas polyline. Finally, the interactor adopts the new polyline into a canvas representation before executing a TAdoptCanvasGraphicCmd.

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.

Other Considerations:

The interaction must result in at least two points to create a new canvas polyline.

Member Function: TCanvasPolylineCreationInteractor::TCanvasPolylineCreationInteractor

TCanvasPolylineCreationInteractor (MCanvasSelection * adoptTarget, MToolHandler *)

Interface Category:

API.

Purpose:

Creates a new object.

Calling Context:

Created by a TCanvasLineCreationTool.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TCanvasPolylineCreationInteractor::~TCanvasPolylineCreationInteractor

virtual ~ TCanvasPolylineCreationInteractor ()

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: TCanvasPolylineCreationInteractor::EndInteraction

virtual void EndInteraction ()

Interface Category:

API.

Purpose:

Processes vertices and creates a new canvas polyline when the multiclick interaction is complete.

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.