enesim  0.0.23.1
Drawinglibrary
Data Structures | Defines | Functions
Rectangle
Basic types

Rectangle definition and operations. More...

Data Structures

struct  Enesim_Rectangle

Defines

#define ENESIM_RECTANGLE_FORMAT   "g %g - %gx%g"
#define ENESIM_RECTANGLE_ARGS(r)   (r)->x, (r)->y, (r)->w, (r)->h

Functions

EAPI void enesim_rectangle_union (Enesim_Rectangle *rr1, Enesim_Rectangle *rr2, Enesim_Rectangle *dst)

Detailed Description

Rectangle definition and operations.


Define Documentation

#define ENESIM_RECTANGLE_FORMAT   "g %g - %gx%g"

Helper macro for printf formatting

#define ENESIM_RECTANGLE_ARGS (   r)    (r)->x, (r)->y, (r)->w, (r)->h

Helper macro for printf formatting arg


Function Documentation

EAPI void enesim_rectangle_union ( Enesim_Rectangle rr1,
Enesim_Rectangle rr2,
Enesim_Rectangle dst 
)
 All Data Structures Variables