forked from enlightenment/efl
* move draw functions declaration to their own file
* add missing headers SVN revision: 35181
This commit is contained in:
parent
7d5e3d39e9
commit
60391e746d
|
@ -73,6 +73,7 @@ evas_convert_rgb_24.h \
|
||||||
evas_convert_rgb_32.h \
|
evas_convert_rgb_32.h \
|
||||||
evas_convert_rgb_8.h \
|
evas_convert_rgb_8.h \
|
||||||
evas_convert_yuv.h \
|
evas_convert_yuv.h \
|
||||||
|
evas_draw.h \
|
||||||
evas_font.h \
|
evas_font.h \
|
||||||
evas_gradient.h \
|
evas_gradient.h \
|
||||||
evas_gradient_private.h \
|
evas_gradient_private.h \
|
||||||
|
|
|
@ -0,0 +1,34 @@
|
||||||
|
#ifndef _EVAS_DRAW_H
|
||||||
|
#define _EVAS_DRAW_H
|
||||||
|
|
||||||
|
|
||||||
|
EAPI void evas_common_draw_init (void);
|
||||||
|
|
||||||
|
EAPI RGBA_Draw_Context *evas_common_draw_context_new (void);
|
||||||
|
EAPI void evas_common_draw_context_free (RGBA_Draw_Context *dc);
|
||||||
|
EAPI void evas_common_draw_context_font_ext_set (RGBA_Draw_Context *dc,
|
||||||
|
void *data,
|
||||||
|
void *(*gl_new) (void *data, RGBA_Font_Glyph *fg),
|
||||||
|
void (*gl_free) (void *ext_dat),
|
||||||
|
void (*gl_draw) (void *data, void *dest, void *context, RGBA_Font_Glyph *fg, int x, int y));
|
||||||
|
EAPI void evas_common_draw_context_clip_clip (RGBA_Draw_Context *dc, int x, int y, int w, int h);
|
||||||
|
EAPI void evas_common_draw_context_set_clip (RGBA_Draw_Context *dc, int x, int y, int w, int h);
|
||||||
|
EAPI void evas_common_draw_context_unset_clip (RGBA_Draw_Context *dc);
|
||||||
|
EAPI void evas_common_draw_context_set_color (RGBA_Draw_Context *dc, int r, int g, int b, int a);
|
||||||
|
EAPI void evas_common_draw_context_set_multiplier (RGBA_Draw_Context *dc, int r, int g, int b, int a);
|
||||||
|
EAPI void evas_common_draw_context_unset_multiplier (RGBA_Draw_Context *dc);
|
||||||
|
EAPI Cutout_Rects *evas_common_draw_context_cutouts_new (void);
|
||||||
|
EAPI void evas_common_draw_context_cutouts_free (Cutout_Rects* rects);
|
||||||
|
EAPI void evas_common_draw_context_cutouts_del (Cutout_Rects* rects, int index);
|
||||||
|
EAPI void evas_common_draw_context_add_cutout (RGBA_Draw_Context *dc, int x, int y, int w, int h);
|
||||||
|
EAPI void evas_common_draw_context_clear_cutouts (RGBA_Draw_Context *dc);
|
||||||
|
EAPI Cutout_Rects *evas_common_draw_context_apply_cutouts (RGBA_Draw_Context *dc);
|
||||||
|
EAPI void evas_common_draw_context_apply_clear_cutouts (Cutout_Rects* rects);
|
||||||
|
EAPI void evas_common_draw_context_apply_clean_cutouts (Cutout_Rects* rects);
|
||||||
|
EAPI void evas_common_draw_context_set_anti_alias (RGBA_Draw_Context *dc, unsigned char aa);
|
||||||
|
EAPI void evas_common_draw_context_set_color_interpolation (RGBA_Draw_Context *dc, int color_space);
|
||||||
|
EAPI void evas_common_draw_context_set_render_op (RGBA_Draw_Context *dc, int op);
|
||||||
|
EAPI void evas_common_draw_context_set_sli (RGBA_Draw_Context *dc, int y, int h);
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* _EVAS_DRAW_H */
|
|
@ -826,8 +826,13 @@ RGBA_Gfx_Pt_Func evas_common_gfx_func_composite_pixel_mask_pt_get (Image_En
|
||||||
EAPI Gfx_Func_Copy evas_common_draw_func_copy_get (int pixels, int reverse);
|
EAPI Gfx_Func_Copy evas_common_draw_func_copy_get (int pixels, int reverse);
|
||||||
|
|
||||||
/****/
|
/****/
|
||||||
|
#include "../engines/common/evas_convert_color.h"
|
||||||
|
#include "../engines/common/evas_convert_colorspace.h"
|
||||||
#include "../engines/common/evas_convert_main.h"
|
#include "../engines/common/evas_convert_main.h"
|
||||||
|
#include "../engines/common/evas_convert_yuv.h"
|
||||||
#include "../engines/common/evas_scale_main.h"
|
#include "../engines/common/evas_scale_main.h"
|
||||||
|
#include "../engines/common/evas_scale_smooth.h"
|
||||||
|
#include "../engines/common/evas_scale_span.h"
|
||||||
|
|
||||||
/****/
|
/****/
|
||||||
#include "../engines/common/evas_image.h"
|
#include "../engines/common/evas_image.h"
|
||||||
|
@ -870,30 +875,7 @@ Tilebuf_Rect *evas_common_regionbuf_rects_get (Regionbuf *rb);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/****/
|
/****/
|
||||||
EAPI void evas_common_draw_init (void);
|
#include "../engines/common/evas_draw.h"
|
||||||
|
|
||||||
EAPI RGBA_Draw_Context *evas_common_draw_context_new (void);
|
|
||||||
EAPI void evas_common_draw_context_free (RGBA_Draw_Context *dc);
|
|
||||||
EAPI void evas_common_draw_context_font_ext_set (RGBA_Draw_Context *dc,
|
|
||||||
void *data,
|
|
||||||
void *(*gl_new) (void *data, RGBA_Font_Glyph *fg),
|
|
||||||
void (*gl_free) (void *ext_dat),
|
|
||||||
void (*gl_draw) (void *data, void *dest, void *context, RGBA_Font_Glyph *fg, int x, int y));
|
|
||||||
EAPI void evas_common_draw_context_clip_clip (RGBA_Draw_Context *dc, int x, int y, int w, int h);
|
|
||||||
EAPI void evas_common_draw_context_set_clip (RGBA_Draw_Context *dc, int x, int y, int w, int h);
|
|
||||||
EAPI void evas_common_draw_context_unset_clip (RGBA_Draw_Context *dc);
|
|
||||||
EAPI void evas_common_draw_context_set_color (RGBA_Draw_Context *dc, int r, int g, int b, int a);
|
|
||||||
EAPI void evas_common_draw_context_set_multiplier (RGBA_Draw_Context *dc, int r, int g, int b, int a);
|
|
||||||
EAPI void evas_common_draw_context_unset_multiplier (RGBA_Draw_Context *dc);
|
|
||||||
EAPI void evas_common_draw_context_add_cutout (RGBA_Draw_Context *dc, int x, int y, int w, int h);
|
|
||||||
EAPI void evas_common_draw_context_clear_cutouts (RGBA_Draw_Context *dc);
|
|
||||||
EAPI Cutout_Rects *evas_common_draw_context_apply_cutouts (RGBA_Draw_Context *dc);
|
|
||||||
EAPI void evas_common_draw_context_apply_clear_cutouts(Cutout_Rects* rects);
|
|
||||||
EAPI void evas_common_draw_context_apply_clean_cutouts(Cutout_Rects* rects);
|
|
||||||
EAPI void evas_common_draw_context_set_anti_alias (RGBA_Draw_Context *dc, unsigned char aa);
|
|
||||||
EAPI void evas_common_draw_context_set_color_interpolation(RGBA_Draw_Context *dc, int color_space);
|
|
||||||
EAPI void evas_common_draw_context_set_render_op (RGBA_Draw_Context *dc, int op);
|
|
||||||
EAPI void evas_common_draw_context_set_sli (RGBA_Draw_Context *dc, int y, int h);
|
|
||||||
|
|
||||||
/****/
|
/****/
|
||||||
#include "../engines/common/evas_pipe.h"
|
#include "../engines/common/evas_pipe.h"
|
||||||
|
|
Loading…
Reference in New Issue