Home
last modified time | relevance | path

Searched refs:anticlockwise (Results 1 - 15 of 15) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dcanvas_path.cpp57 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 Dcanvas_path.h36 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 Djs_canvas_path.cpp76 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 Djs_canvas_renderer.cpp1166 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 Dcj_canvas_ffi.cpp80 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 Dcj_canvas_ffi.h151 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 Dpaint_state.h49 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 Dcanvas_rendering_context_2d_modifier.cpp91 param.anticlockwise = static_cast<bool>(options->counterclockwise); in SetCanvasArc()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_canvas_bridge.cpp843 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 Djsi_offscreen_canvas_bridge.cpp630 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 Dcanvas_custom_paint_method_testtwo_ng.cpp581 arcParam.anticlockwise = true; in HWTEST_F()
604 param.anticlockwise = true; in HWTEST_F()
H A Dcanvas_custom_paint_method_test_ng.cpp1323 param.anticlockwise = true; in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcustom_paint_paint_method.cpp868 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 Drosen_render_offscreen_canvas.cpp1254 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 Drosen_render_custom_paint.cpp1153 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()

Completed in 51 milliseconds