[GB.DRAW]
* NEW: Don't clip the area argument of Paint.Begin(). git-svn-id: svn://localhost/gambas/trunk@6951 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
aee32b1d95
commit
c97a5b6349
@ -241,8 +241,8 @@ void PAINT_set_area(GEOM_RECTF *area)
|
|||||||
THIS->area.x += area->x;
|
THIS->area.x += area->x;
|
||||||
THIS->area.y += area->y;
|
THIS->area.y += area->y;
|
||||||
|
|
||||||
THIS->area.width = MIN(area->w, THIS->area.width - THIS->area.x);
|
THIS->area.width = area->w; //MIN(area->w, THIS->area.width - THIS->area.x);
|
||||||
THIS->area.height = MIN(area->h, THIS->area.height - THIS->area.y);
|
THIS->area.height = area->h; //MIN(area->h, THIS->area.height - THIS->area.y);
|
||||||
|
|
||||||
if (THIS->area.width <= 0 || THIS->area.height <= 0)
|
if (THIS->area.width <= 0 || THIS->area.height <= 0)
|
||||||
THIS->area.width = THIS->area.height = 0;
|
THIS->area.width = THIS->area.height = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user