gdiplus: Stubs for GdipDrawImagePointRect and GdipDrawImagePointRectI.

This commit is contained in:
Andrew Eikum 2009-06-02 22:34:37 -05:00 committed by Alexandre Julliard
parent 84a434fd25
commit eec8d511cc
3 changed files with 20 additions and 2 deletions

View File

@ -175,8 +175,8 @@
@ stdcall GdipDrawImage(ptr ptr long long) @ stdcall GdipDrawImage(ptr ptr long long)
@ stub GdipDrawImageFX @ stub GdipDrawImageFX
@ stdcall GdipDrawImageI(ptr ptr long long) @ stdcall GdipDrawImageI(ptr ptr long long)
@ stub GdipDrawImagePointRect @ stdcall GdipDrawImagePointRect(ptr ptr long long long long long long long)
@ stub GdipDrawImagePointRectI @ stdcall GdipDrawImagePointRectI(ptr ptr long long long long long long long)
@ stub GdipDrawImagePoints @ stub GdipDrawImagePoints
@ stub GdipDrawImagePointsI @ stub GdipDrawImagePointsI
@ stdcall GdipDrawImagePointsRect(ptr ptr ptr long long long long long long ptr ptr ptr) @ stdcall GdipDrawImagePointsRect(ptr ptr ptr long long long long long long ptr ptr ptr)

View File

@ -1604,6 +1604,22 @@ GpStatus WINGDIPAPI GdipDrawImageI(GpGraphics *graphics, GpImage *image, INT x,
return Ok; return Ok;
} }
GpStatus WINGDIPAPI GdipDrawImagePointRect(GpGraphics *graphics, GpImage *image,
REAL x, REAL y, REAL srcx, REAL srcy, REAL srcwidth, REAL srcheight,
GpUnit srcUnit)
{
FIXME("(%p, %p, %f, %f, %f, %f, %f, %f, %d): stub\n", graphics, image, x, y, srcx, srcy, srcwidth, srcheight, srcUnit);
return NotImplemented;
}
GpStatus WINGDIPAPI GdipDrawImagePointRectI(GpGraphics *graphics, GpImage *image,
INT x, INT y, INT srcx, INT srcy, INT srcwidth, INT srcheight,
GpUnit srcUnit)
{
FIXME("(%p, %p, %d, %d, %d, %d, %d, %d, %d): stub\n", graphics, image, x, y, srcx, srcy, srcwidth, srcheight, srcUnit);
return NotImplemented;
}
/* FIXME: partially implemented (only works for rectangular parallelograms) */ /* FIXME: partially implemented (only works for rectangular parallelograms) */
GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics *graphics, GpImage *image, GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics *graphics, GpImage *image,
GDIPCONST GpPointF *points, INT count, REAL srcx, REAL srcy, REAL srcwidth, GDIPCONST GpPointF *points, INT count, REAL srcx, REAL srcy, REAL srcwidth,

View File

@ -149,6 +149,8 @@ GpStatus WINGDIPAPI GdipDrawEllipse(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL);
GpStatus WINGDIPAPI GdipDrawEllipseI(GpGraphics*,GpPen*,INT,INT,INT,INT); GpStatus WINGDIPAPI GdipDrawEllipseI(GpGraphics*,GpPen*,INT,INT,INT,INT);
GpStatus WINGDIPAPI GdipDrawImage(GpGraphics*,GpImage*,REAL,REAL); GpStatus WINGDIPAPI GdipDrawImage(GpGraphics*,GpImage*,REAL,REAL);
GpStatus WINGDIPAPI GdipDrawImageI(GpGraphics*,GpImage*,INT,INT); GpStatus WINGDIPAPI GdipDrawImageI(GpGraphics*,GpImage*,INT,INT);
GpStatus WINGDIPAPI GdipDrawImagePointRect(GpGraphics*,GpImage*,REAL,REAL,REAL,REAL,REAL,REAL,GpUnit);
GpStatus WINGDIPAPI GdipDrawImagePointRectI(GpGraphics*,GpImage*,INT,INT,INT,INT,INT,INT,GpUnit);
GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics*,GpImage*, GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics*,GpImage*,
GDIPCONST GpPointF*,INT,REAL,REAL,REAL,REAL,GpUnit, GDIPCONST GpPointF*,INT,REAL,REAL,REAL,REAL,GpUnit,
GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*); GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*);