Lei Zhang : gdiplus: Add a stub for GdipSetLineLinearBlend.
Alexandre Julliard
julliard at winehq.org
Fri Apr 11 06:28:13 CDT 2008
Module: wine
Branch: master
Commit: 0399cdaff0b8847b7fad13d49a7bdf42f7ac915b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0399cdaff0b8847b7fad13d49a7bdf42f7ac915b
Author: Lei Zhang <thestig at google.com>
Date: Thu Apr 10 12:40:18 2008 -0700
gdiplus: Add a stub for GdipSetLineLinearBlend.
---
dlls/gdiplus/brush.c | 11 +++++++++++
dlls/gdiplus/gdiplus.spec | 2 +-
2 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index 68178e9..182af75 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -664,3 +664,14 @@ GpStatus WINGDIPAPI GdipSetLineColors(GpLineGradient *brush, ARGB color1,
return NotImplemented;
}
+
+GpStatus WINGDIPAPI GdipSetLineLinearBlend(GpLineGradient *brush, REAL focus,
+ REAL scale)
+{
+ static int calls;
+
+ if(!(calls++))
+ FIXME("not implemented\n");
+
+ return NotImplemented;
+}
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index c33bb42..69f3521 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -538,7 +538,7 @@
@ stdcall GdipSetLineBlend(ptr ptr ptr long)
@ stdcall GdipSetLineColors(ptr long long)
@ stdcall GdipSetLineGammaCorrection(ptr long)
-@ stub GdipSetLineLinearBlend
+@ stdcall GdipSetLineLinearBlend(ptr long long)
@ stub GdipSetLinePresetBlend
@ stdcall GdipSetLineSigmaBlend(ptr long long)
@ stub GdipSetLineTransform
More information about the wine-cvs
mailing list