Commit aa542782 authored by Dongwan Kim's avatar Dongwan Kim Committed by Alexandre Julliard

gdiplus: Implement GdipEnumerateMetafileSrcRectDestRectI.

parent 8a2f7c73
......@@ -201,7 +201,7 @@
201 stdcall GdipEnumerateMetafileSrcRectDestPoints(ptr ptr ptr long ptr long ptr ptr ptr)
202 stub GdipEnumerateMetafileSrcRectDestPointsI
203 stdcall GdipEnumerateMetafileSrcRectDestRect(ptr ptr ptr ptr long ptr ptr ptr)
204 stub GdipEnumerateMetafileSrcRectDestRectI
204 stdcall GdipEnumerateMetafileSrcRectDestRectI(ptr ptr ptr ptr long ptr ptr ptr)
205 stdcall GdipFillClosedCurve2(ptr ptr ptr long float long)
206 stdcall GdipFillClosedCurve2I(ptr ptr ptr long float long)
207 stdcall GdipFillClosedCurve(ptr ptr ptr long)
......
......@@ -3666,6 +3666,25 @@ GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestRect( GpGraphics *graphics,
return GdipEnumerateMetafileSrcRectDestPoints(graphics, metafile, points, 3,
src, srcUnit, callback, cb_data, attrs);
}
GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestRectI( GpGraphics * graphics,
GDIPCONST GpMetafile *metafile, GDIPCONST Rect *destRect,
GDIPCONST Rect *srcRect, Unit srcUnit, EnumerateMetafileProc callback,
VOID *cb_data, GDIPCONST GpImageAttributes *attrs )
{
GpRectF destRectF, srcRectF;
destRectF.X = destRect->X;
destRectF.Y = destRect->Y;
destRectF.Width = destRect->Width;
destRectF.Height = destRect->Height;
srcRectF.X = srcRect->X;
srcRectF.Y = srcRect->Y;
srcRectF.Width = srcRect->Width;
srcRectF.Height = srcRect->Height;
return GdipEnumerateMetafileSrcRectDestRect( graphics, metafile, &destRectF, &srcRectF, srcUnit, callback, cb_data, attrs);
}
GpStatus WINGDIPAPI GdipEnumerateMetafileDestRect(GpGraphics *graphics,
GDIPCONST GpMetafile *metafile, GDIPCONST GpRectF *dest,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment