Class: TStandardCanvasLineWidthSelectionState

Declaration: StandardGrafEdit.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TCommandControlStateOn

Inherited By:

None.

Purpose:

Momentary control state that sets the pen line width of the graphics in the current selection.

Instantiation:

Allocate on the heap or the stack. There is no restriction, but it is recommended that this class be allocated on the heap.

Deriving Classes:

Intended to be used as is but can also be derived.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TStandardCanvasLineWidthSelectionState::operator<<=

virtual TStream & operator <<= (TStream &)

Interface Category:

API.

Purpose:

Stream-in operator.

Calling Context:

Called to stream in data.

Parameters:

Return Value:

Returns a reference to the stream the object streams itself in from.

Exceptions:

Throws a TStandardException(kStreamBadVersion,0) when streaming in a version other than kOriginalVersion. Passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TStandardCanvasLineWidthSelectionState::operator>>=

virtual TStream & operator >>=(TStream &) const

Interface Category:

API.

Purpose:

Stream-out operator.

Calling Context:

Called to stream out data.

Parameters:

Return Value:

Returns a reference to the stream the object streams itself out to.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TStandardCanvasLineWidthSelectionState::operator=

TStandardCanvasLineWidthSelectionState & operator =(const TStandardCanvasLineWidthSelectionState &)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Called when an object is assigned to another compatible object.

Parameters:

Return Value:

A non-const reference to the left-hand side object.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TStandardCanvasLineWidthSelectionState::~TStandardCanvasLineWidthSelectionState

virtual ~ TStandardCanvasLineWidthSelectionState ()

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: TStandardCanvasLineWidthSelectionState::TStandardCanvasLineWidthSelectionState

  1. TStandardCanvasLineWidthSelectionState (const TStandardCanvasLineWidthSelectionState &)
  2. TStandardCanvasLineWidthSelectionState (GCoordinate, TGUIBundleConnection * theBundleConnectionToAlias)
  3. TStandardCanvasLineWidthSelectionState ()

Interface Category:

API.

Purpose:

  1. Copy constructor.
  2. Constructor.
  3. Default constructor.

Calling Context:

  1. Called to copy an object.
  2. Called to create a new object.
  3. Called by the stream-in operators.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TStandardCanvasLineWidthSelectionState::HandleAddInterests

void HandleAddInterests (TSetOf < TInterest > & theInterests) const

Interface Category:

API.

Purpose:

Adds the interest of the current selection to a specified set of existing interests.

Calling Context:

Call this function directly.

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.