Class TCustomizedFont
Unit
CastleFonts
Declaration
type TCustomizedFont = class(TCastleFont)
Description
Font that uses another TCastleFont for rendering and sizing, but modifies the underlying font size (by simple scaling). Simply set the Size property of this instance to non-zero to force the specific size.
The underlying font properties remain unchanged (so it can be still used for other purposes, directly or by other TCustomizedFont wrappers).
Do not get / set the Scale property of this instance, it will not do anything in current implementation and should always stay equal to 1.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
procedure Notification(AComponent: TComponent; Operation: TOperation); override; |
|
 |
constructor Create(AOwner: TComponent); override; |
|
 |
destructor Destroy; override; |
|
 |
procedure PrepareResources; override; |
|
 |
procedure Print(const X, Y: Integer; const Color: TCastleColor; const S: string); override; |
|
 |
function TextWidth(const S: string): Integer; override; |
|
 |
function TextHeight(const S: string): Integer; override; |
|
 |
function TextHeightBase(const S: string): Integer; override; |
|
 |
function RealSize: Single; override; |
|
Properties
 |
property SourceFont: TCastleFont read FSourceFont write SetSourceFont; |
|
Generated by PasDoc 0.15.0.
|