Class TOnePassFillPolyInfo
Unit
Declaration
type TOnePassFillPolyInfo = class(TCustomFillPolyInfo)
Description
Fill information for a polygon assuming that queries are always in increasying Y.
Hierarchy
- TObject
- TBGRACustomFillInfo
- TFillShapeInfo
- TCustomFillPolyInfo
- TOnePassFillPolyInfo
Overview
Fields
FFirstDrawing: POnePassRecord; |
|
FFirstWaiting: POnePassRecord; |
|
FOnePass: array of TOnePassRecord; |
|
FShouldInitializeDrawing: boolean; |
|
FSliceIndex: integer; |
|
FSortedByY: array of POnePassRecord; |
Methods
constructor Create(const points: array of TPointF; APixelCenteredCoordinates: boolean = true); |
|
function CreateIntersectionArray: ArrayOfTIntersectionInfo; override; |
|
function GetSliceIndex: integer; override; |
|
procedure ComputeIntersection(cury: single; var inter: ArrayOfTIntersectionInfo; var nbInter: integer); override; |
Description
Fields
FFirstDrawing: POnePassRecord; |
|
This item has no description. |
FFirstWaiting: POnePassRecord; |
|
This item has no description. |
FOnePass: array of TOnePassRecord; |
|
This item has no description. |
FShouldInitializeDrawing: boolean; |
|
This item has no description. |
FSliceIndex: integer; |
|
This item has no description. |
FSortedByY: array of POnePassRecord; |
|
This item has no description. |
Methods
constructor Create(const points: array of TPointF; APixelCenteredCoordinates: boolean = true); |
|
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 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 |
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 |