gdiplus: Added GdipS/GetPathGradientSurroundColorsWithCount stubs.
This commit is contained in:
parent
b26d7ce82d
commit
03af4ed338
|
@ -177,6 +177,20 @@ GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient *grad,
|
||||||
return Ok;
|
return Ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount(GpPathGradient
|
||||||
|
*grad, ARGB *argb, INT *count)
|
||||||
|
{
|
||||||
|
static int calls;
|
||||||
|
|
||||||
|
if(!grad || !argb || !count || (*count < grad->pathdata.Count))
|
||||||
|
return InvalidParameter;
|
||||||
|
|
||||||
|
if(!(calls++))
|
||||||
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
return NotImplemented;
|
||||||
|
}
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill *sf, ARGB *argb)
|
GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill *sf, ARGB *argb)
|
||||||
{
|
{
|
||||||
if(!sf || !argb)
|
if(!sf || !argb)
|
||||||
|
@ -202,6 +216,21 @@ GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient *grad,
|
||||||
return Ok;
|
return Ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient
|
||||||
|
*grad, ARGB *argb, INT *count)
|
||||||
|
{
|
||||||
|
static int calls;
|
||||||
|
|
||||||
|
if(!grad || !argb || !count || (*count <= 0) ||
|
||||||
|
(*count > grad->pathdata.Count))
|
||||||
|
return InvalidParameter;
|
||||||
|
|
||||||
|
if(!(calls++))
|
||||||
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
return NotImplemented;
|
||||||
|
}
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient *grad,
|
GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient *grad,
|
||||||
GpWrapMode wrap)
|
GpWrapMode wrap)
|
||||||
{
|
{
|
||||||
|
|
|
@ -339,7 +339,7 @@
|
||||||
@ stub GdipGetPathGradientRect
|
@ stub GdipGetPathGradientRect
|
||||||
@ stub GdipGetPathGradientRectI
|
@ stub GdipGetPathGradientRectI
|
||||||
@ stub GdipGetPathGradientSurroundColorCount
|
@ stub GdipGetPathGradientSurroundColorCount
|
||||||
@ stub GdipGetPathGradientSurroundColorsWithCount
|
@ stdcall GdipGetPathGradientSurroundColorsWithCount(ptr ptr ptr)
|
||||||
@ stub GdipGetPathGradientTransform
|
@ stub GdipGetPathGradientTransform
|
||||||
@ stub GdipGetPathGradientWrapMode
|
@ stub GdipGetPathGradientWrapMode
|
||||||
@ stub GdipGetPathLastPoint
|
@ stub GdipGetPathLastPoint
|
||||||
|
@ -558,7 +558,7 @@
|
||||||
@ stub GdipSetPathGradientPath
|
@ stub GdipSetPathGradientPath
|
||||||
@ stub GdipSetPathGradientPresetBlend
|
@ stub GdipSetPathGradientPresetBlend
|
||||||
@ stub GdipSetPathGradientSigmaBlend
|
@ stub GdipSetPathGradientSigmaBlend
|
||||||
@ stub GdipSetPathGradientSurroundColorsWithCount
|
@ stdcall GdipSetPathGradientSurroundColorsWithCount(ptr ptr ptr)
|
||||||
@ stub GdipSetPathGradientTransform
|
@ stub GdipSetPathGradientTransform
|
||||||
@ stdcall GdipSetPathGradientWrapMode(ptr long)
|
@ stdcall GdipSetPathGradientWrapMode(ptr long)
|
||||||
@ stub GdipSetPathMarker
|
@ stub GdipSetPathMarker
|
||||||
|
|
|
@ -95,9 +95,13 @@ GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath*,
|
||||||
GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB,GpSolidFill**);
|
GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB,GpSolidFill**);
|
||||||
GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*);
|
GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*);
|
||||||
GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient*,INT*);
|
GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient*,INT*);
|
||||||
|
GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount(GpPathGradient*,
|
||||||
|
ARGB*,INT*);
|
||||||
GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*);
|
GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*);
|
||||||
GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill*,ARGB*);
|
GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill*,ARGB*);
|
||||||
GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient*,ARGB);
|
GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient*,ARGB);
|
||||||
|
GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient*,
|
||||||
|
ARGB*,INT*);
|
||||||
GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient*,GpWrapMode);
|
GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient*,GpWrapMode);
|
||||||
GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill*,ARGB);
|
GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill*,ARGB);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue