[PATCH 3/3] gdiplus: Implement GdipIsVisibleRect

Henri Verbeet hverbeet at gmail.com
Thu Aug 27 04:00:27 CDT 2009


2009/8/27 Andrew Eikum <aeikum at 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.



More information about the wine-devel mailing list