gdiplus: Added GdipSetLineBlend stub.

This commit is contained in:
Evan Stade 2007-08-14 19:01:00 -07:00 committed by Alexandre Julliard
parent 936f310190
commit b56689d22c
3 changed files with 17 additions and 1 deletions

View File

@ -486,6 +486,20 @@ GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill *sf, ARGB *argb)
return Ok;
}
GpStatus WINGDIPAPI GdipSetLineBlend(GpLineGradient *brush,
GDIPCONST REAL *blend, GDIPCONST REAL* positions, INT count)
{
static int calls;
if(!brush || !blend || !positions || count <= 0)
return InvalidParameter;
if(!(calls++))
FIXME("not implemented\n");
return Ok;
}
GpStatus WINGDIPAPI GdipSetLineGammaCorrection(GpLineGradient *line,
BOOL usegamma)
{

View File

@ -535,7 +535,7 @@
@ stdcall GdipSetImagePalette(ptr ptr)
@ stub GdipSetInfinite
@ stdcall GdipSetInterpolationMode(ptr long)
@ stub GdipSetLineBlend
@ stdcall GdipSetLineBlend(ptr ptr ptr long)
@ stub GdipSetLineColors
@ stdcall GdipSetLineGammaCorrection(ptr long)
@ stub GdipSetLineLinearBlend

View File

@ -127,6 +127,8 @@ GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient*,INT*);
GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount(GpPathGradient*,
ARGB*,INT*);
GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill*,ARGB*);
GpStatus WINGDIPAPI GdipSetLineBlend(GpLineGradient*,GDIPCONST REAL*,
GDIPCONST REAL*,INT);
GpStatus WINGDIPAPI GdipSetLineGammaCorrection(GpLineGradient*,BOOL);
GpStatus WINGDIPAPI GdipSetLineSigmaBlend(GpLineGradient*,REAL,REAL);
GpStatus WINGDIPAPI GdipSetLineWrapMode(GpLineGradient*,GpWrapMode);