gdiplus: Added GdipGetPathTypes.
This commit is contained in:
parent
08784f3717
commit
06206fc4a5
|
@ -329,7 +329,7 @@
|
||||||
@ stub GdipGetPathLastPoint
|
@ stub GdipGetPathLastPoint
|
||||||
@ stdcall GdipGetPathPoints(ptr ptr long)
|
@ stdcall GdipGetPathPoints(ptr ptr long)
|
||||||
@ stub GdipGetPathPointsI
|
@ stub GdipGetPathPointsI
|
||||||
@ stub GdipGetPathTypes
|
@ stdcall GdipGetPathTypes(ptr ptr long)
|
||||||
@ stub GdipGetPathWorldBounds
|
@ stub GdipGetPathWorldBounds
|
||||||
@ stub GdipGetPathWorldBoundsI
|
@ stub GdipGetPathWorldBoundsI
|
||||||
@ stub GdipGetPenBrushFill
|
@ stub GdipGetPenBrushFill
|
||||||
|
|
|
@ -157,6 +157,19 @@ GpStatus WINGDIPAPI GdipGetPathPoints(GpPath *path, GpPointF* points, INT count)
|
||||||
return Ok;
|
return Ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipGetPathTypes(GpPath *path, BYTE* types, INT count)
|
||||||
|
{
|
||||||
|
if(!path)
|
||||||
|
return InvalidParameter;
|
||||||
|
|
||||||
|
if(count < path->pathdata.Count)
|
||||||
|
return InsufficientBuffer;
|
||||||
|
|
||||||
|
memcpy(types, path->pathdata.Types, path->pathdata.Count);
|
||||||
|
|
||||||
|
return Ok;
|
||||||
|
}
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipGetPointCount(GpPath *path, INT *count)
|
GpStatus WINGDIPAPI GdipGetPointCount(GpPath *path, INT *count)
|
||||||
{
|
{
|
||||||
if(!path)
|
if(!path)
|
||||||
|
|
|
@ -54,6 +54,7 @@ GpStatus WINGDIPAPI GdipClosePathFigures(GpPath*);
|
||||||
GpStatus WINGDIPAPI GdipCreatePath(GpFillMode,GpPath**);
|
GpStatus WINGDIPAPI GdipCreatePath(GpFillMode,GpPath**);
|
||||||
GpStatus WINGDIPAPI GdipDeletePath(GpPath*);
|
GpStatus WINGDIPAPI GdipDeletePath(GpPath*);
|
||||||
GpStatus WINGDIPAPI GdipGetPathPoints(GpPath*,GpPointF*,INT);
|
GpStatus WINGDIPAPI GdipGetPathPoints(GpPath*,GpPointF*,INT);
|
||||||
|
GpStatus WINGDIPAPI GdipGetPathTypes(GpPath*,BYTE*,INT);
|
||||||
GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
|
GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Reference in New Issue