Implement gdiplus.dll.GdipSetPathGradientPresetBlend
Alban Browaeys
prahal at yahoo.com
Sat May 2 12:44:56 CDT 2009
While opening the "actions" panel or "test the animation" in Flash CS3
wine crash with:
unimplemented function gdiplus.dll.GdipSetPathGradientPresetBlend
This is an "unimplemented" implementation based on existing gdiplus
GdipSetPathGradientBlend.
---
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 74e7764..364e090 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -1302,6 +1302,17 @@ GpStatus WINGDIPAPI GdipSetPathGradientGammaCorrection(GpPathGradient *grad,
return Ok;
}
+GpStatus WINGDIPAPI GdipSetPathGradientPresetBlend(GpPathGradient *brush, GDIPCONST REAL *blend,
+ GDIPCONST REAL *pos, INT count)
+{
+ static int calls;
+
+ if(!(calls++))
+ FIXME("not implemented\n");
+
+ return NotImplemented;
+}
+
GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient *grad,
REAL focus, REAL scale)
{
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index a9d4c9d..bb392fb 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -556,7 +556,7 @@
@ stdcall GdipSetPathGradientGammaCorrection(ptr long)
@ stub GdipSetPathGradientLinearBlend
@ stub GdipSetPathGradientPath
-@ stub GdipSetPathGradientPresetBlend
+@ stdcall GdipSetPathGradientPresetBlend(ptr ptr ptr long)
@ stdcall GdipSetPathGradientSigmaBlend(ptr long long)
@ stdcall GdipSetPathGradientSurroundColorsWithCount(ptr ptr ptr)
@ stub GdipSetPathGradientTransform
--
1.6.3.rc1
More information about the wine-patches
mailing list