2008-07-19 11:05:54 -07:00
|
|
|
#ifndef _EVAS_RECTANGLE_H
|
|
|
|
#define _EVAS_RECTANGLE_H
|
|
|
|
|
2012-11-28 11:17:00 -08:00
|
|
|
typedef void (*Evas_Common_Rectangle_Draw_Cb)(RGBA_Image *dst, RGBA_Draw_Context *dc, int x, int y, int w, int h);
|
2008-07-19 11:05:54 -07:00
|
|
|
|
2012-12-17 13:28:32 -08:00
|
|
|
EAPI void evas_common_rectangle_init (void);
|
|
|
|
EAPI void evas_common_rectangle_draw_cb (RGBA_Image *dst, RGBA_Draw_Context *dc, int x, int y, int w, int h, Evas_Common_Rectangle_Draw_Cb cb);
|
|
|
|
EAPI void evas_common_rectangle_draw (RGBA_Image *dst, RGBA_Draw_Context *dc, int x, int y, int w, int h);
|
2008-07-19 11:05:54 -07:00
|
|
|
|
2012-07-04 02:39:23 -07:00
|
|
|
EAPI void evas_common_rectangle_draw_do(const Cutout_Rects *reuse, const Eina_Rectangle *clip, RGBA_Image *dst, RGBA_Draw_Context *dc, int x, int y, int w, int h);
|
2014-08-24 20:42:56 -07:00
|
|
|
EAPI Eina_Bool evas_common_rectangle_draw_prepare(Cutout_Rects **reuse, const RGBA_Image *dst, RGBA_Draw_Context *dc, int x, int y, int w, int h);
|
2008-07-19 11:05:54 -07:00
|
|
|
|
2014-11-12 17:04:00 -08:00
|
|
|
EAPI void evas_common_rectangle_rgba_draw (RGBA_Image *dst, DATA32 color, int render_op, int x, int y, int w, int h, RGBA_Image *mask_ie, int mask_x, int mask_y);
|
2012-12-17 13:28:32 -08:00
|
|
|
|
2008-07-19 11:05:54 -07:00
|
|
|
#endif /* _EVAS_RECTANGLE_H */
|
|
|
|
|