From ac127fd8768553ae1f80fcdb10672877e860047a Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 9 Apr 2008 13:51:46 -0700 Subject: [PATCH 19/22] 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 -- 1.5.3.6