gdiplus: Added GdipSetClipGraphics.
This commit is contained in:
parent
9e6f21463e
commit
c543f3d947
|
@ -506,7 +506,7 @@
|
|||
@ stdcall GdipSetAdjustableArrowCapHeight(ptr long)
|
||||
@ stdcall GdipSetAdjustableArrowCapMiddleInset(ptr long)
|
||||
@ stdcall GdipSetAdjustableArrowCapWidth(ptr long)
|
||||
@ stub GdipSetClipGraphics
|
||||
@ stdcall GdipSetClipGraphics(ptr ptr long)
|
||||
@ stub GdipSetClipHrgn
|
||||
@ stdcall GdipSetClipPath(ptr ptr long)
|
||||
@ stdcall GdipSetClipRect(ptr long long long long long)
|
||||
|
|
|
@ -2818,6 +2818,17 @@ GpStatus WINGDIPAPI GdipScaleWorldTransform(GpGraphics *graphics, REAL sx,
|
|||
return GdipScaleMatrix(graphics->worldtrans, sx, sy, order);
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipSetClipGraphics(GpGraphics *graphics, GpGraphics *srcgraphics,
|
||||
CombineMode mode)
|
||||
{
|
||||
TRACE("(%p, %p, %d)\n", graphics, srcgraphics, mode);
|
||||
|
||||
if(!graphics || !srcgraphics)
|
||||
return InvalidParameter;
|
||||
|
||||
return GdipCombineRegionRegion(graphics->clip, srcgraphics->clip, mode);
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipSetCompositingMode(GpGraphics *graphics,
|
||||
CompositingMode mode)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue