Commit a85bb87c authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

gdiplus: Implement GdipGetPathGradientCenterColor.

parent b3bafb60
...@@ -994,14 +994,14 @@ GpStatus WINGDIPAPI GdipGetPathGradientCenterPointI(GpPathGradient *grad, ...@@ -994,14 +994,14 @@ GpStatus WINGDIPAPI GdipGetPathGradientCenterPointI(GpPathGradient *grad,
GpStatus WINGDIPAPI GdipGetPathGradientCenterColor(GpPathGradient *grad, GpStatus WINGDIPAPI GdipGetPathGradientCenterColor(GpPathGradient *grad,
ARGB *colors) ARGB *colors)
{ {
static int calls;
TRACE("(%p,%p)\n", grad, colors); TRACE("(%p,%p)\n", grad, colors);
if(!(calls++)) if (!grad || !colors)
FIXME("not implemented\n"); return InvalidParameter;
return NotImplemented; *colors = grad->centercolor;
return Ok;
} }
GpStatus WINGDIPAPI GdipGetPathGradientFocusScales(GpPathGradient *grad, GpStatus WINGDIPAPI GdipGetPathGradientFocusScales(GpPathGradient *grad,
......
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