mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 04:49:47 +00:00
gdiplus: Added GdipSetPathGradientCenterColor.
This commit is contained in:
parent
f18cdef727
commit
f2cf5551db
|
@ -120,6 +120,21 @@ GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill *sf, ARGB *argb)
|
||||||
return Ok;
|
return Ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient *grad,
|
||||||
|
ARGB argb)
|
||||||
|
{
|
||||||
|
if(!grad)
|
||||||
|
return InvalidParameter;
|
||||||
|
|
||||||
|
grad->centercolor = argb;
|
||||||
|
grad->brush.lb.lbColor = ARGB2COLORREF(argb);
|
||||||
|
|
||||||
|
DeleteObject(grad->brush.gdibrush);
|
||||||
|
grad->brush.gdibrush = CreateSolidBrush(grad->brush.lb.lbColor);
|
||||||
|
|
||||||
|
return Ok;
|
||||||
|
}
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill *sf, ARGB argb)
|
GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill *sf, ARGB argb)
|
||||||
{
|
{
|
||||||
if(!sf)
|
if(!sf)
|
||||||
|
|
|
@ -549,7 +549,7 @@
|
||||||
@ stdcall GdipSetPageUnit(ptr long)
|
@ stdcall GdipSetPageUnit(ptr long)
|
||||||
@ stdcall GdipSetPathFillMode(ptr long)
|
@ stdcall GdipSetPathFillMode(ptr long)
|
||||||
@ stub GdipSetPathGradientBlend
|
@ stub GdipSetPathGradientBlend
|
||||||
@ stub GdipSetPathGradientCenterColor
|
@ stdcall GdipSetPathGradientCenterColor(ptr long)
|
||||||
@ stub GdipSetPathGradientCenterPoint
|
@ stub GdipSetPathGradientCenterPoint
|
||||||
@ stub GdipSetPathGradientCenterPointI
|
@ stub GdipSetPathGradientCenterPointI
|
||||||
@ stub GdipSetPathGradientFocusScales
|
@ stub GdipSetPathGradientFocusScales
|
||||||
|
|
|
@ -94,6 +94,7 @@ GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB,GpSolidFill**);
|
||||||
GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*);
|
GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*);
|
||||||
GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*);
|
GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*);
|
||||||
GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill*,ARGB*);
|
GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill*,ARGB*);
|
||||||
|
GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient*,ARGB);
|
||||||
GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill*,ARGB);
|
GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill*,ARGB);
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipAddPathArc(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL);
|
GpStatus WINGDIPAPI GdipAddPathArc(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL);
|
||||||
|
|
Loading…
Reference in a new issue