勇芳软件工作室.汉化:  GDI+ Flat API >

GraphicsPath Functions

Previous pageReturn to chapter overviewNext page

平面功能

包装方式

备注

GpStatus WINGDIPAPI GdipCreatePath(GpFillMode brushMode,GpPath **路径)

GraphicsPath

GraphicPath(IN FillMode fillMode = FillModeAlternate)


GpStatus WINGDIPAPI GdipCreatePath2(GDIPCONST GpPointF *点,GDIPCONST BYTE *类型,INT计数,GpFillMode fillMode,GpPath **路径)

GraphicsPath

GraphicsPath(IN const PointF * points,IN const BYTE * types,IN INT count,IN FillMode fillMode = FillModeAlternate)


GpStatus WINGDIPAPI GdipCreatePath2I(GDIPCONST GpPoint *点,GDIPCONST BYTE *类型,INT计数,GpFillMode fillMode,GpPath **路径)

GraphicsPath

GraphicsPath(IN const Point * points,IN const BYTE * types,IN INT count,IN FillMode fillMode = FillModeAlternate)


GpStatus WINGDIPAPI GdipClonePath(GpPath * path,GpPath ** clonePath)

GraphicsPath

GraphicsPath * Clone()const


GpStatus WINGDIPAPI GdipDeletePath(GpPath * path)

GraphicsPath

~GraphicsPath()


GpStatus WINGDIPAPI GdipResetPath(GpPath * path)

GraphicsPath

状态复位()


GpStatus WINGDIPAPI GdipGetPointCount(GpPath * path,INT * count)

GraphicsPath

GetPointCount INT()const的


GpStatus WINGDIPAPI GdipGetPathTypes(GpPath *路径,BYTE *类型,INT计数)

GraphicsPath

状态GetPathTypes(OUT BYTE * types,IN INT count)const


GpStatus WINGDIPAPI GdipGetPathPoints(GpPath *,GpPointF * points,INT count)

GraphicsPath

状态GetPathPoints(OUT PointF * points,IN INT count)const


GpStatus WINGDIPAPI GdipGetPathPointsI(GpPath *,GpPoint * points,INT count)

GraphicsPath

状态GetPathPoints(OUT点*点,IN INT计数)const


GpStatus WINGDIPAPI GdipGetPathFillMode(GpPath * path,GpFillMode * fillmode)

GraphicsPath

FillMode GetFillMode()const


GpStatus WINGDIPAPI GdipSetPathFillMode(GpPath * path,GpFillMode fillmode)

GraphicsPath

状态SetFillMode(IN FILLMODE FILLMODE)


GpStatus WINGDIPAPI GdipGetPathData(GpPath * path,GpPathData * pathData)

GraphicsPath

状态GetPathData(OUT PathData * pathData)const


GpStatus WINGDIPAPI GdipStartPathFigure(GpPath * path)

GraphicsPath

状态StartFigure()


GpStatus WINGDIPAPI GdipClosePathFigure(GpPath * path)

GraphicsPath

状态关闭图()


GpStatus WINGDIPAPI GdipClosePathFigures(GpPath * path)

GraphicsPath

状态CloseAllFigures()


GpStatus WINGDIPAPI GdipSetPathMarker(GpPath * path)

GraphicsPath

状态SetMarker()


GpStatus WINGDIPAPI GdipClearPathMarkers(GpPath * path)

GraphicsPath

状态ClearMarkers()


GpStatus WINGDIPAPI GdipReversePath(GpPath * path)

GraphicsPath

状态反转()


GpStatus WINGDIPAPI GdipGetPathLastPoint(GpPath * path,GpPointF * lastPoint)

GraphicsPath

状态GetLastPoint(OUT PointF * lastPoint)const


GpStatus WINGDIPAPI GdipAddPathLine(GpPath * path,REAL x1,REAL y1,REAL x2,REAL y2)

GraphicsPath

状态AddLine(IN REAL x1,IN REAL y1,IN REAL x2,IN REAL y2)


GpStatus WINGDIPAPI GdipAddPathLine2(GpPath * path,GDIPCONST GpPointF * points,INT count)

GraphicsPath

状态AddLines(IN const PointF *点,IN INT计数)


GpStatus WINGDIPAPI GdipAddPathArc(GpPath * path,REAL x,REAL y,REAL width,REAL height,REAL startAngle,REAL sweepAngle)

GraphicsPath

状态AddArc(IN REAL x,IN REAL y,IN REAL width,IN REAL height,IN REAL startAngle,IN REAL sweepAngle)


GpStatus WINGDIPAPI GdipAddPathBezier(GpPath * path,REAL x1,REAL y1,REAL x2,REAL y2,REAL x3,REAL y3,REAL x4,REAL y4)

GraphicsPath

状态AddBezier(IN REAL x1,IN REAL y1,IN REAL x2,IN REAL y2,IN REAL x3,IN REAL y3,IN REAL x4,IN REAL y4)


GpStatus WINGDIPAPI GdipAddPathBeziers(GpPath * path,GDIPCONST GpPointF * points,INT count)

GraphicsPath

状态AddBeziers(IN const PointF *点,IN INT计数)


GpStatus WINGDIPAPI GdipAddPathCurve(GpPath * path,GDIPCONST GpPointF * points,INT count)

GraphicsPath

状态AddCurve(IN const PointF *点,IN INT计数)


GpStatus WINGDIPAPI GdipAddPathCurve2(GpPath *路径,GDIPCONST GpPointF *点,INT计数,REAL张力)

GraphicsPath

状态AddCurve(IN const PointF *点,IN INT计数,IN REAL张力)


GpStatus WINGDIPAPI GdipAddPathCurve3(GpPath *路径,GDIPCONST GpPointF *点,INT计数,INT偏移量,INT数量值,REAL张力)

GraphicsPath

状态AddCurve(IN const PointF *点,IN INT计数,IN INT偏移,IN INT数量,IN REAL张力)


GpStatus WINGDIPAPI GdipAddPathClosedCurve(GpPath * path,GDIPCONST GpPointF * points,INT count)

GraphicsPath

状态AddClosedCurve(IN const PointF * points,IN INT count)


GpStatus WINGDIPAPI GdipAddPathClosedCurve2(GpPath * path,GDIPCONST GpPointF *点,INT计数,REAL张力)

GraphicsPath

状态AddClosedCurve(IN const PointF *点,IN INT计数,IN REAL张力)


GpStatus WINGDIPAPI GdipAddPathRectangle(GpPath * path,REAL x,REAL y,REAL width,REAL height)

GraphicsPath

状态AddRectangle(IN const RectF &rect)

平面函数中的x,y,width和height参数指定一个与wrapper方法中的rect参数对应的矩形。

GpStatus WINGDIPAPI GdipAddPathRectangles(GpPath * path,GDIPCONST GpRectF * rects,INT count)

GraphicsPath

状态AddRectangles(IN const RectF * rects,IN INT count)


GpStatus WINGDIPAPI GdipAddPathEllipse(GpPath * path,REAL x,REAL y,REAL width,REAL height)

GraphicsPath

状态AddEllipse(IN REAL x,IN REAL y,IN REAL width,IN REAL height)


GpStatus WINGDIPAPI GdipAddPathPie(GpPath * path,REAL x,REAL y,REAL width,REAL height,REAL startAngle,REAL sweepAngle)

GraphicsPath

状态AddPie(IN REAL x,IN REAL y,IN REAL width,IN REAL height,IN REAL startAngle,IN REAL sweepAngle)


GpStatus WINGDIPAPI GdipAddPathPolygon(GpPath * path,GDIPCONST GpPointF * points,INT count)

GraphicsPath

状态AddPolygon(IN const PointF *点,IN INT计数)


GpStatus WINGDIPAPI GdipAddPathPath(GpPath * path,GDIPCONST GpPath * AddingPath,BOOL connect)

GraphicsPath

状态AddPath(IN const GraphicsPath * AddingPath,IN BOOL connect)


GpStatus WINGDIPAPI GdipAddPathString(GpPath * path,GDIPCONST WCHAR * string,INT length,GDIPCONST GpFontFamily * family,INT style,REAL emSize,GDIPCONST RectF * layoutRect,GDIPCONST GpStringFormat * format)

GraphicsPath

状态AddString(IN const WCHAR * string,IN INT length,IN const FontFamily * family,IN INT style,IN REAL emSize,IN const RectF &layoutRect,IN const StringFormat * format)


GpStatus WINGDIPAPI GdipAddPathStringI(GpPath * path,GDIPCONST WCHAR * string,INT length,GDIPCONST GpFontFamily * family,INT style,REAL emSize,GDIPCONST Rect * layoutRect,GDIPCONST GpStringFormat * format)

GraphicsPath

状态AddString(IN const WCHAR * string,IN INT length,IN const FontFamily * family,IN INT style,IN REAL emSize,IN const Rect &layoutRect,IN const StringFormat * format)


GpStatus WINGDIPAPI GdipAddPathLineI(GpPath * path,INT x1,INT y1,INT x2,INT y2)

GraphicsPath

状态AddLine(IN INT x1,IN INT y1,IN INT x2,IN INT y2)


GpStatus WINGDIPAPI GdipAddPathLine2I(GpPath * path,GDIPCONST GpPoint *点,INT计数)

GraphicsPath

状态AddLines(IN const点*点,IN INT计数)


GpStatus WINGDIPAPI GdipAddPathArcI(GpPath * path,INT x,INT y,INT width,INT height,REAL startAngle,REAL sweepAngle)

GraphicsPath

状态AddArc(IN INT x,IN INT y,IN INT width,IN INT height,IN REAL startAngle,IN REAL sweepAngle)


GpStatus WINGDIPAPI GdipAddPathBezierI(GpPath * path,INT x1,INT y1,INT x2,INT y2,INT x3,INT y3,INT x4,INT y4)

GraphicsPath

状态AddBezier(IN INT x1,IN INT y1,IN INT x2,IN INT y2,IN INT x3,IN INT y3,IN INT x4,IN INT y4)


GpStatus WINGDIPAPI GdipAddPathBeziersI(GpPath * path,GDIPCONST GpPoint * points,INT count)

GraphicsPath

状态AddBeziers(IN const Point * points,IN INT count)


GpStatus WINGDIPAPI GdipAddPathCurveI(GpPath * path,GDIPCONST GpPoint * points,INT count)

GraphicsPath

状态AddCurve(IN const点*点,IN INT计数)


GpStatus WINGDIPAPI GdipAddPathCurve2I(GpPath * path,GDIPCONST GpPoint *点,INT计数,REAL张力)

GraphicsPath

状态AddCurve(IN const点*点,IN INT计数,IN REAL张力)


GpStatus WINGDIPAPI GdipAddPathCurve3I(GpPath *路径,GDIPCONST GpPoint *点,INT计数,INT偏移,INT数量,实数张力)

GraphicsPath

状态AddCurve(IN const点*点,IN INT计数,IN INT偏移,IN INT数量,IN REAL张力)


GpStatus WINGDIPAPI GdipAddPathClosedCurveI(GpPath * path,GDIPCONST GpPoint * points,INT count)

GraphicsPath

状态AddClosedCurve(IN const Point * points,IN INT count)


GpStatus WINGDIPAPI GdipAddPathClosedCurve2I(GpPath * path,GDIPCONST GpPoint *点,INT计数,REAL张力)

GraphicsPath

状态AddClosedCurve(IN const点*点,IN INT计数,IN REAL张力)


GpStatus WINGDIPAPI GdipAddPathRectangleI(GpPath * path,INT x,INT y,INT width,INT height)

GraphicsPath

状态AddRectangle(IN const Rect &rect)

平面函数中的x,y,width和height参数指定一个与wrapper方法中的rect参数对应的矩形。

GpStatus WINGDIPAPI GdipAddPathRectanglesI(GpPath * path,GDIPCONST GpRect * rects,INT count)

GraphicsPath

状态AddRectangles(IN const Rect * rects,INT count)


GpStatus WINGDIPAPI GdipAddPathEllipseI(GpPath * path,INT x,INT y,INT width,INT height)

GraphicsPath

状态AddEllipse(IN INT x,IN INT y,IN INT width,IN INT height)


GpStatus WINGDIPAPI GdipAddPathPieI(GpPath * path,INT x,INT y,INT width,INT height,REAL startAngle,REAL sweepAngle)

GraphicsPath

状态AddPie(IN INT x,IN INT y,IN INT width,IN INT height,IN REAL startAngle,IN REAL sweepAngle)


GpStatus WINGDIPAPI GdipAddPathPolygonI(GpPath * path,GDIPCONST GpPoint * points,INT count)

GraphicsPath

状态AddPolygon(IN const Point * points,IN INT count)


GpStatus WINGDIPAPI GdipFlattenPath(GpPath * path,GpMatrix * matrix,REAL flatness)

GraphicsPath

状态平坦化(IN const Matrix * matrix = NULL,IN REAL flatness = FlatnessDefault)


GpStatus WINGDIPAPI GdipWindingModeOutline(GpPath * path,GpMatrix * matrix,REAL flatness)

GraphicsPath

状态大纲(IN const Matrix * matrix = NULL,IN REAL flatness = FlatnessDefault)


GpStatus WINGDIPAPI GdipWidenPath(GpPath * nativePath,GpPen * pen,GpMatrix * matrix,REAL flatness)

GraphicsPath

状态变宽(IN const Pen * pen,IN const Matrix * matrix = NULL,IN REAL flatness = FlatnessDefault)


GpStatus WINGDIPAPI GdipWarpPath(GpPath * path,GpMatrix * matrix,GDIPCONST GpPointF * points,INT count,REAL srcx,REAL srcy,REAL srcwidth,REAL srcheight,WarpMode warpMode,REAL flatness)

GraphicsPath

状态扭曲(IN const PointF * destPoints,IN INT count,IN const RectF &srcRect,IN const Matrix * matrix = NULL,IN WarpMode warpMode = WarpModePerspective,IN REAL flatness = FlatnessDefault)

平面函数中的srcx,srcy,srcwidth和srcheight参数指定与包装器方法中的srcRect参数对应的矩形。

GpStatus WINGDIPAPI GdipTransformPath(GpPath * path,GpMatrix * matrix)

GraphicsPath

状态转换(IN const Matrix * matrix)


GpStatus WINGDIPAPI GdipGetPathWorldBounds(GpPath * path,GpRectF * bounds,GDIPCONST GpMatrix * matrix,GDIPCONST GpPen * pen)

GraphicsPath

状态GetBounds(OUT RectF * bounds,IN const Matrix * matrix,IN const Pen * pen)const


GpStatus WINGDIPAPI GdipGetPathWorldBoundsI(GpPath * path,GpRect * bounds,GDIPCONST GpMatrix * matrix,GDIPCONST GpPen * pen)

GraphicsPath

状态GetBounds(OUT Rect * bounds,IN const Matrix * matrix,IN const Pen * pen)const


GpStatus WINGDIPAPI GdipIsVisiblePathPoint(GpPath * path,REAL x,REAL y,GpGraphics * graphics,BOOL * result)

GraphicsPath

BOOL IsVisible(IN REAL x,IN REAL y,IN const Graphics * g)const


GpStatus WINGDIPAPI GdipIsVisiblePathPointI(GpPath *路径,INT x,INT y,GpGraphics * graphics,BOOL *结果)

GraphicsPath

BOOL IsVisible(IN INT x,IN INT y,IN const Graphics * g)const


GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPoint(GpPath * path,REAL x,REAL y,GpPen * pen,GpGraphics * graphics,BOOL * result)

GraphicsPath

BOOL IsOutlineVisible(IN REAL x,IN REAL y,IN const Pen * pen,IN const Graphics * g)const


GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPointI(GpPath * path,INT x,INT y,GpPen * pen,GpGraphics * graphics,BOOL * result)

GraphicsPath

BOOL GraphicsPath :: IsOutlineVisible(IN INT x,IN INT y,IN const Pen * pen,IN const Graphics * g)const