gdiplus: Added GdipPathIterRewind.

This commit is contained in:
Evan Stade 2007-07-16 19:45:13 -07:00 committed by Alexandre Julliard
parent 90ff0fdd6c
commit 1182162dac
3 changed files with 13 additions and 1 deletions

View File

@ -442,7 +442,7 @@
@ stub GdipPathIterNextPathType
@ stdcall GdipPathIterNextSubpath(ptr ptr ptr ptr ptr)
@ stub GdipPathIterNextSubpathPath
@ stub GdipPathIterRewind
@ stdcall GdipPathIterRewind(ptr)
@ stub GdipPlayMetafileRecord
@ stub GdipPrivateAddFontFile
@ stub GdipPrivateAddMemoryFont

View File

@ -117,3 +117,14 @@ GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator* iterator,
return Ok;
}
GpStatus WINGDIPAPI GdipPathIterRewind(GpPathIterator *iterator)
{
if(!iterator)
return InvalidParameter;
iterator->subpath_pos = 0;
iterator->marker_pos = 0;
iterator->pathtype_pos = 0;
return Ok;
}

View File

@ -90,6 +90,7 @@ GpStatus WINGDIPAPI GdipDeletePathIter(GpPathIterator*);
GpStatus WINGDIPAPI GdipPathIterCopyData(GpPathIterator*,INT*,GpPointF*,BYTE*,
INT,INT);
GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator*,INT*,INT*,INT*,BOOL*);
GpStatus WINGDIPAPI GdipPathIterRewind(GpPathIterator*);
#ifdef __cplusplus
}