Class TFirePainter
Unit
Declaration
type TFirePainter = class(TObject)
Description
Hierarchy
- TObject
- TFirePainter
Overview
Methods
![]() |
constructor Create(Canvas: TCanvas; AbsoluteOpacity: Single = 1.0); overload; |
![]() |
constructor Create(Control: TControl); overload; |
![]() |
destructor Destroy; override; |
![]() |
function GetFont: TFont; |
![]() |
procedure SetFont(const Font: TFont); |
![]() |
procedure DrawRect(const R: TRect; const Color: TAlphaColor); overload; |
![]() |
procedure DrawRect(const R: TRect); overload; |
![]() |
procedure DrawRoundedRect(const R: TRect; const Color: TAlphaColor; RadiusX, RadiusY: Integer); |
![]() |
procedure FillRect(const R: TRect; const Color: TAlphaColor); overload; |
![]() |
procedure FillRect(const R: TRect; const Brush: TBrush); overload; |
![]() |
procedure FillRoundedRect(const R: TRect; const Color: TAlphaColor; RadiusX, RadiusY: Integer); |
![]() |
procedure DrawLine(const P1: TPoint; const P2: TPoint); overload; |
![]() |
procedure DrawLine(const Line: TFireLine); overload; |
![]() |
procedure Translate(const OffsetX, OffsetY: Integer); |
![]() |
procedure SetScale(const AScaleX, AScaleY: Integer); |
![]() |
procedure Rotate(const Angle: Integer); |
![]() |
procedure DrawText(const R: TRect; const Text: String; const WordWrap: Boolean; const Flags: TFillTextFlags; const Alignment: TAlignment = TAlignment.taLeftJustify; VerticalAlignment: TVerticalAlignment = TVerticalAlignment.taVerticalCenter; Trimming: TTextTrimming = TTextTrimming.None); |
![]() |
procedure DrawBitmap(const Pos: TPoint; const Bitmap: TBitmap; const SrcRect: TRect; HighSpeed: Boolean = True); overload; |
![]() |
procedure DrawBitmap(const R: TRect; const Bitmap: TBitmap; const SrcRect: TRect; HighSpeed: Boolean = True); overload; |
![]() |
procedure DrawBitmap(const Pos: TPoint; const Bitmap: TBitmap; HighSpeed: Boolean = True); overload; |
![]() |
procedure DrawBitmap(const R: TRect; const Bitmap: TBitmap; HighSpeed: Boolean = True); overload; |
![]() |
procedure DrawPolygon(const Points: TPolygon); |
![]() |
procedure FillPolygon(const Points: TPolygon); |
![]() |
procedure DrawPath(Path: TFirePainterPath); |
![]() |
procedure FillPath(Path: TFirePainterPath; const ABrush: TBrush = nil); |
![]() |
procedure SetPenColor(const Color: TAlphaColor); |
![]() |
procedure SetFillColor(const Color: TAlphaColor); |
![]() |
procedure SetPenDash(Dash: TStrokeDash); |
![]() |
procedure SetPenThickness(const Thickness: Integer); |
![]() |
procedure SetPenBrush(const Brush: TBrush); |
![]() |
procedure SetTextColor(const Color: TAlphaColor); |
![]() |
procedure SetPlatformCanvas(Canvas: TCanvas); |
![]() |
procedure Clear(const Color: TAlphaColor); |
![]() |
procedure ClearRect(const R: TRect; const Color: TAlphaColor); |
![]() |
procedure IntersectClipRect(const R: TRect); |
![]() |
function FromPixelRect(const R: TRect): TRectF; |
![]() |
function FromPixelPoint(const P: TPoint): TPointF; |
![]() |
function ToPixelRect(const R: TRectF): TRect; |
![]() |
function ToPixelPoint(const P: TPointF): TPoint; |
![]() |
function GetScaleFactor: Single; |
![]() |
function BoundedText(const Text: String; const WordWrap: Boolean = False; const Font: TFont = nil): TSize; overload; |
![]() |
function BoundedText(const Rect: TRect; const Text: String; const WordWrap: Boolean = False; const Font: TFont = nil): TSize; overload; |
![]() |
function FontHeight(const Font: TFont = nil): Integer; |
![]() |
procedure Save; |
![]() |
procedure Restore; |
Properties
![]() |
property PlatformCanvas: TCanvas read FPlatformCanvas; |
![]() |
property Opacity: Single read GetOpacity write FOpacity; |
![]() |
property Font: TFont read GetFont write SetFont; |
![]() |
property ScaleFactor: Single read GetScaleFactor; |
Description
Methods
![]() |
constructor Create(Canvas: TCanvas; AbsoluteOpacity: Single = 1.0); overload; |
![]() |
constructor Create(Control: TControl); overload; |
![]() |
destructor Destroy; override; |
![]() |
function GetFont: TFont; |
![]() |
procedure SetFont(const Font: TFont); |
![]() |
procedure DrawRect(const R: TRect; const Color: TAlphaColor); overload; |
![]() |
procedure DrawRect(const R: TRect); overload; |
![]() |
procedure DrawRoundedRect(const R: TRect; const Color: TAlphaColor; RadiusX, RadiusY: Integer); |
![]() |
procedure FillRect(const R: TRect; const Color: TAlphaColor); overload; |
![]() |
procedure FillRect(const R: TRect; const Brush: TBrush); overload; |
![]() |
procedure FillRoundedRect(const R: TRect; const Color: TAlphaColor; RadiusX, RadiusY: Integer); |
![]() |
procedure DrawLine(const P1: TPoint; const P2: TPoint); overload; |
![]() |
procedure DrawLine(const Line: TFireLine); overload; |
![]() |
procedure Translate(const OffsetX, OffsetY: Integer); |
![]() |
procedure SetScale(const AScaleX, AScaleY: Integer); |
![]() |
procedure Rotate(const Angle: Integer); |
![]() |
procedure DrawBitmap(const Pos: TPoint; const Bitmap: TBitmap; const SrcRect: TRect; HighSpeed: Boolean = True); overload; |
![]() |
procedure DrawBitmap(const R: TRect; const Bitmap: TBitmap; const SrcRect: TRect; HighSpeed: Boolean = True); overload; |
![]() |
procedure DrawBitmap(const Pos: TPoint; const Bitmap: TBitmap; HighSpeed: Boolean = True); overload; |
![]() |
procedure DrawBitmap(const R: TRect; const Bitmap: TBitmap; HighSpeed: Boolean = True); overload; |
![]() |
procedure DrawPolygon(const Points: TPolygon); |
![]() |
procedure FillPolygon(const Points: TPolygon); |
![]() |
procedure DrawPath(Path: TFirePainterPath); |
![]() |
procedure FillPath(Path: TFirePainterPath; const ABrush: TBrush = nil); |
![]() |
procedure SetPenColor(const Color: TAlphaColor); |
![]() |
procedure SetFillColor(const Color: TAlphaColor); |
![]() |
procedure SetPenDash(Dash: TStrokeDash); |
![]() |
procedure SetPenThickness(const Thickness: Integer); |
![]() |
procedure SetPenBrush(const Brush: TBrush); |
![]() |
procedure SetTextColor(const Color: TAlphaColor); |
![]() |
procedure SetPlatformCanvas(Canvas: TCanvas); |
![]() |
procedure Clear(const Color: TAlphaColor); |
![]() |
procedure ClearRect(const R: TRect; const Color: TAlphaColor); |
![]() |
procedure IntersectClipRect(const R: TRect); |
![]() |
function FromPixelRect(const R: TRect): TRectF; |
![]() |
function FromPixelPoint(const P: TPoint): TPointF; |
![]() |
function ToPixelRect(const R: TRectF): TRect; |
![]() |
function ToPixelPoint(const P: TPointF): TPoint; |
![]() |
function GetScaleFactor: Single; |
![]() |
function BoundedText(const Text: String; const WordWrap: Boolean = False; const Font: TFont = nil): TSize; overload; |
![]() |
function BoundedText(const Rect: TRect; const Text: String; const WordWrap: Boolean = False; const Font: TFont = nil): TSize; overload; |
![]() |
function FontHeight(const Font: TFont = nil): Integer; |
![]() |
procedure Save; |
![]() |
procedure Restore; |
Properties
![]() |
property PlatformCanvas: TCanvas read FPlatformCanvas; |
![]() |
property Opacity: Single read GetOpacity write FOpacity; |
![]() |
property Font: TFont read GetFont write SetFont; |
![]() |
property ScaleFactor: Single read GetScaleFactor; |
Generated by PasDoc 0.15.0.