H A D | drawing_path.cpp | 26 static Path* CastToPath(OH_Drawing_Path* cPath) in CastToPath() argument 28 return reinterpret_cast<Path*>(cPath); in CastToPath() 71 OH_Drawing_Path* OH_Drawing_PathCopy(OH_Drawing_Path* cPath) in OH_Drawing_PathCopy() argument 73 Path* path = CastToPath(cPath); in OH_Drawing_PathCopy() 81 void OH_Drawing_PathDestroy(OH_Drawing_Path* cPath) in OH_Drawing_PathDestroy() argument 83 if (!cPath) { in OH_Drawing_PathDestroy() 86 delete CastToPath(cPath); in OH_Drawing_PathDestroy() 89 void OH_Drawing_PathMoveTo(OH_Drawing_Path* cPath, float x, float y) in OH_Drawing_PathMoveTo() argument 91 Path* path = CastToPath(cPath); in OH_Drawing_PathMoveTo() 99 void OH_Drawing_PathRMoveTo(OH_Drawing_Path* cPath, floa argument 109 OH_Drawing_PathLineTo(OH_Drawing_Path* cPath, float x, float y) OH_Drawing_PathLineTo() argument 119 OH_Drawing_PathRLineTo(OH_Drawing_Path* cPath, float x, float y) OH_Drawing_PathRLineTo() argument 129 OH_Drawing_PathArcTo( OH_Drawing_Path* cPath, float x1, float y1, float x2, float y2, float startDeg, float sweepDeg) OH_Drawing_PathArcTo() argument 140 OH_Drawing_PathQuadTo(OH_Drawing_Path* cPath, float ctrlX, float ctrlY, float endX, float endY) OH_Drawing_PathQuadTo() argument 150 OH_Drawing_PathRQuadTo(OH_Drawing_Path* cPath, float ctrlX, float ctrlY, float endX, float endY) OH_Drawing_PathRQuadTo() argument 160 OH_Drawing_PathConicTo(OH_Drawing_Path* cPath, float ctrlX, float ctrlY, float endX, float endY, float weight) OH_Drawing_PathConicTo() argument 170 OH_Drawing_PathRConicTo(OH_Drawing_Path* cPath, float ctrlX, float ctrlY, float endX, float endY, float weight) OH_Drawing_PathRConicTo() argument 180 OH_Drawing_PathCubicTo( OH_Drawing_Path* cPath, float ctrlX1, float ctrlY1, float ctrlX2, float ctrlY2, float endX, float endY) OH_Drawing_PathCubicTo() argument 191 OH_Drawing_PathRCubicTo( OH_Drawing_Path* cPath, float ctrlX1, float ctrlY1, float ctrlX2, float ctrlY2, float endX, float endY) OH_Drawing_PathRCubicTo() argument 202 OH_Drawing_PathAddRect(OH_Drawing_Path* cPath, float left, float top, float right, float bottom, OH_Drawing_PathDirection dir) OH_Drawing_PathAddRect() argument 217 OH_Drawing_PathAddRectWithInitialCorner(OH_Drawing_Path* cPath, const OH_Drawing_Rect* cRect, OH_Drawing_PathDirection dir, uint32_t start) OH_Drawing_PathAddRectWithInitialCorner() argument 236 OH_Drawing_PathAddRoundRect(OH_Drawing_Path* cPath, const OH_Drawing_RoundRect* roundRect, OH_Drawing_PathDirection dir) OH_Drawing_PathAddRoundRect() argument 255 OH_Drawing_PathAddOvalWithInitialPoint(OH_Drawing_Path* cPath, const OH_Drawing_Rect* oval, uint32_t start, OH_Drawing_PathDirection dir) OH_Drawing_PathAddOvalWithInitialPoint() argument 274 OH_Drawing_PathAddArc(OH_Drawing_Path* cPath, const OH_Drawing_Rect* arc, float startAngle, float sweepAngle) OH_Drawing_PathAddArc() argument 289 OH_Drawing_PathAddPath(OH_Drawing_Path* cPath, const OH_Drawing_Path* src, const OH_Drawing_Matrix* matrix) OH_Drawing_PathAddPath() argument 309 OH_Drawing_PathAddPathWithMatrixAndMode(OH_Drawing_Path* cPath, const OH_Drawing_Path* src, const OH_Drawing_Matrix* cMatrix, OH_Drawing_PathAddMode mode) OH_Drawing_PathAddPathWithMatrixAndMode() argument 334 OH_Drawing_PathAddPathWithMode(OH_Drawing_Path* cPath, const OH_Drawing_Path* src, OH_Drawing_PathAddMode mode) OH_Drawing_PathAddPathWithMode() argument 353 OH_Drawing_PathAddPathWithOffsetAndMode(OH_Drawing_Path* cPath, const OH_Drawing_Path* src, float dx, float dy, OH_Drawing_PathAddMode mode) OH_Drawing_PathAddPathWithOffsetAndMode() argument 373 OH_Drawing_PathAddOval(OH_Drawing_Path* cPath, const OH_Drawing_Rect* oval, OH_Drawing_PathDirection dir) OH_Drawing_PathAddOval() argument 391 OH_Drawing_PathAddPolygon(OH_Drawing_Path* cPath, const OH_Drawing_Point2D* cPoints, uint32_t count, bool isClosed) OH_Drawing_PathAddPolygon() argument 410 OH_Drawing_PathAddCircle(OH_Drawing_Path* cPath, float x, float y, float radius, OH_Drawing_PathDirection dir) OH_Drawing_PathAddCircle() argument 428 OH_Drawing_PathBuildFromSvgString(OH_Drawing_Path* cPath, const char* str) OH_Drawing_PathBuildFromSvgString() argument 442 OH_Drawing_PathContains(OH_Drawing_Path* cPath, float x, float y) OH_Drawing_PathContains() argument 452 OH_Drawing_PathTransform(OH_Drawing_Path* cPath, const OH_Drawing_Matrix* matrix) OH_Drawing_PathTransform() argument 466 OH_Drawing_PathTransformWithPerspectiveClip(OH_Drawing_Path* cPath, const OH_Drawing_Matrix* cMatrix, OH_Drawing_Path* dstPath, bool applyPerspectiveClip) OH_Drawing_PathTransformWithPerspectiveClip() argument 482 OH_Drawing_PathSetFillType(OH_Drawing_Path* cPath, OH_Drawing_PathFillType fillstyle) OH_Drawing_PathSetFillType() argument 496 OH_Drawing_PathClose(OH_Drawing_Path* cPath) OH_Drawing_PathClose() argument 506 OH_Drawing_PathOffset(OH_Drawing_Path* cPath, OH_Drawing_Path* dst, float dx, float dy) OH_Drawing_PathOffset() argument 517 OH_Drawing_PathReset(OH_Drawing_Path* cPath) OH_Drawing_PathReset() argument 527 OH_Drawing_PathGetLength(OH_Drawing_Path* cPath, bool forceClosed) OH_Drawing_PathGetLength() argument 537 OH_Drawing_PathIsClosed(OH_Drawing_Path* cPath, bool forceClosed) OH_Drawing_PathIsClosed() argument 547 OH_Drawing_PathGetPositionTangent(OH_Drawing_Path* cPath, bool forceClosed, float distance, OH_Drawing_Point2D* cPosition, OH_Drawing_Point2D* cTangent) OH_Drawing_PathGetPositionTangent() argument 560 OH_Drawing_PathOp(OH_Drawing_Path* cPath, const OH_Drawing_Path* src, OH_Drawing_PathOpMode op) OH_Drawing_PathOp() argument 575 OH_Drawing_PathGetMatrix(OH_Drawing_Path* cPath, bool forceClosed, float distance, OH_Drawing_Matrix* cMatrix, OH_Drawing_PathMeasureMatrixFlags flag) OH_Drawing_PathGetMatrix() argument 591 OH_Drawing_PathGetBounds(OH_Drawing_Path* cPath, OH_Drawing_Rect* cRect) OH_Drawing_PathGetBounds() argument [all...] |