Unit AdFont

DescriptionusesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

This unit contains the TAdFont class, which draws the font and the TAdTypeSetter class, which sets the text.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TAdTypeSetter Abstract class that represents a type setter for Andorra 2D bitmap fonts.
Class TAdSimpleTypeSetter TAdSimpleTypeSetter is the standard type setter of Andorra 2D.
Class TAdFont TAdFont is the base class that copes with text output.

Types

TAdFontDrawMode = (...);
TAdFontDrawModes = set of TAdFontDrawMode;
TAdTypeSetterClass = class of TAdTypeSetter;
PAdFont = ˆTAdFont;

Description

Types

TAdFontDrawMode = (...);

Defines how the TextOutEx function should print the text

Values
  • dtBottom: The font is aligned at the bottom of the target rectangle
  • dtTop: The font is aligned at the top of the target rectangle
  • dtMiddle: The font is aligned in the horizontal center of the target rectangle
  • dtLeft: The font is aligned at the left side of the target rectangle
  • dtRight: The font is aligned at the right side of the target rectangle
  • dtCenter: The font is aligned in the vertical center of the target rectangle
  • dtWordWrap: Defines whether word wrap is activated
  • dtCharWrap: Defines whether single chars can seperated by the type setter
  • dtDoLineFeeds: Defines whether line breaks can be done
  • dtCut: Defines whether the target rectangle should be used as a scissor rectangle
TAdFontDrawModes = set of TAdFontDrawMode;

A set of the draw type, used by TAdFont.FontOutEx

TAdTypeSetterClass = class of TAdTypeSetter;

A class of TAdTypeSetter.

PAdFont = ˆTAdFont;

Pointer on TAdFont.

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:31:59