Class TOnePassFillPolyInfo

Unit

Declaration

type TOnePassFillPolyInfo = class(TCustomFillPolyInfo)

Description

Fill information for a polygon assuming that queries are always in increasying Y.

Hierarchy

Overview

Fields

Protected FFirstDrawing: POnePassRecord;
Protected FFirstWaiting: POnePassRecord;
Protected FOnePass: array of TOnePassRecord;
Protected FShouldInitializeDrawing: boolean;
Protected FSliceIndex: integer;
Protected FSortedByY: array of POnePassRecord;

Methods

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

Description

Fields

Protected FFirstDrawing: POnePassRecord;

This item has no description.

Protected FFirstWaiting: POnePassRecord;

This item has no description.

Protected FOnePass: array of TOnePassRecord;

This item has no description.

Protected FShouldInitializeDrawing: boolean;

This item has no description.

Protected FSliceIndex: integer;

This item has no description.

Protected FSortedByY: array of POnePassRecord;

This item has no description.

Methods

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

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 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 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