Home
last modified time | relevance | path

Searched refs:AddArc (Results 1 – 25 of 27) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/
H A Dadd_arc.cpp96 AddArc::AddArc() in AddArc() function in AddArc
103 AddArc::~AddArc() {} in ~AddArc()
105 void AddArc::OnTestFunction(OH_Drawing_Canvas *canvas) in OnTestFunction()
140 bool AddArc::OnAnimate() in OnAnimate()
H A Dadd_arc.h31 class AddArc : public TestBase {
33 AddArc();
34 ~AddArc() override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Drosen_render_capsule_track.cpp115 path.AddArc(RSRect( in DrawCapsuleProgressAnimation()
118 path.AddArc(RSRect( in DrawCapsuleProgressAnimation()
124 path.AddArc(RSRect( in DrawCapsuleProgressAnimation()
183 path.AddArc(RSRect( in DrawCapsuleProgressVerticalAnimation()
187 path.AddArc(RSRect( in DrawCapsuleProgressVerticalAnimation()
193 path.AddArc(RSRect( in DrawCapsuleProgressVerticalAnimation()
H A Drosen_render_moon_track.cpp91 path.AddArc(RSRect( in Paint()
95 path.AddArc(RSRect(center.GetX() - progressOffset, in Paint()
104 path.AddArc(RSRect( in Paint()
107 path.AddArc(RSRect(center.GetX() - progressOffset, in Paint()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_modifier.cpp1344 path.AddArc(rRect, tail, head - tail); in PaintTrailing()
1421 path.AddArc( in PaintMoon()
1488 path.AddArc( in PaintCapsule()
1502 … path.AddArc({ offsetX + contentSize.Width() - INT32_TWO * radius + progressWidth, offsetY, in PaintCapsule()
1515 path.AddArc({ offsetX + contentSize.Width() - progressWidth, offsetY, in PaintCapsule()
1578 path.AddArc( in PaintVerticalCapsule()
1582 path.AddArc( in PaintVerticalCapsule()
1590 path.AddArc( in PaintVerticalCapsule()
1783 path.AddArc({ in PaintCapsuleForApiNine()
1819 path.AddArc({ offsetX, offsetY + progressWidth, frameSize.Width() + offsetX, in PaintVerticalCapsuleForApiNine()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dmoon_progress_modifier.cpp198 …path.AddArc({ centerPt.GetX() - smallRadius_, centerPt.GetY() - smallRadius_, centerPt.GetX() + sm… in CalculateSquareMoonPath()
205 path.AddArc({ centerPt.GetX() - progressOffset, centerPt.GetY() - smallRadius_, in CalculateSquareMoonPath()
212 path.AddArc({ centerPt.GetX() - progressOffset, centerPt.GetY() - smallRadius_, in CalculateSquareMoonPath()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/overdraw/
H A Drs_cpu_overdraw_canvas_listener.cpp92 path.AddArc(oval, startAngle, sweepAngle); in DrawArc()
100 path.AddArc(oval, startAngle, sweepAngle); in DrawPie()
H A Drs_gpu_overdraw_canvas_listener.cpp130 path.AddArc(oval, startAngle, sweepAngle); in DrawArc()
142 path.AddArc(oval, startAngle, sweepAngle); in DrawPie()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/data_panel/
H A Drosen_render_data_panel.cpp72 backgroundTrackPath.AddArc(rect, 0.0, HALF_CIRCLE * 2);
284 botPath.AddArc(rect, 0.0, drawAngle); in PaintProgress()
498 rainbowFilterPath.AddArc(rect, startAngle, sweepAngle); in PaintProgressFilterMask()
522 endCircleArch.AddArc(startCircleArchRect, 90.0, -180.0); in PaintProgressFilterMask()
650 startCircleArch.AddArc(startCircleArchRect, 90.0, 180.0);
666 rainbowFilterPath.AddArc(rect, startAngle, sweepAngle);
689 endCircleArch.AddArc(startCircleArchRect, 90.0, -180.0);
824 botPath.AddArc(rect, 0, sweepDegree_); in PaintLoadingProgress()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/button/
H A Drosen_render_button.cpp362 arcPath.AddArc( in DrawArc()
365 arcPath.AddArc( in DrawArc()
446 …path.AddArc(RSRect(offsetX, offsetY, buttonSize_.Height() + offsetX, buttonSize_.Height() + offset… in DrawLineProgressAnimation()
449 path.AddArc(RSRect(progressWidth_ + offsetX, offsetY, in DrawLineProgressAnimation()
456 path.AddArc(RSRect((buttonSize_.Width() - radius) * 2.0 - progressWidth_ + offsetX, offsetY, in DrawLineProgressAnimation()
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_path.h56 virtual void AddArc(TestingRect oval, float startAngle, float sweepAngle) {} in AddArc() function
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/
H A Dpath.cpp158 void Path::AddArc(const Rect& oval, scalar startAngle, scalar sweepAngle) in AddArc() function in OHOS::Rosen::Drawing::Path
160 …impl_->AddArc(oval.GetLeft(), oval.GetTop(), oval.GetRight(), oval.GetBottom(), startAngle, sweepA… in AddArc()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_path_test.cpp64 skiaPath.AddArc(0, 0, 100, 100, 90, 90); // 100: right, bottom, 90: startAngle, sweepAngle
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
H A Dgauge_modifier.cpp306 path.AddArc(rRect, data.startDegree - QUARTER_CIRCLE, data.sweepDegree); in DrawGauge()
512 path.AddArc(rRect, offsetDegree, data.sweepDegree - MIN_CIRCLE * offsetDegree); in PaintSingleSegmentGradientCircular()
557 path.AddArc(rRect, offsetDegree, data.sweepDegree - MIN_CIRCLE * offsetDegree); in PaintSingleSegmentGradientCircularShadow()
693 path.AddArc(rRect, drawStartDegree - offsetDegree, drawSweepDegree); in DrawSingleSegmentGradient()
698 … path.AddArc(rRect, drawStartDegree + offsetDegree, drawSweepDegree - MIN_CIRCLE * offsetDegree); in DrawSingleSegmentGradient()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dpath_impl.h72 …virtual void AddArc(scalar left, scalar top, scalar right, scalar bottom, scalar startAngle, scala…
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/path_napi/
H A Djs_path.h50 static napi_value AddArc(napi_env env, napi_callback_info info);
H A Djs_path.cpp46 DECLARE_NAPI_FUNCTION("addArc", JsPath::AddArc),
257 napi_value JsPath::AddArc(napi_env env, napi_callback_info info) in AddArc() function in OHOS::Rosen::Drawing::JsPath
918 JS_CALL_DRAWING_FUNC(m_path->AddArc(drawingRect, startDeg, sweepDeg)); in OnAddArc()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_path.h71 …void AddArc(scalar left, scalar top, scalar right, scalar bottom, scalar startAngle, scalar sweepA…
H A Dskia_path.cpp177 void SkiaPath::AddArc(scalar left, scalar top, scalar right, scalar bottom, scalar startAngle, scal… in AddArc() function in OHOS::Rosen::Drawing::SkiaPath
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/
H A Dpath_test.cpp472 path->AddArc(rect, 1.0f, 2.0f);
487 path->AddArc(rect, 2.0f, 1.0f);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/draw/
H A Dpath.h331 virtual void AddArc(const Rect& oval, scalar startAngle, scalar sweepAngle);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/path_fuzzer/
H A Dpath_fuzzer.cpp175 path.AddArc(rect, startAngle, sweepAngle); in PathFuzzTest003()
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/
H A Dpath_test.cpp294 path.AddArc(rect, -180, 180); in TestAddArc()
303 path2.AddArc(rect, 0, 180); in TestAddArc()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor_drag/
H A Drich_editor_drag_overlay_modifier.cpp271 ringPath.AddArc({ -radius, -radius, radius, radius }, 0, HANDLE_RING_DEGREE); in PaintHandleRing()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_path.cpp286 path->AddArc(CastToRect(*arc), startAngle, sweepAngle); in OH_Drawing_PathAddArc()

12