Class TCustomFillPolyInfo
Unit
Declaration
type TCustomFillPolyInfo = class(TFillShapeInfo)
Description
Abstract class to provide fill information for a polygon
Hierarchy
- TObject
- TBGRACustomFillInfo
- TFillShapeInfo
- TCustomFillPolyInfo
Overview
Fields
FBoundsF: TRectF; |
|
FPoints: array of TCustomPointRecord; |
|
FSegmentsDataCreated: boolean; |
Methods
constructor Create(const points: array of TPointF; APixelCenteredCoordinates: boolean = true); |
|
destructor Destroy; override; |
|
function CreateIntersectionArray: ArrayOfTIntersectionInfo; override; |
|
function CreateSegmentData(numPt, nextPt: integer; ASeg: PCustomPointRecord): pointer; virtual; |
|
function GetBounds: TRect; override; |
|
function GetBoundsF: TRectF; |
|
function NbMaxIntersection: integer; override; |
|
procedure FreeSegmentData(data: pointer); virtual; |
|
procedure CreateSegmentsData; virtual; |
|
procedure InitPoints(const points: array of TPointF); |
|
procedure SetIntersectionValues(AInter: TIntersectionInfo; AInterX: Single; AWinding, ANumSegment: integer; dy: single; AData: pointer); virtual; |
Properties
property NbPoints: integer read GetNbPoints; |
Description
Fields
FBoundsF: TRectF; |
|
This item has no description. |
FPoints: array of TCustomPointRecord; |
|
This item has no description. |
FSegmentsDataCreated: boolean; |
|
This item has no description. |
Methods
constructor Create(const points: array of TPointF; APixelCenteredCoordinates: boolean = true); |
|
This item has no description. |
destructor Destroy; override; |
|
This item has no description. |
function CreateIntersectionArray: ArrayOfTIntersectionInfo; override; |
|
This item has no description. Showing description inherited from TFillShapeInfo.CreateIntersectionArray. create an array that will contain computed intersections. you may augment, in this case, use CreateIntersectionInfo for new items |
function CreateSegmentData(numPt, nextPt: integer; ASeg: PCustomPointRecord): pointer; virtual; |
|
This item has no description. |
function GetBounds: TRect; override; |
|
This item has no description. Showing description inherited from TFillShapeInfo.GetBounds. returns integer bounds |
function GetBoundsF: TRectF; |
|
This item has no description. |
function NbMaxIntersection: integer; override; |
|
This item has no description. Showing description inherited from TFillShapeInfo.NbMaxIntersection. returns maximum of intersection per line |
procedure FreeSegmentData(data: pointer); virtual; |
|
This item has no description. |
procedure CreateSegmentsData; virtual; |
|
This item has no description. |
procedure InitPoints(const points: array of TPointF); |
|
This item has no description. |
procedure SetIntersectionValues(AInter: TIntersectionInfo; AInterX: Single; AWinding, ANumSegment: integer; dy: single; AData: pointer); virtual; |
|
This item has no description. |
Properties
property NbPoints: integer read GetNbPoints; |
|
This item has no description. |