gdiplus: Add some stubs for region functions.
This commit is contained in:
parent
17dacf90b2
commit
9bc1fc9f11
|
@ -122,9 +122,9 @@
|
|||
@ stdcall GdipCreatePathIter(ptr ptr)
|
||||
@ stdcall GdipCreatePen1(long long long ptr)
|
||||
@ stdcall GdipCreatePen2(ptr long long ptr)
|
||||
@ stub GdipCreateRegion
|
||||
@ stdcall GdipCreateRegion(ptr)
|
||||
@ stub GdipCreateRegionHrgn
|
||||
@ stub GdipCreateRegionPath
|
||||
@ stdcall GdipCreateRegionPath(ptr ptr)
|
||||
@ stub GdipCreateRegionRect
|
||||
@ stub GdipCreateRegionRectI
|
||||
@ stub GdipCreateRegionRgnData
|
||||
|
@ -148,7 +148,7 @@
|
|||
@ stdcall GdipDeletePathIter(ptr)
|
||||
@ stdcall GdipDeletePen(ptr)
|
||||
@ stub GdipDeletePrivateFontCollection
|
||||
@ stub GdipDeleteRegion
|
||||
@ stdcall GdipDeleteRegion(ptr)
|
||||
@ stdcall GdipDeleteStringFormat(ptr)
|
||||
@ stdcall GdipDisposeImage(ptr)
|
||||
@ stdcall GdipDisposeImageAttributes(ptr)
|
||||
|
@ -379,7 +379,7 @@
|
|||
@ stub GdipGetRegionBoundsI
|
||||
@ stub GdipGetRegionData
|
||||
@ stub GdipGetRegionDataSize
|
||||
@ stub GdipGetRegionHRgn
|
||||
@ stdcall GdipGetRegionHRgn(ptr ptr ptr)
|
||||
@ stub GdipGetRegionScans
|
||||
@ stub GdipGetRegionScansCount
|
||||
@ stub GdipGetRegionScansI
|
||||
|
|
|
@ -30,6 +30,36 @@
|
|||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(gdiplus);
|
||||
|
||||
GpStatus WINGDIPAPI GdipCreateRegion(GpRegion **region)
|
||||
{
|
||||
FIXME("(%p): stub\n", region);
|
||||
|
||||
*region = NULL;
|
||||
return NotImplemented;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipCreateRegionPath(GpPath *path, GpRegion **region)
|
||||
{
|
||||
FIXME("(%p, %p): stub\n", path, region);
|
||||
|
||||
*region = NULL;
|
||||
return NotImplemented;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipDeleteRegion(GpRegion *region)
|
||||
{
|
||||
FIXME("(%p): stub\n", region);
|
||||
return NotImplemented;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipGetRegionHRgn(GpRegion *region, GpGraphics *graphics, HRGN *hrgn)
|
||||
{
|
||||
FIXME("(%p, %p, %p): stub\n", region, graphics, hrgn);
|
||||
|
||||
*hrgn = NULL;
|
||||
return NotImplemented;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipSetEmpty(GpRegion *region)
|
||||
{
|
||||
static int calls;
|
||||
|
|
|
@ -354,6 +354,14 @@ GpStatus WINGDIPAPI GdipCloneStringFormat(GDIPCONST GpStringFormat*,GpStringForm
|
|||
GpStatus WINGDIPAPI GdipGetDpiX(GpGraphics*,REAL*);
|
||||
GpStatus WINGDIPAPI GdipGetDpiY(GpGraphics*,REAL*);
|
||||
|
||||
GpStatus WINGDIPAPI GdipCreateRegion(GpRegion **);
|
||||
GpStatus WINGDIPAPI GdipCreateRegionPath(GpPath *, GpRegion **);
|
||||
GpStatus WINGDIPAPI GdipDeleteRegion(GpRegion *);
|
||||
GpStatus WINGDIPAPI GdipGetRegionHRgn(GpRegion *, GpGraphics *, HRGN *);
|
||||
GpStatus WINGDIPAPI GdipSetEmpty(GpRegion *);
|
||||
GpStatus WINGDIPAPI GdipSetInfinite(GpRegion *);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue