Class TBGRAPolygonalGlyph

Unit

Declaration

type TBGRAPolygonalGlyph = class(TBGRAGlyph)

Description

Polygonal or curved glyph

Hierarchy

Overview

Fields

Protected FEasyBezier: TEasyBezierCurve;
Protected FQuadraticCurves: boolean;
Public Offset: TPointF;

Methods

Public constructor Create(AStream: TStream); override;
Public constructor Create(AIdentifier: string); override;
Public constructor Create(AStream: TStream; AQuadratic: boolean);
Protected function ContentSize: integer; override;
Protected function HeaderName: string; override;
Protected function PointTransformMatrix(APoint: PPointF; AData: pointer): TPointF;
Public procedure Path(ADest: IBGRAPath; AMatrix: TAffineMatrix; AReverse: boolean = false); override;
Public procedure SetPoints(const APoints: array of TPointF; const ACurveMode: array of TGlyphPointCurveMode); overload;
Public procedure SetPoints(const APoints: array of TPointF); overload;
Protected procedure Init;
Protected procedure ReadContent(AStream: TStream); override;
Protected procedure WriteContent(AStream: TStream); override;

Properties

Public property Closed: boolean read GetClosed write SetClosed;
Public property MinimumDotProduct: single read GetMinimumDotProduct write SetMinimumDotProduct;
Public property Point[AIndex: integer]: TPointF read GetPoint write SetPoint;
Public property PointCount: integer read GetPointCount;
Public property QuadraticCurves: boolean read FQuadraticCurves write SetQuadraticCurves;

Description

Fields

Protected FEasyBezier: TEasyBezierCurve;

This item has no description.

Protected FQuadraticCurves: boolean;

This item has no description.

Public Offset: TPointF;

This item has no description.

Methods

Public constructor Create(AStream: TStream); override;

This item has no description.

Public constructor Create(AIdentifier: string); override;

This item has no description.

Public constructor Create(AStream: TStream; AQuadratic: boolean);

This item has no description.

Protected function ContentSize: integer; override;

This item has no description.

Protected function HeaderName: string; override;

This item has no description.

Protected function PointTransformMatrix(APoint: PPointF; AData: pointer): TPointF;

This item has no description.

Public procedure Path(ADest: IBGRAPath; AMatrix: TAffineMatrix; AReverse: boolean = false); override;

This item has no description.

Public procedure SetPoints(const APoints: array of TPointF; const ACurveMode: array of TGlyphPointCurveMode); overload;

This item has no description.

Public procedure SetPoints(const APoints: array of TPointF); overload;

This item has no description.

Protected procedure Init;

This item has no description.

Protected procedure ReadContent(AStream: TStream); override;

This item has no description.

Protected procedure WriteContent(AStream: TStream); override;

This item has no description.

Properties

Public property Closed: boolean read GetClosed write SetClosed;

This item has no description.

Public property MinimumDotProduct: single read GetMinimumDotProduct write SetMinimumDotProduct;

This item has no description.

Public property Point[AIndex: integer]: TPointF read GetPoint write SetPoint;

This item has no description.

Public property PointCount: integer read GetPointCount;

This item has no description.

Public property QuadraticCurves: boolean read FQuadraticCurves write SetQuadraticCurves;

This item has no description.