Class TBGLRenderedFont
Unit
BGRAFontGL
Declaration
type TBGLRenderedFont = class(TBGLCustomFont, IBGLRenderedFont)
Description
Implementation of font rendering by using a bitmap cache
Hierarchy
Overview
Fields
Methods
Properties
Description
Fields
|
FRendererOwned: boolean; |
This item has no description. |
Methods
|
constructor Create(ARenderer: TBGRACustomFontRenderer; ARendererOwned: boolean = true); |
This item has no description. |
|
function TextHeight(const Text: UTF8String; AWidth: single): single; override; |
This item has no description. |
|
function TextHeight(const Text: UTF8String): single; override; |
This item has no description. |
|
function TextWidth(const Text: UTF8String): single; override; |
This item has no description. |
|
function CreateGlyph(AIdentifier: string): TRenderedGlyph; virtual; |
This item has no description. |
|
function GetClipped: boolean; override; |
This item has no description. |
|
function GetUseGradientColors: boolean; override; |
This item has no description. |
|
function GetWrappedLines(ATextUTF8: string; AWidth: single): TStringList; |
This item has no description. |
|
function LoadFromFile(AFilename: UTF8String): boolean; override; |
This item has no description. |
|
procedure FreeMemory; override; |
This item has no description. |
|
procedure SetGradientColors(ATopLeft, ATopRight, ABottomRight, ABottomLeft: TBGRAPixel); override; |
This item has no description. |
|
procedure CopyFontToRenderer; virtual; |
This item has no description. |
|
procedure DefaultWordBreakHandler(var ABefore, AAfter: string); |
This item has no description. |
|
procedure DiscardGlyphs; virtual; |
This item has no description. |
|
procedure DoTextOut(X, Y: Single; const Text : UTF8String; AColor: TBGRAPixel); overload; override; |
This item has no description. |
|
procedure DoTextOut(X, Y: Single; const Text : UTF8String; AColor: TBGRAPixel; AHorizontalAlign: TAlignment; AVerticalAlign: TTextLayout); overload; virtual; |
This item has no description. |
|
procedure DoTextRect(X, Y, Width, Height: Single; const Text : UTF8String; AColor: TBGRAPixel); override; |
This item has no description. |
|
procedure FreeMemoryOnDestroy; override; |
This item has no description. |
|
procedure SetClipped(AValue: boolean); override; |
This item has no description. |
|
procedure SetUseGradientColors(AValue: boolean); override; |
This item has no description. |
|
procedure SplitText(var ATextUTF8: string; AMaxWidth: single; out ARemainsUTF8: string); |
This item has no description. |
Properties
|
property BackgroundColor: TBGRAPixel read GetBackgroundColor write SetBackgroundColor; |
This item has no description. |
|
property Color: TBGRAPixel read GetColor write SetColor; |
This item has no description. |
|
property EmHeight: integer read GetFontEmHeight write SetFontEmHeight; |
This item has no description. |
|
property FullHeight: integer read GetFontFullHeight write SetFontFullHeight; |
This item has no description. |
|
property Glyph[AIdentifier: string]: TRenderedGlyph read GetGlyph; |
This item has no description. |
|
property HorizontalOverflow: single read GetHorizontalOverflow write SetHorizontalOverflow; |
This item has no description. |
|
property Name: string read GetName write SetName; |
This item has no description. |
|
property Quality: TBGRAFontQuality read GetQuality write SetQuality; |
This item has no description. |
|
property Style: TFontStyles read GetStyle write SetStyle; |
This item has no description. |
|
property VerticalOverflow: single read GetVerticalOverflow write SetVerticalOverflow; |
This item has no description. |
|
property WordBreakHandler: TWordBreakHandler read FWordBreakHandler write FWordBreakHandler; |
This item has no description. |