gdiplus: Implemented GdipTranslateClip/GdipTranslateClipI.
This commit is contained in:
parent
dc3908a351
commit
5da52e0677
|
@ -609,8 +609,8 @@
|
|||
@ stdcall GdipTransformPoints(ptr long long ptr long)
|
||||
@ stdcall GdipTransformPointsI(ptr long long ptr long)
|
||||
@ stdcall GdipTransformRegion(ptr ptr)
|
||||
@ stub GdipTranslateClip
|
||||
@ stub GdipTranslateClipI
|
||||
@ stdcall GdipTranslateClip(ptr long long)
|
||||
@ stdcall GdipTranslateClipI(ptr long long)
|
||||
@ stdcall GdipTranslateLineTransform(ptr long long long)
|
||||
@ stdcall GdipTranslateMatrix(ptr long long long)
|
||||
@ stub GdipTranslatePathGradientTransform
|
||||
|
|
|
@ -3318,3 +3318,29 @@ HPALETTE WINGDIPAPI GdipCreateHalftonePalette(void)
|
|||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* GdipTranslateClip [GDIPLUS.@]
|
||||
*/
|
||||
GpStatus WINGDIPAPI GdipTranslateClip(GpGraphics *graphics, REAL dx, REAL dy)
|
||||
{
|
||||
TRACE("(%p, %.2f, %.2f)\n", graphics, dx, dy);
|
||||
|
||||
if(!graphics)
|
||||
return InvalidParameter;
|
||||
|
||||
return GdipTranslateRegion(graphics->clip, dx, dy);
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* GdipTranslateClipI [GDIPLUS.@]
|
||||
*/
|
||||
GpStatus WINGDIPAPI GdipTranslateClipI(GpGraphics *graphics, INT dx, INT dy)
|
||||
{
|
||||
TRACE("(%p, %d, %d)\n", graphics, dx, dy);
|
||||
|
||||
if(!graphics)
|
||||
return InvalidParameter;
|
||||
|
||||
return GdipTranslateRegion(graphics->clip, (REAL)dx, (REAL)dy);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue