Class: TLineDotHalftone

Declaration: HalftoneDither.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

THalftoneDither

Inherited By:

None.

Purpose:

TLineDotHalftone derives from THalftoneDither and overrides THalftoneDither::GetSpotFunction to implement a traditional line screen.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TLineDotHalftone::TLineDotHalftone

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

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

virtual ~ TLineDotHalftone ()

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

TLineDotHalftone & operator =(const TLineDotHalftone & 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: TLineDotHalftone::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: TLineDotHalftone::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: TLineDotHalftone::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 traditional line screen.

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.