Class: TBitmapGlyphPainter

Declaration: BitmapGlyphPainter.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TPainter

Inherited By:

None.

Purpose:

The TBitmapGlyphPainter class derives from the base class that establishes painters. Painters are responsible for colors and patterns for graphics and images, and are associated to frame buffers. The TBitmapGlyphPainter class handles the rendering of the font elements (glyphs).

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Derive from this class for specialized bitmap glyph painter for different kinds of pixel buffers. One example of these derived classes is TGenericBitmapGlyphPainter.

Concurrency:

Multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TBitmapGlyphPainter::~TBitmapGlyphPainter

virtual ~ TBitmapGlyphPainter ()

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.

Member Function: TBitmapGlyphPainter::PaintGlyph

  1. virtual void PaintGlyph (GDevCoordinate dsty, GDevCoordinate dstx, const TGlyphPixmapMetrics & metrics, GlyphPixmapPtr pixmapBits)
  2. virtual void PaintGlyph (GDevCoordinate dsty, GDevCoordinate dstx, const TGlyphPixmapMetrics & metrics, GlyphPixmapPtr pixmapBits, const TLongRect & rectClipper)

Interface Category:

API.

Purpose:

  1. Renders one glyph to the device.
  2. Renders one glyph to the device, clipped to the specified rectangular region.

Calling Context:

  1. Call this function directly.
  2. Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TBitmapGlyphPainter::TBitmapGlyphPainter

  1. TBitmapGlyphPainter ()
  2. TBitmapGlyphPainter (const TBitmapGlyphPainter & source)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Copy constructor.

Calling Context:

  1. Called by the stream-in operators and can be called directly.
  2. Called to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TBitmapGlyphPainter::operator=

const TBitmapGlyphPainter & operator =( const TBitmapGlyphPainter & 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.