Class TBGRAFreeTypeDrawer
Unit
Declaration
type TBGRAFreeTypeDrawer = class(TFreeTypeDrawer)
Description
Provides basic FreeType drawing by deriving the TFreeTypeDrawer type.
You can use it directly, but it is not recommended, because there are less text layout parameters. However, it is necessary if you want to create TBGRATextEffect objects using FreeType fonts.
Hierarchy
- TFreeTypeDrawer
- TBGRAFreeTypeDrawer
Overview
Fields
ClearTypeRGBOrder: boolean; |
|
Destination: TBGRACustomBitmap; |
|
OuterOutlineOnly: boolean; |
|
OutlineColor: TBGRAPixel; |
|
OutlineTexture: IBGRAScanner; |
|
OutlineVisible: boolean; |
|
Shader: TCustomPhongShading; |
|
ShaderActive: boolean; |
|
ShadowColor: TBGRAPixel; |
|
ShadowOffset: TPoint; |
|
ShadowQuality: TRadialBlurType; |
|
ShadowRadius: integer; |
|
ShadowVisible: boolean; |
|
Texture: IBGRAScanner; |
Methods
constructor Create(ADestination: TBGRACustomBitmap); |
|
destructor Destroy; override; |
|
function CreateTextEffect(AText: string; AFont: TFreeTypeRenderableFont): TBGRACustomTextEffect; |
|
procedure DrawGlyph(AGlyph: integer; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TFPColor); overload; override; |
|
procedure DrawGlyph(AGlyph: integer; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TBGRAPixel); overload; |
|
procedure DrawGlyph(AGlyph: integer; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TBGRAPixel; AAlign: TFreeTypeAlignments); overload; |
|
procedure DrawText(AText: string; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TBGRAPixel; AAlign: TFreeTypeAlignments); overload; |
|
procedure DrawText(AText: string; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TFPColor); overload; override; |
|
procedure DrawText(AText: string; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TBGRAPixel); overload; |
|
procedure DrawTextRect(AText: string; AFont: TFreeTypeRenderableFont; X1,Y1,X2,Y2: Single; AColor: TBGRAPixel; AAlign: TFreeTypeAlignments); overload; |
|
procedure DrawTextWordBreak(AText: string; AFont: TFreeTypeRenderableFont; x, y, AMaxWidth: Single; AColor: TBGRAPixel; AAlign: TFreeTypeAlignments); overload; |
Description
Fields
ClearTypeRGBOrder: boolean; |
|
This item has no description. |
Destination: TBGRACustomBitmap; |
|
This item has no description. |
OuterOutlineOnly: boolean; |
|
This item has no description. |
OutlineColor: TBGRAPixel; |
|
This item has no description. |
OutlineTexture: IBGRAScanner; |
|
This item has no description. |
OutlineVisible: boolean; |
|
This item has no description. |
Shader: TCustomPhongShading; |
|
This item has no description. |
ShaderActive: boolean; |
|
This item has no description. |
ShadowColor: TBGRAPixel; |
|
This item has no description. |
ShadowOffset: TPoint; |
|
This item has no description. |
ShadowQuality: TRadialBlurType; |
|
This item has no description. |
ShadowRadius: integer; |
|
This item has no description. |
ShadowVisible: boolean; |
|
This item has no description. |
Texture: IBGRAScanner; |
|
This item has no description. |
Methods
constructor Create(ADestination: TBGRACustomBitmap); |
|
This item has no description. |
destructor Destroy; override; |
|
This item has no description. |
function CreateTextEffect(AText: string; AFont: TFreeTypeRenderableFont): TBGRACustomTextEffect; |
|
This item has no description. |
procedure DrawGlyph(AGlyph: integer; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TFPColor); overload; override; |
|
This item has no description. |
procedure DrawGlyph(AGlyph: integer; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure DrawGlyph(AGlyph: integer; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TBGRAPixel; AAlign: TFreeTypeAlignments); overload; |
|
This item has no description. |
procedure DrawText(AText: string; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TBGRAPixel; AAlign: TFreeTypeAlignments); overload; |
|
This item has no description. |
procedure DrawText(AText: string; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TFPColor); overload; override; |
|
This item has no description. |
procedure DrawText(AText: string; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure DrawTextRect(AText: string; AFont: TFreeTypeRenderableFont; X1,Y1,X2,Y2: Single; AColor: TBGRAPixel; AAlign: TFreeTypeAlignments); overload; |
|
This item has no description. |
procedure DrawTextWordBreak(AText: string; AFont: TFreeTypeRenderableFont; x, y, AMaxWidth: Single; AColor: TBGRAPixel; AAlign: TFreeTypeAlignments); overload; |
|
This item has no description. |