Commit b56689d2 authored by Evan Stade's avatar Evan Stade Committed by Alexandre Julliard

gdiplus: Added GdipSetLineBlend stub.

parent 936f3101
...@@ -486,6 +486,20 @@ GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill *sf, ARGB *argb) ...@@ -486,6 +486,20 @@ GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill *sf, ARGB *argb)
return Ok; 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, GpStatus WINGDIPAPI GdipSetLineGammaCorrection(GpLineGradient *line,
BOOL usegamma) BOOL usegamma)
{ {
......
...@@ -535,7 +535,7 @@ ...@@ -535,7 +535,7 @@
@ stdcall GdipSetImagePalette(ptr ptr) @ stdcall GdipSetImagePalette(ptr ptr)
@ stub GdipSetInfinite @ stub GdipSetInfinite
@ stdcall GdipSetInterpolationMode(ptr long) @ stdcall GdipSetInterpolationMode(ptr long)
@ stub GdipSetLineBlend @ stdcall GdipSetLineBlend(ptr ptr ptr long)
@ stub GdipSetLineColors @ stub GdipSetLineColors
@ stdcall GdipSetLineGammaCorrection(ptr long) @ stdcall GdipSetLineGammaCorrection(ptr long)
@ stub GdipSetLineLinearBlend @ stub GdipSetLineLinearBlend
......
...@@ -127,6 +127,8 @@ GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient*,INT*); ...@@ -127,6 +127,8 @@ GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient*,INT*);
GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount(GpPathGradient*, GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount(GpPathGradient*,
ARGB*,INT*); ARGB*,INT*);
GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill*,ARGB*); GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill*,ARGB*);
GpStatus WINGDIPAPI GdipSetLineBlend(GpLineGradient*,GDIPCONST REAL*,
GDIPCONST REAL*,INT);
GpStatus WINGDIPAPI GdipSetLineGammaCorrection(GpLineGradient*,BOOL); GpStatus WINGDIPAPI GdipSetLineGammaCorrection(GpLineGradient*,BOOL);
GpStatus WINGDIPAPI GdipSetLineSigmaBlend(GpLineGradient*,REAL,REAL); GpStatus WINGDIPAPI GdipSetLineSigmaBlend(GpLineGradient*,REAL,REAL);
GpStatus WINGDIPAPI GdipSetLineWrapMode(GpLineGradient*,GpWrapMode); GpStatus WINGDIPAPI GdipSetLineWrapMode(GpLineGradient*,GpWrapMode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment