Commit 1182162d authored by Evan Stade's avatar Evan Stade Committed by Alexandre Julliard

gdiplus: Added GdipPathIterRewind.

parent 90ff0fdd
......@@ -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
......
......@@ -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;
}
......@@ -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
}
......
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