forked from enlightenment/efl
evas new region code - copy region size along with region math
This commit is contained in:
parent
65758a2160
commit
5df38e9d53
|
@ -899,6 +899,8 @@ region_rect_add(Region *dest, int x, int y, unsigned int w, unsigned int h)
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
region.w = dest->w;
|
||||
region.h = dest->h;
|
||||
region.data = NULL;
|
||||
region.bound.x1 = x;
|
||||
region.bound.y1 = y;
|
||||
|
@ -1227,6 +1229,8 @@ region_rect_del(Region *dest, int x, int y, unsigned int w, unsigned int h)
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
region.w = dest->w;
|
||||
region.h = dest->h;
|
||||
region.data = NULL;
|
||||
region.bound.x1 = x;
|
||||
region.bound.y1 = y;
|
||||
|
|
Loading…
Reference in New Issue