forked from enlightenment/efl
evas/canvas: rewrite a previous patch, ed444b698b
Reviwed further, I found out the origin shouldn't be accumulated with previous clippers origin. I forgot this function is recursive function.
This commit is contained in:
parent
0b69356f1b
commit
05d81d3c63
|
@ -1245,8 +1245,8 @@ _proxy_context_clip(Evas_Public_Data *evas, void *ctx, Evas_Proxy_Render_Data *p
|
|||
/* recurse to the clipper itself.
|
||||
* origin of clipper's clipper won't be transformed to derivative space. */
|
||||
return _proxy_context_clip(evas, ctx, proxy_render_data, clipper,
|
||||
(off_x - proxy_render_data->src_obj->cur->geometry.x),
|
||||
(off_y - proxy_render_data->src_obj->cur->geometry.y));
|
||||
-proxy_render_data->src_obj->cur->geometry.x,
|
||||
-proxy_render_data->src_obj->cur->geometry.y);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue