Class TFillBorderEllipseInfo

Unit

Declaration

type TFillBorderEllipseInfo = class(TFillShapeInfo)

Description

Fill information for the border of an ellipse

Hierarchy

Overview

Methods

Public constructor Create(x, y, rx, ry, w: single);
Public destructor Destroy; override;
Public function GetBounds: TRect; override;
Public function GetSliceIndex: integer; override;
Public function SegmentsCurved: boolean; override;
Protected function NbMaxIntersection: integer; override;
Protected procedure ComputeIntersection(cury: single; var inter: ArrayOfTIntersectionInfo; var nbInter: integer); override;

Properties

Public property InnerBorder: TFillEllipseInfo read FInnerBorder;
Public property OuterBorder: TFillEllipseInfo read FOuterBorder;

Description

Methods

Public constructor Create(x, y, rx, ry, w: single);

This item has no description.

Public destructor Destroy; override;

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

Public function SegmentsCurved: boolean; override;

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

returns true if the same segment number can be curved

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

Properties

Public property InnerBorder: TFillEllipseInfo read FInnerBorder;

This item has no description.

Public property OuterBorder: TFillEllipseInfo read FOuterBorder;

This item has no description.