Class TCustomFillPolyInfo

Unit

Declaration

type TCustomFillPolyInfo = class(TFillShapeInfo)

Description

Abstract class to provide fill information for a polygon

Hierarchy

Overview

Fields

Protected FBoundsF: TRectF;
Protected FPoints: array of TCustomPointRecord;
Protected FSegmentsDataCreated: boolean;

Methods

Public constructor Create(const points: array of TPointF; APixelCenteredCoordinates: boolean = true);
Public destructor Destroy; override;
Public function CreateIntersectionArray: ArrayOfTIntersectionInfo; override;
Public function CreateSegmentData(numPt, nextPt: integer; ASeg: PCustomPointRecord): pointer; virtual;
Public function GetBounds: TRect; override;
Public function GetBoundsF: TRectF;
Protected function NbMaxIntersection: integer; override;
Public procedure FreeSegmentData(data: pointer); virtual;
Protected procedure CreateSegmentsData; virtual;
Protected procedure InitPoints(const points: array of TPointF);
Protected procedure SetIntersectionValues(AInter: TIntersectionInfo; AInterX: Single; AWinding, ANumSegment: integer; dy: single; AData: pointer); virtual;

Properties

Public property NbPoints: integer read GetNbPoints;

Description

Fields

Protected FBoundsF: TRectF;

This item has no description.

Protected FPoints: array of TCustomPointRecord;

This item has no description.

Protected FSegmentsDataCreated: boolean;

This item has no description.

Methods

Public constructor Create(const points: array of TPointF; APixelCenteredCoordinates: boolean = true);

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public 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

Public function CreateSegmentData(numPt, nextPt: integer; ASeg: PCustomPointRecord): pointer; virtual;

This item has no description.

Public function GetBounds: TRect; override;

This item has no description. Showing description inherited from TFillShapeInfo.GetBounds.

returns integer bounds

Public function GetBoundsF: TRectF;

This item has no description.

Protected function NbMaxIntersection: integer; override;

This item has no description. Showing description inherited from TFillShapeInfo.NbMaxIntersection.

returns maximum of intersection per line

Public procedure FreeSegmentData(data: pointer); virtual;

This item has no description.

Protected procedure CreateSegmentsData; virtual;

This item has no description.

Protected procedure InitPoints(const points: array of TPointF);

This item has no description.

Protected procedure SetIntersectionValues(AInter: TIntersectionInfo; AInterX: Single; AWinding, ANumSegment: integer; dy: single; AData: pointer); virtual;

This item has no description.

Properties

Public property NbPoints: integer read GetNbPoints;

This item has no description.