path: root/src/lib/evas/canvas/evas_clip.c
diff options
authorJean-Philippe Andre <jp.andre@samsung.com>2015-05-12 17:37:01 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-06-15 16:59:41 +0900
commit111e51a6ff35c3bf4dc835775b44b630e0191ba1 (patch)
tree92eb947706f0b9a6d3fafc05b98faebb690e7d0b /src/lib/evas/canvas/evas_clip.c
parentEdje: Add clip as a property of a part description (diff)
Evas: Add "no-render" flag for proxy sources & clippers
Those objects should never be rendered on the canvas, even if they are visible. On the other hand, they need to be rendered in mask or proxy surfaces. note: this patch includes some extra whitespaces changes :( @feature
Diffstat (limited to 'src/lib/evas/canvas/evas_clip.c')
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_clip.c b/src/lib/evas/canvas/evas_clip.c
index a6f1e6f124..cf5b1cc6a9 100644
--- a/src/lib/evas/canvas/evas_clip.c
+++ b/src/lib/evas/canvas/evas_clip.c
@@ -491,3 +491,14 @@ _evas_object_clipees_has(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj
return (obj->clip.clipees ? EINA_TRUE : EINA_FALSE);
+EOLIAN void
+_evas_object_no_render_set(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj, Eina_Bool enable)
+ obj->no_render = enable;
+EOLIAN Eina_Bool
+_evas_object_no_render_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj)
+ return obj->no_render;