[4/11] gdiplus: added GdipSetPathGradientSigmaBlend stub
Evan Stade
estade at gmail.com
Thu Aug 2 19:52:43 CDT 2007
Hi,
dlls/gdiplus/brush.c | 14 ++++++++++++++
dlls/gdiplus/gdiplus.spec | 2 +-
include/gdiplusflat.h | 1 +
3 files changed, 16 insertions(+), 1 deletions(-)
--
Evan Stade
-------------- next part --------------
diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index 3994771..4864caf 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -216,6 +216,20 @@ GpStatus WINGDIPAPI GdipSetPathGradientC
return Ok;
}
+GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient *grad,
+ REAL focus, REAL scale)
+{
+ static int calls;
+
+ if(!grad || focus < 0.0 || focus > 1.0 || scale < 0.0 || scale > 1.0)
+ return InvalidParameter;
+
+ if(!(calls++))
+ FIXME("not implemented\n");
+
+ return NotImplemented;
+}
+
GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient
*grad, ARGB *argb, INT *count)
{
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 63a30a3..85ad779 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -557,7 +557,7 @@
@ stub GdipSetPathGradientLinearBlend
@ stub GdipSetPathGradientPath
@ stub GdipSetPathGradientPresetBlend
-@ stub GdipSetPathGradientSigmaBlend
+@ stdcall GdipSetPathGradientSigmaBlend(ptr long long)
@ stdcall GdipSetPathGradientSurroundColorsWithCount(ptr ptr ptr)
@ stub GdipSetPathGradientTransform
@ stdcall GdipSetPathGradientWrapMode(ptr long)
diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h
index 60115a4..87b8ccb 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -100,6 +100,7 @@ GpStatus WINGDIPAPI GdipGetPathGradientS
GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*);
GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill*,ARGB*);
GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient*,ARGB);
+GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient*,REAL,REAL);
GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient*,
ARGB*,INT*);
GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient*,GpWrapMode);
--
1.4.1
More information about the wine-patches
mailing list