gdiplus: Added GdipPathIterRewind.
This commit is contained in:
parent
90ff0fdd6c
commit
1182162dac
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue