[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'FPCanvas' (#fcl)

# TFPCustomDrawFont

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TFPCustomDrawFont - base class for drawing fonts

## Declaration

Source position: fpcanvas.pp line 316

`type TFPCustomDrawFont = class(TFPCustomFont)`
`protected`
`procedure DoDrawText(); virtual; abstract;` |  | DoDrawText - method for drawing text
`procedure DoGetTextSize(); virtual; abstract;` |  | DoGetTextSize - method for finding size of text
`function DoGetTextHeight(); virtual; abstract;` |  | DoGetTextHeight - returns height of text
`function DoGetTextWidth(); virtual; abstract;` |  | DoGetTextWidth - returns width of text
`end;`

## Inheritance

`TFPCustomDrawFont` |  | TFPCustomDrawFont - base class for drawing fonts
`TFPCustomFont` |  | TFPCustomFont - FreePascal base class for Fonts
`TFPCanvasHelper` |  | TFPCanvasHelper - FreePascal base class providing utilities for drawing and painting canvases
`TPersistent`
`TObject`

The latest version of this document can be found at lazarus-ccr.sourceforge.net .