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