gdiplus: GdipCreateLineBrushI implemented using float args version.
This commit is contained in:
parent
172389e131
commit
0679e9770a
|
@ -131,6 +131,24 @@ GpStatus WINGDIPAPI GdipCreateLineBrush(GDIPCONST GpPointF* startpoint,
|
|||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipCreateLineBrushI(GDIPCONST GpPoint* startpoint,
|
||||
GDIPCONST GpPoint* endpoint, ARGB startcolor, ARGB endcolor,
|
||||
GpWrapMode wrap, GpLineGradient **line)
|
||||
{
|
||||
GpPointF stF;
|
||||
GpPointF endF;
|
||||
|
||||
if(!startpoint || !endpoint)
|
||||
return InvalidParameter;
|
||||
|
||||
stF.X = (REAL)startpoint->X;
|
||||
stF.Y = (REAL)startpoint->Y;
|
||||
endF.X = (REAL)endpoint->X;
|
||||
endF.X = (REAL)endpoint->Y;
|
||||
|
||||
return GdipCreateLineBrush(&stF, &endF, startcolor, endcolor, wrap, line);
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipCreateLineBrushFromRectI(GDIPCONST GpRect* rect,
|
||||
ARGB startcolor, ARGB endcolor, LinearGradientMode mode, GpWrapMode wrap,
|
||||
GpLineGradient **line)
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
@ stdcall GdipCreateLineBrushFromRectI(ptr long long long long ptr)
|
||||
@ stub GdipCreateLineBrushFromRectWithAngle
|
||||
@ stub GdipCreateLineBrushFromRectWithAngleI
|
||||
@ stub GdipCreateLineBrushI
|
||||
@ stdcall GdipCreateLineBrushI(ptr ptr long long long ptr)
|
||||
@ stdcall GdipCreateMatrix2(long long long long long long ptr)
|
||||
@ stdcall GdipCreateMatrix3(ptr ptr ptr)
|
||||
@ stdcall GdipCreateMatrix3I(ptr ptr ptr)
|
||||
|
|
Loading…
Reference in New Issue