mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
gdiplus: Implemented GdipGetClipBounds/GdipGetClipBoundsI.
This commit is contained in:
parent
5bc54ed97e
commit
bcfe4e7e46
@ -245,8 +245,8 @@
|
||||
@ stdcall GdipGetCellAscent(ptr long ptr)
|
||||
@ stdcall GdipGetCellDescent(ptr long ptr)
|
||||
@ stdcall GdipGetClip(ptr ptr)
|
||||
@ stub GdipGetClipBounds
|
||||
@ stub GdipGetClipBoundsI
|
||||
@ stdcall GdipGetClipBounds(ptr ptr)
|
||||
@ stdcall GdipGetClipBoundsI(ptr ptr)
|
||||
@ stdcall GdipGetCompositingMode(ptr ptr)
|
||||
@ stdcall GdipGetCompositingQuality(ptr ptr)
|
||||
@ stdcall GdipGetCustomLineCapBaseCap(ptr ptr)
|
||||
|
@ -2405,6 +2405,32 @@ GpStatus WINGDIPAPI GdipFlush(GpGraphics *graphics, GpFlushIntention intention)
|
||||
return NotImplemented;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* GdipGetClipBounds [GDIPLUS.@]
|
||||
*/
|
||||
GpStatus WINGDIPAPI GdipGetClipBounds(GpGraphics *graphics, GpRectF *rect)
|
||||
{
|
||||
TRACE("(%p, %p)\n", graphics, rect);
|
||||
|
||||
if(!graphics)
|
||||
return InvalidParameter;
|
||||
|
||||
return GdipGetRegionBounds(graphics->clip, graphics, rect);
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* GdipGetClipBoundsI [GDIPLUS.@]
|
||||
*/
|
||||
GpStatus WINGDIPAPI GdipGetClipBoundsI(GpGraphics *graphics, GpRect *rect)
|
||||
{
|
||||
TRACE("(%p, %p)\n", graphics, rect);
|
||||
|
||||
if(!graphics)
|
||||
return InvalidParameter;
|
||||
|
||||
return GdipGetRegionBoundsI(graphics->clip, graphics, rect);
|
||||
}
|
||||
|
||||
/* FIXME: Compositing mode is not used anywhere except the getter/setter. */
|
||||
GpStatus WINGDIPAPI GdipGetCompositingMode(GpGraphics *graphics,
|
||||
CompositingMode *mode)
|
||||
|
Loading…
Reference in New Issue
Block a user