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

Overview

Fields

Public ClearTypeRGBOrder: boolean;
Public Destination: TBGRACustomBitmap;
Public OuterOutlineOnly: boolean;
Public OutlineColor: TBGRAPixel;
Public OutlineTexture: IBGRAScanner;
Public OutlineVisible: boolean;
Public Shader: TCustomPhongShading;
Public ShaderActive: boolean;
Public ShadowColor: TBGRAPixel;
Public ShadowOffset: TPoint;
Public ShadowQuality: TRadialBlurType;
Public ShadowRadius: integer;
Public ShadowVisible: boolean;
Public Texture: IBGRAScanner;

Methods

Public constructor Create(ADestination: TBGRACustomBitmap);
Public destructor Destroy; override;
Public function CreateTextEffect(AText: string; AFont: TFreeTypeRenderableFont): TBGRACustomTextEffect;
Public procedure DrawGlyph(AGlyph: integer; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TFPColor); overload; override;
Public procedure DrawGlyph(AGlyph: integer; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TBGRAPixel); overload;
Public procedure DrawGlyph(AGlyph: integer; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TBGRAPixel; AAlign: TFreeTypeAlignments); overload;
Public procedure DrawText(AText: string; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TBGRAPixel; AAlign: TFreeTypeAlignments); overload;
Public procedure DrawText(AText: string; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TFPColor); overload; override;
Public procedure DrawText(AText: string; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TBGRAPixel); overload;
Public procedure DrawTextRect(AText: string; AFont: TFreeTypeRenderableFont; X1,Y1,X2,Y2: Single; AColor: TBGRAPixel; AAlign: TFreeTypeAlignments); overload;
Public procedure DrawTextWordBreak(AText: string; AFont: TFreeTypeRenderableFont; x, y, AMaxWidth: Single; AColor: TBGRAPixel; AAlign: TFreeTypeAlignments); overload;

Description

Fields

Public ClearTypeRGBOrder: boolean;

This item has no description.

Public Destination: TBGRACustomBitmap;

This item has no description.

Public OuterOutlineOnly: boolean;

This item has no description.

Public OutlineColor: TBGRAPixel;

This item has no description.

Public OutlineTexture: IBGRAScanner;

This item has no description.

Public OutlineVisible: boolean;

This item has no description.

Public Shader: TCustomPhongShading;

This item has no description.

Public ShaderActive: boolean;

This item has no description.

Public ShadowColor: TBGRAPixel;

This item has no description.

Public ShadowOffset: TPoint;

This item has no description.

Public ShadowQuality: TRadialBlurType;

This item has no description.

Public ShadowRadius: integer;

This item has no description.

Public ShadowVisible: boolean;

This item has no description.

Public Texture: IBGRAScanner;

This item has no description.

Methods

Public constructor Create(ADestination: TBGRACustomBitmap);

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public function CreateTextEffect(AText: string; AFont: TFreeTypeRenderableFont): TBGRACustomTextEffect;

This item has no description.

Public procedure DrawGlyph(AGlyph: integer; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TFPColor); overload; override;

This item has no description.

Public procedure DrawGlyph(AGlyph: integer; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TBGRAPixel); overload;

This item has no description.

Public procedure DrawGlyph(AGlyph: integer; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TBGRAPixel; AAlign: TFreeTypeAlignments); overload;

This item has no description.

Public procedure DrawText(AText: string; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TBGRAPixel; AAlign: TFreeTypeAlignments); overload;

This item has no description.

Public procedure DrawText(AText: string; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TFPColor); overload; override;

This item has no description.

Public procedure DrawText(AText: string; AFont: TFreeTypeRenderableFont; x,y: single; AColor: TBGRAPixel); overload;

This item has no description.

Public procedure DrawTextRect(AText: string; AFont: TFreeTypeRenderableFont; X1,Y1,X2,Y2: Single; AColor: TBGRAPixel; AAlign: TFreeTypeAlignments); overload;

This item has no description.

Public procedure DrawTextWordBreak(AText: string; AFont: TFreeTypeRenderableFont; x, y, AMaxWidth: Single; AColor: TBGRAPixel; AAlign: TFreeTypeAlignments); overload;

This item has no description.