gdiplus: Implemented GdipGetClipBounds/GdipGetClipBoundsI.

This commit is contained in:
Nikolay Sivov 2009-02-02 22:58:27 +03:00 committed by Alexandre Julliard
parent 5bc54ed97e
commit bcfe4e7e46
2 changed files with 28 additions and 2 deletions

View File

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

View File

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