[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH 3/3] gdiplus: Implement GdipIsVisibleRect
From:       Henri Verbeet <hverbeet () gmail ! com>
Date:       2009-08-27 9:00:27
Message-ID: d658b69e0908270200w29305181p984dd05a57422efd () mail ! gmail ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic