



Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
THalftoneDither
Inherited By:
None.
Purpose:
TTriangleDotHalftone derives from THalftoneDither and overrides THalftoneDither::GetSpotFunction to implement a halftone screen where each halftone dot is triangular in shape.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
None.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
- TTriangleDotHalftone ()
- TTriangleDotHalftone (GCoordinate angle, GCoordinate freq)
- TTriangleDotHalftone (const TTriangleDotHalftone &)
Interface Category:
API.
Purpose:
- Default constructor. Initializes frequency and angle to their default values of 72 dots per inch and 45 degrees, respectively.
- Creates a new TTriangleDotHalftone object and initializes the angle and frequency to the specified values.
- Copy constructor.
Calling Context:
- Called by the stream-in operators.
- Call this function directly.
- Called to copy an object.
Parameters:
- Takes no parameters.
- GCoordinate angle -The initial angle for this halftone object.
- GCoordinate freq -The initial frequency for this halftone object.
- const TTriangleDotHalftone & -The object to be copied.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual ~ TTriangleDotHalftone ()
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.
TTriangleDotHalftone & operator =(const TTriangleDotHalftone & 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.
virtual TStream & operator >>=(TStream &) const
Interface Category:
API.
Purpose:
Stream-out operator.
Calling Context:
Called to stream out data.
Parameters:
- TStream & -The stream to which the object streams itself out.
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.
virtual TStream & operator <<= (TStream &)
Interface Category:
API.
Purpose:
Stream-in operator.
Calling Context:
Called to stream in data.
Parameters:
- TStream & -The stream from which the object streams itself in.
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.
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 triangular in shape.
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.