gdiplus: Added GdipGetPointCount.

This commit is contained in:
Evan Stade 2007-07-06 16:14:34 -07:00 committed by Alexandre Julliard
parent d0ba8711ff
commit 8a114adefe
3 changed files with 12 additions and 1 deletions

View File

@ -353,7 +353,7 @@
@ stub GdipGetPenUnit
@ stub GdipGetPenWidth
@ stub GdipGetPixelOffsetMode
@ stub GdipGetPointCount
@ stdcall GdipGetPointCount(ptr ptr)
@ stub GdipGetPropertyCount
@ stub GdipGetPropertyIdList
@ stub GdipGetPropertyItem

View File

@ -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;
}

View File

@ -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
}