Module: wine Branch: master Commit: 15dce3a4324d8f69f9bd8124c09f2b37301910fe URL: http://source.winehq.org/git/wine.git/?a=commit;h=15dce3a4324d8f69f9bd8124c0...
Author: Evan Stade estade@gmail.com Date: Thu Aug 2 17:52:43 2007 -0700
gdiplus: Added GdipSetPathGradientSigmaBlend stub.
---
dlls/gdiplus/brush.c | 14 ++++++++++++++ dlls/gdiplus/gdiplus.spec | 2 +- include/gdiplusflat.h | 1 + 3 files changed, 16 insertions(+), 1 deletions(-)
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 GdipSetPathGradientCenterColor(GpPathGradient *grad, 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 fc4a8f3..a3da26a 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 GdipGetPathGradientSurroundColorsWithCount(GpPathGradient*, 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);