gdiplus: Stubs for GdipIsVisiblePoint/GdipIsVisiblePointI.
This commit is contained in:
parent
e2817e59b1
commit
3ecb8bdd61
|
@ -427,8 +427,8 @@
|
||||||
@ stub GdipIsVisibleClipEmpty
|
@ stub GdipIsVisibleClipEmpty
|
||||||
@ stdcall GdipIsVisiblePathPoint(ptr long long ptr ptr)
|
@ stdcall GdipIsVisiblePathPoint(ptr long long ptr ptr)
|
||||||
@ stdcall GdipIsVisiblePathPointI(ptr long long ptr ptr)
|
@ stdcall GdipIsVisiblePathPointI(ptr long long ptr ptr)
|
||||||
@ stub GdipIsVisiblePoint
|
@ stdcall GdipIsVisiblePoint(ptr long long ptr)
|
||||||
@ stub GdipIsVisiblePointI
|
@ stdcall GdipIsVisiblePointI(ptr long long ptr)
|
||||||
@ stub GdipIsVisibleRect
|
@ stub GdipIsVisibleRect
|
||||||
@ stub GdipIsVisibleRectI
|
@ stub GdipIsVisibleRectI
|
||||||
@ stub GdipIsVisibleRegionPoint
|
@ stub GdipIsVisibleRegionPoint
|
||||||
|
|
|
@ -2583,6 +2583,32 @@ GpStatus WINGDIPAPI GdipIsClipEmpty(GpGraphics *graphics, BOOL *res)
|
||||||
return GdipIsEmptyRegion(graphics->clip, graphics, res);
|
return GdipIsEmptyRegion(graphics->clip, graphics, res);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipIsVisiblePoint(GpGraphics *graphics, REAL x, REAL y, BOOL *result)
|
||||||
|
{
|
||||||
|
FIXME("(%p, %.2f, %.2f, %p) stub\n", graphics, x, y, result);
|
||||||
|
|
||||||
|
if(!graphics || !result)
|
||||||
|
return InvalidParameter;
|
||||||
|
|
||||||
|
if(graphics->busy)
|
||||||
|
return ObjectBusy;
|
||||||
|
|
||||||
|
return NotImplemented;
|
||||||
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipIsVisiblePointI(GpGraphics *graphics, INT x, INT y, BOOL *result)
|
||||||
|
{
|
||||||
|
FIXME("(%p, %d, %d, %p) stub\n", graphics, x, y, result);
|
||||||
|
|
||||||
|
if(!graphics || !result)
|
||||||
|
return InvalidParameter;
|
||||||
|
|
||||||
|
if(graphics->busy)
|
||||||
|
return ObjectBusy;
|
||||||
|
|
||||||
|
return NotImplemented;
|
||||||
|
}
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipMeasureCharacterRanges(GpGraphics* graphics,
|
GpStatus WINGDIPAPI GdipMeasureCharacterRanges(GpGraphics* graphics,
|
||||||
GDIPCONST WCHAR* string, INT length, GDIPCONST GpFont* font,
|
GDIPCONST WCHAR* string, INT length, GDIPCONST GpFont* font,
|
||||||
GDIPCONST RectF* layoutRect, GDIPCONST GpStringFormat *stringFormat,
|
GDIPCONST RectF* layoutRect, GDIPCONST GpStringFormat *stringFormat,
|
||||||
|
|
|
@ -487,6 +487,7 @@ static void test_Get_Release_DC(void)
|
||||||
GpRect rect[2];
|
GpRect rect[2];
|
||||||
GpRegion *clip;
|
GpRegion *clip;
|
||||||
INT i;
|
INT i;
|
||||||
|
BOOL res;
|
||||||
|
|
||||||
pt[0].X = 10;
|
pt[0].X = 10;
|
||||||
pt[0].Y = 10;
|
pt[0].Y = 10;
|
||||||
|
@ -674,6 +675,10 @@ static void test_Get_Release_DC(void)
|
||||||
expect(ObjectBusy, status); status = Ok;
|
expect(ObjectBusy, status); status = Ok;
|
||||||
status = GdipGraphicsClear(graphics, 0xdeadbeef);
|
status = GdipGraphicsClear(graphics, 0xdeadbeef);
|
||||||
expect(ObjectBusy, status); status = Ok;
|
expect(ObjectBusy, status); status = Ok;
|
||||||
|
status = GdipIsVisiblePoint(graphics, 0.0, 0.0, &res);
|
||||||
|
expect(ObjectBusy, status); status = Ok;
|
||||||
|
status = GdipIsVisiblePointI(graphics, 0, 0, &res);
|
||||||
|
expect(ObjectBusy, status); status = Ok;
|
||||||
/* GdipMeasureCharacterRanges */
|
/* GdipMeasureCharacterRanges */
|
||||||
/* GdipMeasureString */
|
/* GdipMeasureString */
|
||||||
status = GdipResetClip(graphics);
|
status = GdipResetClip(graphics);
|
||||||
|
|
|
@ -537,6 +537,8 @@ GpStatus WINGDIPAPI GdipSetClipPath(GpGraphics*,GpPath*,CombineMode);
|
||||||
GpStatus WINGDIPAPI GdipSetClipRect(GpGraphics*,REAL,REAL,REAL,REAL,CombineMode);
|
GpStatus WINGDIPAPI GdipSetClipRect(GpGraphics*,REAL,REAL,REAL,REAL,CombineMode);
|
||||||
GpStatus WINGDIPAPI GdipSetClipRectI(GpGraphics*,INT,INT,INT,INT,CombineMode);
|
GpStatus WINGDIPAPI GdipSetClipRectI(GpGraphics*,INT,INT,INT,INT,CombineMode);
|
||||||
GpStatus WINGDIPAPI GdipFillRegion(GpGraphics*,GpBrush*,GpRegion*);
|
GpStatus WINGDIPAPI GdipFillRegion(GpGraphics*,GpBrush*,GpRegion*);
|
||||||
|
GpStatus WINGDIPAPI GdipIsVisiblePoint(GpGraphics*,REAL,REAL,BOOL*);
|
||||||
|
GpStatus WINGDIPAPI GdipIsVisiblePointI(GpGraphics*,INT,INT,BOOL*);
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipCreateAdjustableArrowCap(REAL,REAL,BOOL,GpAdjustableArrowCap**);
|
GpStatus WINGDIPAPI GdipCreateAdjustableArrowCap(REAL,REAL,BOOL,GpAdjustableArrowCap**);
|
||||||
GpStatus WINGDIPAPI GdipGetAdjustableArrowCapFillState(GpAdjustableArrowCap*,BOOL*);
|
GpStatus WINGDIPAPI GdipGetAdjustableArrowCapFillState(GpAdjustableArrowCap*,BOOL*);
|
||||||
|
|
Loading…
Reference in New Issue