/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
H A D | canvas_path.cpp | 57 void NativeCanvasPath::Arc(double x, double y, double radius, double startAngle, double endAngle, bool anticlockwise) in Arc() argument 59 path2d_->Arc(x, y, radius, startAngle, endAngle, anticlockwise); in Arc() 78 double endAngle, bool anticlockwise) in Ellipse() 80 path2d_->Ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle, anticlockwise); in Ellipse() 77 Ellipse(double x, double y, double radiusX, double radiusY, double rotation, double startAngle, double endAngle, bool anticlockwise) Ellipse() argument
|
H A D | canvas_path.h | 36 void Arc(double x, double y, double radius, double startAngle, double endAngle, bool anticlockwise); 41 double endAngle, bool anticlockwise);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/ |
H A D | js_canvas_path.cpp | 76 bool anticlockwise = false; in JsPath2DArc() local 77 info.GetBooleanArg(5, anticlockwise); in JsPath2DArc() 79 path2d_->Arc(x * density, y * density, radius * density, startAngle, endAngle, anticlockwise); in JsPath2DArc() 146 bool anticlockwise = false; in JsPath2DEllipse() local 147 info.GetBooleanArg(7, anticlockwise); in JsPath2DEllipse() 150 startAngle, endAngle, anticlockwise); in JsPath2DEllipse()
|
H A D | js_canvas_renderer.cpp | 1166 info.GetBooleanArg(5, param.anticlockwise); // Non mandatory parameter with default value 'false' in JsArc() 1183 info.GetBooleanArg(7, param.anticlockwise); // Non mandatory parameter with default value 'false' in JsEllipse()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_canvas_ffi.cpp | 80 ArcParam GetArcParam(double x, double y, double radius, double startAngle, double endAngle, bool anticlockwise) in GetArcParam() argument 88 param.anticlockwise = anticlockwise; in GetArcParam() 104 double endAngle, bool anticlockwise) in GetEllipseParam() 114 param.anticlockwise = anticlockwise; in GetEllipseParam() 568 int64_t contextId, double x, double y, double radius, double startAngle, double endAngle, bool anticlockwise) in FfiOHOSAceFrameworkRenderingContextArc() 572 auto arcParam = GetArcParam(x, y, radius, startAngle, endAngle, anticlockwise); in FfiOHOSAceFrameworkRenderingContextArc() 592 double rotation, double startAngle, double endAngle, bool anticlockwise) in FfiOHOSAceFrameworkRenderingContextEllipse() 596 auto arcParam = GetEllipseParam(x, y, radiusX, radiusY, rotation, startAngle, endAngle, anticlockwise); in FfiOHOSAceFrameworkRenderingContextEllipse() 103 GetEllipseParam(double x, double y, double radiusX, double radiusY, double rotation, double startAngle, double endAngle, bool anticlockwise) GetEllipseParam() argument 567 FfiOHOSAceFrameworkRenderingContextArc( int64_t contextId, double x, double y, double radius, double startAngle, double endAngle, bool anticlockwise) FfiOHOSAceFrameworkRenderingContextArc() argument 591 FfiOHOSAceFrameworkRenderingContextEllipse(int64_t contextId, double x, double y, double radiusX, double radiusY, double rotation, double startAngle, double endAngle, bool anticlockwise) FfiOHOSAceFrameworkRenderingContextEllipse() argument 893 FfiOHOSAceFrameworkCanvasPathArc(int64_t selfId, ArcParams params, bool anticlockwise) FfiOHOSAceFrameworkCanvasPathArc() argument 951 FfiOHOSAceFrameworkCanvasPathEllipse(int64_t selfId, EllipseParams params, bool anticlockwise) FfiOHOSAceFrameworkCanvasPathEllipse() argument [all...] |
H A D | cj_canvas_ffi.h | 151 int64_t selfId, double x, double y, double radius, double startAngle, double endAngle, bool anticlockwise); 155 double radiusY, double rotation, double startAngle, double endAngle, bool anticlockwise); 191 CJ_EXPORT void FfiOHOSAceFrameworkCanvasPathArc(int64_t selfId, ArcParams params, bool anticlockwise); 195 CJ_EXPORT void FfiOHOSAceFrameworkCanvasPathEllipse(int64_t selfId, EllipseParams params, bool anticlockwise);
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | paint_state.h | 49 bool anticlockwise = false; // is draw clock wise or not member 68 bool anticlockwise = false; // is draw clock wise or not member
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | canvas_rendering_context_2d_modifier.cpp | 91 param.anticlockwise = static_cast<bool>(options->counterclockwise); in SetCanvasArc()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_canvas_bridge.cpp | 843 param.anticlockwise = argPtr->GetBool(); in JsArc() 872 // 7 or 8 parameters: ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle, anticlockwise?) in JsEllipse() 887 param.anticlockwise = (anti == 1); in JsEllipse() 1304 // 5 or 6 parameters: arc(x, y, radius, startAngle, endAngle, anticlockwise?) in JsPath2DArc() 1322 bool anticlockwise = false; in JsPath2DArc() local 1325 anticlockwise = (anti == 1); in JsPath2DArc() 1329 GetJsDoubleVal(runtime, argv[4]), anticlockwise); in JsPath2DArc() local 1415 // 7 or 8 parameters: ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle, anticlockwise?) in JsPath2DEllipse() 1433 bool anticlockwise = false; in JsPath2DEllipse() local 1436 anticlockwise in JsPath2DEllipse() 1441 GetJsDoubleVal(runtime, argv[6]), anticlockwise); JsPath2DEllipse() local [all...] |
H A D | jsi_offscreen_canvas_bridge.cpp | 630 param.anticlockwise = argPtr->GetBool(); in JsArc() 663 // 7 or 8 parameters: ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle, anticlockwise?) in JsEllipse() 678 param.anticlockwise = (anti == 1); in JsEllipse() 1105 // 5 or 6 parameters: arc(x, y, radius, startAngle, endAngle, anticlockwise?) in JsPath2DArc() 1123 bool anticlockwise = false; in JsPath2DArc() local 1126 anticlockwise = (anti == 1); in JsPath2DArc() 1130 GetJsDoubleVal(runtime, argv[4]), anticlockwise); in JsPath2DArc() local 1216 // 7 or 8 parameters: ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle, anticlockwise?) in JsPath2DEllipse() 1234 bool anticlockwise = false; in JsPath2DEllipse() local 1237 anticlockwise in JsPath2DEllipse() 1242 GetJsDoubleVal(runtime, argv[6]), anticlockwise); JsPath2DEllipse() local [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/canvas/ |
H A D | canvas_custom_paint_method_testtwo_ng.cpp | 581 arcParam.anticlockwise = true; in HWTEST_F() 604 param.anticlockwise = true; in HWTEST_F()
|
H A D | canvas_custom_paint_method_test_ng.cpp | 1323 param.anticlockwise = true; in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | custom_paint_paint_method.cpp | 868 if (param.anticlockwise) { in Arc() 917 if (param.anticlockwise) { in Ellipse() 1083 bool anticlockwise = NearZero(args.para8) ? false : true; in Path2DEllipse() local 1085 if (anticlockwise) { in Path2DEllipse()
|
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | rosen_render_offscreen_canvas.cpp | 1254 if (param.anticlockwise) { in Arc() 1688 bool anticlockwise = NearZero(args.para8) ? false : true; in Path2DEllipse() local 1692 if (anticlockwise) { in Path2DEllipse() 1693 if (sweepAngle > 0.0) { // Make sure the sweepAngle is negative when anticlockwise. in Path2DEllipse() 2449 if (param.anticlockwise) { in UpdateTextStyleForeground() 2450 if (sweepAngle > 0.0) { // Make sure the sweepAngle is negative when anticlockwise. in UpdateTextStyleForeground()
|
H A D | rosen_render_custom_paint.cpp | 1153 if (param.anticlockwise) { in Arc() 1222 if (param.anticlockwise) { in Ellipse() 1223 if (sweepAngle > 0.0) { // Make sure the sweepAngle is negative when anticlockwise. in Ellipse() 1686 bool anticlockwise = NearZero(args.para8) ? false : true; in Path2DEllipse() local 1690 if (anticlockwise) { in Path2DEllipse() 1691 if (sweepAngle > 0.0) { // Make sure the sweepAngle is negative when anticlockwise. in Path2DEllipse()
|