gdiplus: Stubs for AdjustableArrowCap calls.
This commit is contained in:
parent
9c60a57ad1
commit
50bfa9b0eb
|
@ -233,3 +233,94 @@ GpStatus WINGDIPAPI GdipGetCustomLineCapBaseCap(GpCustomLineCap *customCap, GpLi
|
||||||
|
|
||||||
return Ok;
|
return Ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipCreateAdjustableArrowCap(REAL height, REAL width, BOOL fill,
|
||||||
|
GpAdjustableArrowCap **cap)
|
||||||
|
{
|
||||||
|
static int calls;
|
||||||
|
|
||||||
|
if(!(calls++))
|
||||||
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
return NotImplemented;
|
||||||
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipGetAdjustableArrowCapFillState(GpAdjustableArrowCap* cap, BOOL* fill)
|
||||||
|
{
|
||||||
|
static int calls;
|
||||||
|
|
||||||
|
if(!(calls++))
|
||||||
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
return NotImplemented;
|
||||||
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipGetAdjustableArrowCapHeight(GpAdjustableArrowCap* cap, REAL* height)
|
||||||
|
{
|
||||||
|
static int calls;
|
||||||
|
|
||||||
|
if(!(calls++))
|
||||||
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
return NotImplemented;
|
||||||
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipGetAdjustableArrowCapMiddleInset(GpAdjustableArrowCap* cap, REAL* middle)
|
||||||
|
{
|
||||||
|
static int calls;
|
||||||
|
|
||||||
|
if(!(calls++))
|
||||||
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
return NotImplemented;
|
||||||
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipGetAdjustableArrowCapWidth(GpAdjustableArrowCap* cap, REAL* width)
|
||||||
|
{
|
||||||
|
static int calls;
|
||||||
|
|
||||||
|
if(!(calls++))
|
||||||
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
return NotImplemented;
|
||||||
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipSetAdjustableArrowCapFillState(GpAdjustableArrowCap* cap, BOOL fill)
|
||||||
|
{
|
||||||
|
static int calls;
|
||||||
|
|
||||||
|
if(!(calls++))
|
||||||
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
return NotImplemented;
|
||||||
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipSetAdjustableArrowCapHeight(GpAdjustableArrowCap* cap, REAL height)
|
||||||
|
{
|
||||||
|
static int calls;
|
||||||
|
|
||||||
|
if(!(calls++))
|
||||||
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
return NotImplemented;
|
||||||
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipSetAdjustableArrowCapMiddleInset(GpAdjustableArrowCap* cap, REAL middle)
|
||||||
|
{
|
||||||
|
static int calls;
|
||||||
|
|
||||||
|
if(!(calls++))
|
||||||
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
return NotImplemented;
|
||||||
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipSetAdjustableArrowCapWidth(GpAdjustableArrowCap* cap, REAL width)
|
||||||
|
{
|
||||||
|
static int calls;
|
||||||
|
|
||||||
|
if(!(calls++))
|
||||||
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
return NotImplemented;
|
||||||
|
}
|
||||||
|
|
|
@ -69,7 +69,7 @@
|
||||||
@ stdcall GdipConvertToEmfPlus(ptr ptr ptr long ptr ptr)
|
@ stdcall GdipConvertToEmfPlus(ptr ptr ptr long ptr ptr)
|
||||||
@ stub GdipConvertToEmfPlusToFile
|
@ stub GdipConvertToEmfPlusToFile
|
||||||
@ stub GdipConvertToEmfPlusToStream
|
@ stub GdipConvertToEmfPlusToStream
|
||||||
@ stub GdipCreateAdjustableArrowCap
|
@ stdcall GdipCreateAdjustableArrowCap(long long long ptr)
|
||||||
@ stub GdipCreateBitmapFromDirectDrawSurface
|
@ stub GdipCreateBitmapFromDirectDrawSurface
|
||||||
@ stdcall GdipCreateBitmapFromFile(wstr ptr)
|
@ stdcall GdipCreateBitmapFromFile(wstr ptr)
|
||||||
@ stdcall GdipCreateBitmapFromFileICM(wstr ptr)
|
@ stdcall GdipCreateBitmapFromFileICM(wstr ptr)
|
||||||
|
@ -236,10 +236,10 @@
|
||||||
@ stdcall GdipFlattenPath(ptr ptr long)
|
@ stdcall GdipFlattenPath(ptr ptr long)
|
||||||
@ stdcall GdipFlush(ptr long)
|
@ stdcall GdipFlush(ptr long)
|
||||||
@ stdcall GdipFree(ptr)
|
@ stdcall GdipFree(ptr)
|
||||||
@ stub GdipGetAdjustableArrowCapFillState
|
@ stdcall GdipGetAdjustableArrowCapFillState(ptr ptr)
|
||||||
@ stub GdipGetAdjustableArrowCapHeight
|
@ stdcall GdipGetAdjustableArrowCapHeight(ptr ptr)
|
||||||
@ stub GdipGetAdjustableArrowCapMiddleInset
|
@ stdcall GdipGetAdjustableArrowCapMiddleInset(ptr ptr)
|
||||||
@ stub GdipGetAdjustableArrowCapWidth
|
@ stdcall GdipGetAdjustableArrowCapWidth(ptr ptr)
|
||||||
@ stub GdipGetAllPropertyItems
|
@ stub GdipGetAllPropertyItems
|
||||||
@ stdcall GdipGetBrushType(ptr ptr)
|
@ stdcall GdipGetBrushType(ptr ptr)
|
||||||
@ stdcall GdipGetCellAscent(ptr long ptr)
|
@ stdcall GdipGetCellAscent(ptr long ptr)
|
||||||
|
@ -502,10 +502,10 @@
|
||||||
@ stub GdipScalePenTransform
|
@ stub GdipScalePenTransform
|
||||||
@ stub GdipScaleTextureTransform
|
@ stub GdipScaleTextureTransform
|
||||||
@ stdcall GdipScaleWorldTransform(ptr long long long)
|
@ stdcall GdipScaleWorldTransform(ptr long long long)
|
||||||
@ stub GdipSetAdjustableArrowCapFillState
|
@ stdcall GdipSetAdjustableArrowCapFillState(ptr long)
|
||||||
@ stub GdipSetAdjustableArrowCapHeight
|
@ stdcall GdipSetAdjustableArrowCapHeight(ptr long)
|
||||||
@ stub GdipSetAdjustableArrowCapMiddleInset
|
@ stdcall GdipSetAdjustableArrowCapMiddleInset(ptr long)
|
||||||
@ stub GdipSetAdjustableArrowCapWidth
|
@ stdcall GdipSetAdjustableArrowCapWidth(ptr long)
|
||||||
@ stub GdipSetClipGraphics
|
@ stub GdipSetClipGraphics
|
||||||
@ stub GdipSetClipHrgn
|
@ stub GdipSetClipHrgn
|
||||||
@ stub GdipSetClipPath
|
@ stub GdipSetClipPath
|
||||||
|
|
|
@ -167,6 +167,10 @@ struct GpCustomLineCap{
|
||||||
REAL scale;
|
REAL scale;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct GpAdustableArrowCap{
|
||||||
|
GpCustomLineCap cap;
|
||||||
|
};
|
||||||
|
|
||||||
struct GpImage{
|
struct GpImage{
|
||||||
IPicture* picture;
|
IPicture* picture;
|
||||||
ImageType type;
|
ImageType type;
|
||||||
|
|
|
@ -526,6 +526,15 @@ GpStatus WINGDIPAPI GdipSetMetafileDownLevelRasterizationLimit(GpMetafile*,UINT)
|
||||||
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 GdipCreateAdjustableArrowCap(REAL,REAL,BOOL,GpAdjustableArrowCap**);
|
||||||
|
GpStatus WINGDIPAPI GdipGetAdjustableArrowCapFillState(GpAdjustableArrowCap*,BOOL*);
|
||||||
|
GpStatus WINGDIPAPI GdipGetAdjustableArrowCapHeight(GpAdjustableArrowCap*,REAL*);
|
||||||
|
GpStatus WINGDIPAPI GdipGetAdjustableArrowCapMiddleInset(GpAdjustableArrowCap*,REAL*);
|
||||||
|
GpStatus WINGDIPAPI GdipGetAdjustableArrowCapWidth(GpAdjustableArrowCap*,REAL*);
|
||||||
|
GpStatus WINGDIPAPI GdipSetAdjustableArrowCapFillState(GpAdjustableArrowCap*,BOOL);
|
||||||
|
GpStatus WINGDIPAPI GdipSetAdjustableArrowCapHeight(GpAdjustableArrowCap*,REAL);
|
||||||
|
GpStatus WINGDIPAPI GdipSetAdjustableArrowCapMiddleInset(GpAdjustableArrowCap*,REAL);
|
||||||
|
GpStatus WINGDIPAPI GdipSetAdjustableArrowCapWidth(GpAdjustableArrowCap*,REAL);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,6 +28,7 @@ class GpPath {};
|
||||||
class GpMatrix {};
|
class GpMatrix {};
|
||||||
class GpPathIterator {};
|
class GpPathIterator {};
|
||||||
class GpCustomLineCap {};
|
class GpCustomLineCap {};
|
||||||
|
class GpAdjustableArrowCap : public GpCustomLineCap {};
|
||||||
class GpImage {};
|
class GpImage {};
|
||||||
class GpMetafile : public GpImage {};
|
class GpMetafile : public GpImage {};
|
||||||
class GpImageAttributes {};
|
class GpImageAttributes {};
|
||||||
|
@ -52,6 +53,7 @@ typedef struct GpPath GpPath;
|
||||||
typedef struct GpMatrix GpMatrix;
|
typedef struct GpMatrix GpMatrix;
|
||||||
typedef struct GpPathIterator GpPathIterator;
|
typedef struct GpPathIterator GpPathIterator;
|
||||||
typedef struct GpCustomLineCap GpCustomLineCap;
|
typedef struct GpCustomLineCap GpCustomLineCap;
|
||||||
|
typedef struct GpAdjustableArrowCap GpAdjustableArrowCap;
|
||||||
typedef struct GpImage GpImage;
|
typedef struct GpImage GpImage;
|
||||||
typedef struct GpMetafile GpMetafile;
|
typedef struct GpMetafile GpMetafile;
|
||||||
typedef struct GpImageAttributes GpImageAttributes;
|
typedef struct GpImageAttributes GpImageAttributes;
|
||||||
|
|
Loading…
Reference in New Issue