27 Aug
2009
27 Aug
'09
4 a.m.
2009/8/27 Andrew Eikum <aeikum(a)codeweavers.com>:
+GpStatus WINGDIPAPI GdipIsVisibleRectI(GpGraphics *graphics, INT x, INT y, INT width, INT height, BOOL *result) +{ + TRACE("(%p %d %d %d %d %p)\n", graphics, x, y, width, height, result); + + if(!graphics || !result) + return InvalidParameter; + + if(graphics->busy) + return ObjectBusy; + + return GdipIsVisibleRect(graphics, (REAL)x, (REAL)y, (REAL)width, (REAL)height, result); +} Same comment as for yesterday's patches, these checks are redundant because GdipIsVisibleRect() already does them.