gdiplus: Added GdipGetPointCount.
This commit is contained in:
parent
d0ba8711ff
commit
8a114adefe
|
@ -353,7 +353,7 @@
|
|||
@ stub GdipGetPenUnit
|
||||
@ stub GdipGetPenWidth
|
||||
@ stub GdipGetPixelOffsetMode
|
||||
@ stub GdipGetPointCount
|
||||
@ stdcall GdipGetPointCount(ptr ptr)
|
||||
@ stub GdipGetPropertyCount
|
||||
@ stub GdipGetPropertyIdList
|
||||
@ stub GdipGetPropertyItem
|
||||
|
|
|
@ -143,3 +143,13 @@ GpStatus WINGDIPAPI GdipDeletePath(GpPath *path)
|
|||
|
||||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipGetPointCount(GpPath *path, INT *count)
|
||||
{
|
||||
if(!path)
|
||||
return InvalidParameter;
|
||||
|
||||
*count = path->pathdata.Count;
|
||||
|
||||
return Ok;
|
||||
}
|
||||
|
|
|
@ -53,6 +53,7 @@ GpStatus WINGDIPAPI GdipClosePathFigure(GpPath*);
|
|||
GpStatus WINGDIPAPI GdipClosePathFigures(GpPath*);
|
||||
GpStatus WINGDIPAPI GdipCreatePath(GpFillMode,GpPath**);
|
||||
GpStatus WINGDIPAPI GdipDeletePath(GpPath*);
|
||||
GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue