Class TOutlineFont

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TOutlineFont = class(TObject)

Description

Hierarchy

  • TObject
  • TOutlineFont

Overview

Fields

Public Data: TOutlineFontArray;

Methods

Public function Descend: Single;
Public function RowHeight: Single;
Public function TextWidth(const s: string): Single;
Public function TextHeight(const s: string): Single;

Description

Fields

Public Data: TOutlineFontArray;
 

Methods

Public function Descend: Single;

Calculate the height below the font baseline. This calculates the descend really simply ,as the height of letter "y" minus height of the letter "a". This will work Ok (and fast) for normal fonts.

Public function RowHeight: Single;

Calculate row height. Simply, as the height of 'Mg' string.

Public function TextWidth(const s: string): Single;
 
Public function TextHeight(const s: string): Single;
 

Generated by PasDoc 0.12.1 on 2013-02-04 20:26:51