eina_rectangle.h File Reference

Data Structures

struct  _Eina_Rectangle
 To be documented FIXME: To be fixed. More...



#define EINA_RECTANGLE_SET(Rectangle, X, Y, W, H)
typedef struct _Eina_Rectangle Eina_Rectangle
 To be documented FIXME: To be fixed.
typedef struct _Eina_Rectangle_Pool Eina_Rectangle_Pool
static Eina_Bool EINA_WARN_UNUSED_RESULT
static int eina_spans_intersect (int c1, int l1, int c2, int l2) EINA_CONST EINA_WARN_UNUSED_RESULT
static Eina_Bool eina_rectangle_is_empty (const Eina_Rectangle *r) EINA_PURE EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT
static void eina_rectangle_coords_from (Eina_Rectangle *r, int x, int y, int w, int h) EINA_ARG_NONNULL(1)
static Eina_Bool eina_rectangles_intersect (const Eina_Rectangle *r1, const Eina_Rectangle *r2) EINA_PURE EINA_ARG_NONNULL(1
static Eina_Bool eina_rectangle_xcoord_inside (const Eina_Rectangle *r, int x) EINA_PURE EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT
static Eina_Bool eina_rectangle_ycoord_inside (const Eina_Rectangle *r, int y) EINA_PURE EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT
static Eina_Bool eina_rectangle_coords_inside (const Eina_Rectangle *r, int x, int y) EINA_PURE EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT
static void eina_rectangle_union (Eina_Rectangle *dst, const Eina_Rectangle *src) EINA_ARG_NONNULL(1
static void static Eina_Bool eina_rectangle_intersection (Eina_Rectangle *dst, const Eina_Rectangle *src) EINA_ARG_NONNULL(1
static void eina_rectangle_rescale_in (const Eina_Rectangle *out, const Eina_Rectangle *in, Eina_Rectangle *res) EINA_ARG_NONNULL(1
static void static void eina_rectangle_rescale_out (const Eina_Rectangle *out, const Eina_Rectangle *in, Eina_Rectangle *res) EINA_ARG_NONNULL(1
static void static void EAPI int eina_rectangle_init (void)
EAPI int eina_rectangle_shutdown (void)
EAPI Eina_Rectangle_Pool * eina_rectangle_pool_new (int w, int h) EINA_MALLOC EINA_WARN_UNUSED_RESULT
EAPI Eina_Rectangle_Pool * eina_rectangle_pool_get (Eina_Rectangle *rect) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1)
EAPI Eina_Bool eina_rectangle_pool_geometry_get (Eina_Rectangle_Pool *pool, int *w, int *h) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT
EAPI void * eina_rectangle_pool_data_get (Eina_Rectangle_Pool *pool) EINA_PURE EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1)
EAPI void eina_rectangle_pool_data_set (Eina_Rectangle_Pool *pool, const void *data) EINA_ARG_NONNULL(1)
EAPI void eina_rectangle_pool_free (Eina_Rectangle_Pool *pool) EINA_ARG_NONNULL(1)
EAPI int eina_rectangle_pool_count (Eina_Rectangle_Pool *pool) EINA_PURE EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT
EAPI Eina_Rectangleeina_rectangle_pool_request (Eina_Rectangle_Pool *pool, int w, int h) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1)
EAPI void eina_rectangle_pool_release (Eina_Rectangle *rect) EINA_ARG_NONNULL(1)
EAPI Eina_Rectangleeina_rectangle_new (int x, int y, int w, int h) EINA_MALLOC EINA_WARN_UNUSED_RESULT
EAPI void eina_rectangle_free (Eina_Rectangle *rect) EINA_ARG_NONNULL(1)

Detailed Description


Define Documentation

#define EINA_RECTANGLE_SET ( Rectangle,
X,
Y,
W,
 ) 
Value:
(Rectangle)->x = X;         \
  (Rectangle)->y = Y;         \
  (Rectangle)->w = W;         \
  (Rectangle)->h = H;