[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:
Benoît Minisini 2015-03-06 12:54:47 +00:00
parent aee32b1d95
commit c97a5b6349

View File

@ -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;