Fawkes API Fawkes Development Version
fawkes::ellipse_struct Struct Reference

Defines an ellipse. More...

#include <types.h>

Public Member Functions

 ellipse_struct (float x, float y, float w, float h)
 Constructur. More...
 

Public Attributes

cart_coord_2d_t center
 The center point of the ellipse. More...
 
float width
 The total width of the ellipse. More...
 
float height
 The total height of the ellipse. More...
 

Detailed Description

Defines an ellipse.

Definition at line 194 of file types.h.

Constructor & Destructor Documentation

◆ ellipse_struct()

fawkes::ellipse_struct::ellipse_struct ( float  x,
float  y,
float  w,
float  h 
)
inline

Constructur.

Parameters
xThe x-coordinate of the center of the ellipse
yThe y-coordinate of the center of the ellipse
wThe total width of the ellipse
hThe total height of the ellipse

Definition at line 206 of file types.h.

References fawkes::cart_coord_2d_struct::x, and fawkes::cart_coord_2d_struct::y.

Member Data Documentation

◆ center

cart_coord_2d_t fawkes::ellipse_struct::center

The center point of the ellipse.

Definition at line 196 of file types.h.

◆ height

float fawkes::ellipse_struct::height

The total height of the ellipse.

Definition at line 198 of file types.h.

◆ width

float fawkes::ellipse_struct::width

The total width of the ellipse.

Definition at line 197 of file types.h.


The documentation for this struct was generated from the following file: