gdiplus: Added GdipTransformPath.
This commit is contained in:
parent
05450b0366
commit
1f1ecfb2b5
|
@ -584,7 +584,7 @@
|
|||
@ stub GdipTestControl
|
||||
@ stdcall GdipTransformMatrixPoints(ptr ptr long)
|
||||
@ stub GdipTransformMatrixPointsI
|
||||
@ stub GdipTransformPath
|
||||
@ stdcall GdipTransformPath(ptr ptr)
|
||||
@ stub GdipTransformPoints
|
||||
@ stub GdipTransformPointsI
|
||||
@ stub GdipTransformRegion
|
||||
|
|
|
@ -222,3 +222,15 @@ GpStatus WINGDIPAPI GdipStartPathFigure(GpPath *path)
|
|||
|
||||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipTransformPath(GpPath *path, GpMatrix *matrix)
|
||||
{
|
||||
if(!path)
|
||||
return InvalidParameter;
|
||||
|
||||
if(path->pathdata.Count == 0)
|
||||
return Ok;
|
||||
|
||||
return GdipTransformMatrixPoints(matrix, (GpPointF*) path->pathdata.Points,
|
||||
path->pathdata.Count);
|
||||
}
|
||||
|
|
|
@ -59,6 +59,7 @@ GpStatus WINGDIPAPI GdipGetPathPoints(GpPath*,GpPointF*,INT);
|
|||
GpStatus WINGDIPAPI GdipGetPathTypes(GpPath*,BYTE*,INT);
|
||||
GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
|
||||
GpStatus WINGDIPAPI GdipStartPathFigure(GpPath*);
|
||||
GpStatus WINGDIPAPI GdipTransformPath(GpPath*,GpMatrix*);
|
||||
|
||||
GpStatus WINGDIPAPI GdipCreateMatrix2(REAL,REAL,REAL,REAL,REAL,REAL,GpMatrix**);
|
||||
GpStatus WINGDIPAPI GdipDeleteMatrix(GpMatrix*);
|
||||
|
|
Loading…
Reference in New Issue