fix evas map bug -

From: Atton Jonathan <jonathan.atton@gmail.com>
Subject: Re: [E-devel] Evas map and the attribute "color" and clip

Here a application. The test here is a bit different from the case in my
appliaction.

I have :
- 1 gengrid
- 1 elm layout as icon in the grid item
- a edje group swallowed in the elm layout. This group has a rotation.
It is
a red rectangle.

When I select the item :
- if no map : the rectangle disappear because the grid item add a
rectangle
in front of the red rectangle.
- if map : only a part of the red rectangle disappear. If I resize the
window sometime the rectangle disappear, sometimes a part appear.

2 screenshots are in the archive.

:)
that one.



SVN revision: 55927
This commit is contained in:
Atton Jonathan 2011-01-06 08:02:37 +00:00 committed by Carsten Haitzler
parent b60120b26b
commit aa2733a4ba
1 changed files with 2 additions and 2 deletions

View File

@ -851,8 +851,8 @@ evas_render_mapped(Evas *e, Evas_Object *obj, void *context, void *surface,
w = obj->cur.cache.clip.w;
h = obj->cur.cache.clip.h;
RECTS_CLIP_TO_RECT(x, y, w, h,
obj->cur.clipper->cur.cache.clip.x + off_x,
obj->cur.clipper->cur.cache.clip.y + off_y,
obj->cur.clipper->cur.cache.clip.x,
obj->cur.clipper->cur.cache.clip.y,
obj->cur.clipper->cur.cache.clip.w,
obj->cur.clipper->cur.cache.clip.h);
e->engine.func->context_clip_set(e->engine.data.output,