Quadrangles

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files
- Examples

Data Structures | Typedefs | Functions
Quadrangles

Quadrangles operations. More...

## Data Structures
struct | _Eina_Quad
| Quadrangle definition. More...

## Typedefs
typedef struct _Eina_Quad | Eina_Quad
| Quadrangle definition.

## Functions
void | eina_quad_rectangle_to (const Eina_Quad *q, Eina_Rectangle *r)
void | eina_quad_rectangle_from (Eina_Quad *q, const Eina_Rectangle *r)
void | eina_quad_coords_set (Eina_Quad *q, double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4)
void | eina_quad_coords_get (const Eina_Quad *q, double *x1, double *y1, double *x2, double *y2, double *x3, double *y3, double *x4, double *y4)

## Detailed Description

Quadrangles operations.

## Function Documentation

void eina_quad_rectangle_to | ( | const Eina_Quad * | q,
|  | Eina_Rectangle * | r
| ) |  |

Since
  1.14

References _Eina_Rectangle::h, _Eina_Rectangle::w, _Eina_Rectangle::x, and _Eina_Rectangle::y.

void eina_quad_rectangle_from | ( | Eina_Quad * | q,
|  | const Eina_Rectangle * | r
| ) |  |

Since
  1.14

References _Eina_Rectangle::h, _Eina_Rectangle::w, _Eina_Rectangle::x, and _Eina_Rectangle::y.

void eina_quad_coords_set | ( | Eina_Quad * | q,
|  | double | x1,
|  | double | y1,
|  | double | x2,
|  | double | y2,
|  | double | x3,
|  | double | y3,
|  | double | x4,
|  | double | y4
| ) |  |

Since
  1.14

void eina_quad_coords_get | ( | const Eina_Quad * | q,
|  | double * | x1,
|  | double * | y1,
|  | double * | x2,
|  | double * | y2,
|  | double * | x3,
|  | double * | y3,
|  | double * | x4,
|  | double * | y4
| ) |  |

Since
  1.14

References _Eina_Quad::x0, _Eina_Quad::x1, _Eina_Quad::x2, _Eina_Quad::x3, _Eina_Quad::y0, _Eina_Quad::y1, _Eina_Quad::y2, and _Eina_Quad::y3.