mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 06:00:45 +00:00
gdiplus: Added GdipDrawImagePointsRect stub.
This commit is contained in:
parent
5dd5825484
commit
460f01b320
@ -168,7 +168,7 @@
|
||||
@ stub GdipDrawImagePointRectI
|
||||
@ stub GdipDrawImagePoints
|
||||
@ stub GdipDrawImagePointsI
|
||||
@ stub GdipDrawImagePointsRect
|
||||
@ stdcall GdipDrawImagePointsRect(ptr ptr ptr long long long long long long ptr ptr ptr)
|
||||
@ stub GdipDrawImagePointsRectI
|
||||
@ stub GdipDrawImageRect
|
||||
@ stub GdipDrawImageRectI
|
||||
|
@ -1016,6 +1016,22 @@ GpStatus WINGDIPAPI GdipDrawCurve2(GpGraphics *graphics, GpPen *pen,
|
||||
return retval;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics *graphics, GpImage *image,
|
||||
GDIPCONST GpPointF *points, INT count, REAL srcx, REAL srcy, REAL srcwidth,
|
||||
REAL srcheight, GpUnit srcUnit, GDIPCONST GpImageAttributes* imageAttributes,
|
||||
DrawImageAbort callback, VOID * callbackData)
|
||||
{
|
||||
static int calls;
|
||||
|
||||
if(!graphics || !image || !points || !imageAttributes)
|
||||
return InvalidParameter;
|
||||
|
||||
if(!(calls++))
|
||||
FIXME("not implemented\n");
|
||||
|
||||
return NotImplemented;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipDrawLineI(GpGraphics *graphics, GpPen *pen, INT x1,
|
||||
INT y1, INT x2, INT y2)
|
||||
{
|
||||
|
@ -56,6 +56,9 @@ GpStatus WINGDIPAPI GdipDrawArc(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL
|
||||
GpStatus WINGDIPAPI GdipDrawBezier(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,
|
||||
REAL,REAL,REAL);
|
||||
GpStatus WINGDIPAPI GdipDrawCurve2(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT,REAL);
|
||||
GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics*,GpImage*,
|
||||
GDIPCONST GpPointF*,INT,REAL,REAL,REAL,REAL,GpUnit,
|
||||
GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*);
|
||||
GpStatus WINGDIPAPI GdipDrawLineI(GpGraphics*,GpPen*,INT,INT,INT,INT);
|
||||
GpStatus WINGDIPAPI GdipDrawLines(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
|
||||
GpStatus WINGDIPAPI GdipDrawPath(GpGraphics*,GpPen*,GpPath*);
|
||||
|
@ -21,6 +21,9 @@
|
||||
|
||||
typedef float REAL;
|
||||
|
||||
typedef BOOL (CALLBACK * ImageAbort)(VOID *);
|
||||
typedef ImageAbort DrawImageAbort;
|
||||
|
||||
enum Status{
|
||||
Ok = 0,
|
||||
GenericError = 1,
|
||||
|
Loading…
Reference in New Issue
Block a user