Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
None.
Inherited By:
T3DSpanPainter
TBitmapGlyphPainter
THairlinePainter
TSpanPainter
Purpose:
This is the base class that establishes painters. Painters are responsible for colors and patterns for graphics and images, and are associated with frame buffers. The TPainter class is the systems programmer interface.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
Specialized painter classes, such as THairlinePainter, derive from TPainter.
Concurrency:
Multithread safe.
Resource Use:
No special requirements.
Other Considerations:
None.
virtual ~ TPainter ()
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:
Multithread safe.
Other Considerations:
None.
- TPainter ()
- TPainter (const TPainter & source)
Interface Category:
API.
Purpose:
- Default constructor.
- Copy constructor.
Calling Context:
- Called by the stream-in operators and derived classes.
- Called to copy an object.
Parameters:
- Takes no parameters.
- const TPainter & source -The object to be copied.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Multithread safe.
Other Considerations:
None.
Member Function: TPainter::operator=
const TPainter & operator =(const TPainter & source)
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:
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.