summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_rectangle.h
diff options
context:
space:
mode:
authorPaulo Alcantara <pcacjr@profusion.mobi>2012-11-28 19:17:00 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-11-28 19:17:00 +0000
commit7dd926fbae7d521f63ce39d9746d66f662496581 (patch)
treef4c26a5dd94ade94f7ce957678e3c5332978bdae /src/lib/evas/common/evas_rectangle.h
parent34fa1349ba244e1727ad846d2edbac346ef6ad97 (diff)
evas/rectangle: Refactor common code for rectangle drawing
This patch refactors common code for rectangle draws - so that it can be used by other engines and *threaded* X11. Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi> Patch by: Paulo Alcantara <pcacjr@profusion.mobi> SVN revision: 79785
Diffstat (limited to 'src/lib/evas/common/evas_rectangle.h')
-rw-r--r--src/lib/evas/common/evas_rectangle.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/evas/common/evas_rectangle.h b/src/lib/evas/common/evas_rectangle.h
index 8fdcb774cd..d5a64ec678 100644
--- a/src/lib/evas/common/evas_rectangle.h
+++ b/src/lib/evas/common/evas_rectangle.h
@@ -1,9 +1,10 @@
1#ifndef _EVAS_RECTANGLE_H 1#ifndef _EVAS_RECTANGLE_H
2#define _EVAS_RECTANGLE_H 2#define _EVAS_RECTANGLE_H
3 3
4typedef void (*Evas_Common_Rectangle_Draw_Cb)(RGBA_Image *dst, RGBA_Draw_Context *dc, int x, int y, int w, int h);
4 5
5EAPI void evas_common_rectangle_init (void); 6EAPI void evas_common_rectangle_init (void);
6 7EAPI 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);
7EAPI void evas_common_rectangle_draw (RGBA_Image *dst, RGBA_Draw_Context *dc, int x, int y, int w, int h); 8EAPI void evas_common_rectangle_draw (RGBA_Image *dst, RGBA_Draw_Context *dc, int x, int y, int w, int h);
8 9
9EAPI 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); 10EAPI 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);