gdiplus: Added GdipResetPath.
This commit is contained in:
parent
64035b308e
commit
d174bcc8a6
|
@ -458,7 +458,7 @@
|
|||
@ stub GdipResetImageAttributes
|
||||
@ stub GdipResetLineTransform
|
||||
@ stub GdipResetPageTransform
|
||||
@ stub GdipResetPath
|
||||
@ stdcall GdipResetPath(ptr)
|
||||
@ stub GdipResetPathGradientTransform
|
||||
@ stub GdipResetPenTransform
|
||||
@ stub GdipResetTextureTransform
|
||||
|
|
|
@ -320,6 +320,18 @@ GpStatus WINGDIPAPI GdipStartPathFigure(GpPath *path)
|
|||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipResetPath(GpPath *path)
|
||||
{
|
||||
if(!path)
|
||||
return InvalidParameter;
|
||||
|
||||
path->pathdata.Count = 0;
|
||||
path->newfigure = TRUE;
|
||||
path->fill = FillModeAlternate;
|
||||
|
||||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipTransformPath(GpPath *path, GpMatrix *matrix)
|
||||
{
|
||||
if(!path)
|
||||
|
|
|
@ -63,6 +63,7 @@ GpStatus WINGDIPAPI GdipGetPathWorldBounds(GpPath*,GpRectF*,GDIPCONST GpMatrix*,
|
|||
GDIPCONST GpPen*);
|
||||
GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
|
||||
GpStatus WINGDIPAPI GdipStartPathFigure(GpPath*);
|
||||
GpStatus WINGDIPAPI GdipResetPath(GpPath*);
|
||||
GpStatus WINGDIPAPI GdipTransformPath(GpPath*,GpMatrix*);
|
||||
|
||||
GpStatus WINGDIPAPI GdipCreateMatrix2(REAL,REAL,REAL,REAL,REAL,REAL,GpMatrix**);
|
||||
|
|
Loading…
Reference in New Issue