CFBD_GraphicEllipse¶
Module: Ellipse Drawing
Represents an ellipse defined by center point and two radii. More...
#include <ellipse.h>
Detailed Description¶
Represents an ellipse defined by center point and two radii.
This structure defines an ellipse in 2D space using a center point and separate radii for the X and Y axes. This allows for efficient rendering of circles (when X_Radius == Y_Radius) and ellipses with arbitrary dimensions.
The ellipse is defined by:
- A center point (center)
- Horizontal radius extending from center along X-axis (X_Radius)
- Vertical radius extending from center along Y-axis (Y_Radius)
The rendering is typically done using the Midpoint Ellipse Algorithm, which provides accurate rasterization with good performance.
Updated on 2026-02-03 at 13:21:55 +0000