mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
gdiplus: Added GdipPathIterRewind.
This commit is contained in:
parent
90ff0fdd6c
commit
1182162dac
3 changed files with 13 additions and 1 deletions
|
@ -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 a new issue