Class: TEllipticDotHalftone

Declaration: HalftoneDither.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

THalftoneDither

Inherited By:

None.

Purpose:

TEllipticDotHalftone derives from THalftoneDither and overrides THalftoneDither::GetSpotFunction to implement a halftone screen where each halftone dot is elliptical.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TEllipticDotHalftone::TEllipticDotHalftone

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

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 TEllipticDotHalftone 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: TEllipticDotHalftone::~TEllipticDotHalftone

virtual ~ TEllipticDotHalftone ()

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

TEllipticDotHalftone & operator =(const TEllipticDotHalftone & 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: TEllipticDotHalftone::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: TEllipticDotHalftone::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: TEllipticDotHalftone::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 elliptical.

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.