Class: TCanvasCurveCreationInteractor

Declaration: CanvasCurve.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TCanvasPolylineDragInteractor

Inherited By:

None.

Purpose:

A tool interactor that manages a drag interaction and uses the resulting points as parametrics (control points) to create a new canvas curve. Finally, the interactor adopts the new curve 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 curve.

Member Function: TCanvasCurveCreationInteractor::TCanvasCurveCreationInteractor

TCanvasCurveCreationInteractor (MCanvasSelection * adoptTarget, MToolHandler *)

Interface Category:

API.

Purpose:

Creates a new object.

Calling Context:

Created by a TCanvasCurveCreationTool.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TCanvasCurveCreationInteractor::~TCanvasCurveCreationInteractor

virtual ~ TCanvasCurveCreationInteractor ()

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

virtual void EndInteraction ()

Interface Category:

API.

Purpose:

Processes parametrics and creates a new canvas curve when the drag 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.