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 172 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 183 of file types.h.

References fawkes::point_struct::x, fawkes::cart_coord_2d_struct::x, fawkes::point_struct::y, 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 173 of file types.h.

◆ height

float fawkes::ellipse_struct::height

The total height of the ellipse.

Definition at line 175 of file types.h.

◆ width

float fawkes::ellipse_struct::width

The total width of the ellipse.

Definition at line 174 of file types.h.


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