Vincent Povirk : gdiplus: Stub GdipGetLinePresetBlend[Count].
Alexandre Julliard
julliard at winehq.org
Tue Sep 15 17:47:54 CDT 2009
Module: wine
Branch: master
Commit: 52e91927fd05c33c95c5c9a1352274368dd57eb2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=52e91927fd05c33c95c5c9a1352274368dd57eb2
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Mon Sep 14 15:42:21 2009 -0500
gdiplus: Stub GdipGetLinePresetBlend[Count].
---
dlls/gdiplus/brush.c | 22 ++++++++++++++++++++++
dlls/gdiplus/gdiplus.spec | 4 ++--
2 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index 506eb93..8b18684 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -1582,6 +1582,28 @@ GpStatus WINGDIPAPI GdipSetLinePresetBlend(GpLineGradient *brush,
return NotImplemented;
}
+GpStatus WINGDIPAPI GdipGetLinePresetBlend(GpLineGradient *brush,
+ ARGB *blend, REAL* positions, INT count)
+{
+ static int calls;
+
+ if(!(calls++))
+ FIXME("not implemented\n");
+
+ return NotImplemented;
+}
+
+GpStatus WINGDIPAPI GdipGetLinePresetBlendCount(GpLineGradient *brush,
+ INT *count)
+{
+ static int calls;
+
+ if(!(calls++))
+ FIXME("not implemented\n");
+
+ return NotImplemented;
+}
+
GpStatus WINGDIPAPI GdipResetLineTransform(GpLineGradient *brush)
{
static int calls;
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 72f0c59..aa64a3c 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -304,8 +304,8 @@
@ stdcall GdipGetLineBlendCount(ptr ptr)
@ stdcall GdipGetLineColors(ptr ptr)
@ stdcall GdipGetLineGammaCorrection(ptr ptr)
-@ stub GdipGetLinePresetBlend
-@ stub GdipGetLinePresetBlendCount
+@ stdcall GdipGetLinePresetBlend(ptr ptr ptr long)
+@ stdcall GdipGetLinePresetBlendCount(ptr ptr)
@ stdcall GdipGetLineRect(ptr ptr)
@ stdcall GdipGetLineRectI(ptr ptr)
@ stdcall GdipGetLineSpacing(ptr long ptr)
More information about the wine-cvs
mailing list