gdiplus: Implemented GdipGetPathGradientCenterPointI.
This commit is contained in:
parent
d5769957b4
commit
9cce789881
|
@ -488,6 +488,25 @@ GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint(GpPathGradient *grad,
|
|||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipGetPathGradientCenterPointI(GpPathGradient *grad,
|
||||
GpPoint *point)
|
||||
{
|
||||
GpStatus ret;
|
||||
GpPointF ptf;
|
||||
|
||||
if(!point)
|
||||
return InvalidParameter;
|
||||
|
||||
ret = GdipGetPathGradientCenterPoint(grad,&ptf);
|
||||
|
||||
if(ret == Ok){
|
||||
point->X = roundr(ptf.X);
|
||||
point->Y = roundr(ptf.Y);
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipGetPathGradientFocusScales(GpPathGradient *grad,
|
||||
REAL *x, REAL *y)
|
||||
{
|
||||
|
|
|
@ -329,7 +329,7 @@
|
|||
@ stub GdipGetPathGradientBlendCount
|
||||
@ stub GdipGetPathGradientCenterColor
|
||||
@ stdcall GdipGetPathGradientCenterPoint(ptr ptr)
|
||||
@ stub GdipGetPathGradientCenterPointI
|
||||
@ stdcall GdipGetPathGradientCenterPointI(ptr ptr)
|
||||
@ stdcall GdipGetPathGradientFocusScales(ptr ptr ptr)
|
||||
@ stdcall GdipGetPathGradientGammaCorrection(ptr ptr)
|
||||
@ stub GdipGetPathGradientPath
|
||||
|
|
|
@ -169,6 +169,7 @@ GpStatus WINGDIPAPI GdipGetLineRectI(GpLineGradient*,GpRect*);
|
|||
GpStatus WINGDIPAPI GdipGetLineColors(GpLineGradient*,ARGB*);
|
||||
GpStatus WINGDIPAPI GdipGetPathGradientCenterColor(GpPathGradient*,ARGB*);
|
||||
GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint(GpPathGradient*,GpPointF*);
|
||||
GpStatus WINGDIPAPI GdipGetPathGradientCenterPointI(GpPathGradient*,GpPoint*);
|
||||
GpStatus WINGDIPAPI GdipGetPathGradientFocusScales(GpPathGradient*,REAL*,REAL*);
|
||||
GpStatus WINGDIPAPI GdipGetPathGradientGammaCorrection(GpPathGradient*,BOOL*);
|
||||
GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient*,INT*);
|
||||
|
|
Loading…
Reference in New Issue