[11/19] gdiplus: added GdipSetLineSigmaBlend stub
Evan Stade
estade at gmail.com
Tue Aug 7 20:42:36 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 5ad9b13..5fd6649 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -316,6 +316,20 @@ GpStatus WINGDIPAPI GdipGetSolidFillColo
return Ok;
}
+GpStatus WINGDIPAPI GdipSetLineSigmaBlend(GpLineGradient *line, REAL focus,
+ REAL scale)
+{
+ static int calls;
+
+ if(!line || focus < 0.0 || focus > 1.0 || scale < 0.0 || scale > 1.0)
+ return InvalidParameter;
+
+ if(!(calls++))
+ FIXME("not implemented\n");
+
+ return NotImplemented;
+}
+
GpStatus WINGDIPAPI GdipSetLineWrapMode(GpLineGradient *line,
GpWrapMode wrap)
{
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 44026f7..6d0f042 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -540,7 +540,7 @@
@ stub GdipSetLineGammaCorrection
@ stub GdipSetLineLinearBlend
@ stub GdipSetLinePresetBlend
-@ stub GdipSetLineSigmaBlend
+@ stdcall GdipSetLineSigmaBlend(ptr long long)
@ stub GdipSetLineTransform
@ stdcall GdipSetLineWrapMode(ptr long)
@ stdcall GdipSetMatrixElements(ptr long long long long long long)
diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h
index 713faac..00ce4fc 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -106,6 +106,7 @@ GpStatus WINGDIPAPI GdipGetPathGradientP
GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount(GpPathGradient*,
ARGB*,INT*);
GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill*,ARGB*);
+GpStatus WINGDIPAPI GdipSetLineSigmaBlend(GpLineGradient*,REAL,REAL);
GpStatus WINGDIPAPI GdipSetLineWrapMode(GpLineGradient*,GpWrapMode);
GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient*,ARGB);
GpStatus WINGDIPAPI GdipSetPathGradientCenterPoint(GpPathGradient*,GpPointF*);
--
1.4.1
More information about the wine-patches
mailing list