Class TFillPolyInfo

Unit

Declaration

type TFillPolyInfo = class(TCustomFillPolyInfo)

Description

Fill information for a polygon

Hierarchy

Overview

Fields

Protected FCurSlice: integer;
Protected FMaxIntersection: integer;
Protected FSlices: array of TPolySlice;

Methods

Public constructor Create(const points: array of TPointF; APixelCenteredCoordinates: boolean = true);
Public function GetSliceIndex: integer; override;
Protected function NbMaxIntersection: integer; override;
Protected procedure ComputeIntersection(cury: single; var inter: ArrayOfTIntersectionInfo; var nbInter: integer); override;

Description

Fields

Protected FCurSlice: integer;

This item has no description.

Protected FMaxIntersection: integer;

This item has no description.

Protected FSlices: array of TPolySlice;

This item has no description.

Methods

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

This item has no description.

Public function GetSliceIndex: integer; override;

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

can be called after ComputeAndSort or ComputeIntersection to determine the current horizontal slice so that it can be checked if the intermediates scanlines can be skipped

Protected function NbMaxIntersection: integer; override;

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

returns maximum of intersection per line

Protected procedure ComputeIntersection(cury: single; var inter: ArrayOfTIntersectionInfo; var nbInter: integer); override;

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

compute intersections. the array must be big enough