Class: TSpiralDotHalftone

Declaration: HalftoneDither.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

THalftoneDither

Inherited By:

None.

Purpose:

TSpiralDotHalftone derives from THalftoneDither and overrides GetSpotFunction to implement a halftone screen where each halftone dot is spiraled.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TSpiralDotHalftone::TSpiralDotHalftone

  1. TSpiralDotHalftone ()
  2. TSpiralDotHalftone (GCoordinate angle, GCoordinate freq)
  3. TSpiralDotHalftone (const TSpiralDotHalftone &)

Interface Category:

API.

Purpose:

  1. Default constructor. Initializes frequency and angle to their default values of 72 dots per inch and 45 degrees, respectively.
  2. Creates a new TSpiralDotHalftone object and initializes the angle and frequency to the specified values.
  3. Copy constructor.

Calling Context:

  1. Called by the stream-in operators.
  2. Call this function directly.
  3. Called to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSpiralDotHalftone::~TSpiralDotHalftone

virtual ~ TSpiralDotHalftone ()

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: TSpiralDotHalftone::operator=

TSpiralDotHalftone & operator =(const TSpiralDotHalftone & source)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Call this function by using the operator in an assignment statement.

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: TSpiralDotHalftone::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: TSpiralDotHalftone::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 no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSpiralDotHalftone::GetSpotFunction

virtual HalftoneSpotFunc GetSpotFunction () const

Interface Category:

API.

Purpose:

Gets a pointer to the function that implements the spot function. This class overrides THalftoneDither::GetSpotFunction to implement a halftone screen where each halftone dot is spiraled.

Calling Context:

Call this function directly.

Parameters:

Return Value:

Returns a pointer to the spot function.

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.