Table of Contents

TTMSFNCGraphics.DrawEllipse Method

Draws and fills an ellipse inscribed within the double-coordinate bounding box.

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphics

Overloads

Overload 1

Draws and fills an ellipse inscribed within the double-coordinate bounding box.

procedure DrawEllipse(ALeft, ATop, ARight, ABottom: Double; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); overload; virtual;

Parameters

Name Description
ALeft Left edge of the bounding box in floating-point pixels.
ATop Top edge of the bounding box in floating-point pixels.
ARight Right edge of the bounding box in floating-point pixels.
ABottom Bottom edge of the bounding box in floating-point pixels.
AModifyRectMode Pixel adjustment applied to the bounding box edges to align with the physical pixel grid.

Overload 2

Draws and fills an ellipse inscribed within the integer-coordinate bounding box.

procedure DrawEllipse(ALeft, ATop, ARight, ABottom: Integer; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); overload; virtual;

Parameters

Name Description
ALeft Left edge of the bounding box in integer pixels.
ATop Top edge of the bounding box in integer pixels.
ARight Right edge of the bounding box in integer pixels.
ABottom Bottom edge of the bounding box in integer pixels.
AModifyRectMode Pixel adjustment applied to the bounding box edges to align with the physical pixel grid.

Overload 3

Draws and fills an ellipse inscribed within a TRectF bounding box.

procedure DrawEllipse(ARect: TRectF; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); overload; virtual;

Parameters

Name Description
ARect Bounding rectangle in floating-point pixels.
AModifyRectMode Pixel adjustment applied to the bounding box edges to align with the physical pixel grid.

Overload 4

Draws and fills an ellipse inscribed within a TRect bounding box.

procedure DrawEllipse(ARect: TRect; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); overload; virtual;

Parameters

Name Description
ARect Bounding rectangle in integer pixels.
AModifyRectMode Pixel adjustment applied to the bounding box edges to align with the physical pixel grid.