mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 23:05:46 +00:00
gdiplus: Implement GdipEnumerateMetafileSrcRectDestRectI.
Signed-off-by: Dongwan Kim <kdw6485@gmail.com> Signed-off-by: Esme Povirk <esme@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8a2f7c731f
commit
aa54278250
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue