Home
last modified time | relevance | path

Searched refs:drawStartDegree (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
H A Dgauge_modifier.cpp610 info.drawStartDegree = info.drawStartDegree + info.drawSweepDegree; in PaintMultiSegmentGradientCircular()
644 info.drawStartDegree = info.drawStartDegree + info.drawSweepDegree; in PaintMultiSegmentGradientCircularShadow()
656 auto drawStartDegree = info.drawStartDegree; in DrawSingleSegmentGradient() local
688 DrawHighLight(canvas, data, drawStartDegree); in DrawSingleSegmentGradient()
692drawStartDegree - offsetDegree, drawStartDegree + drawSweepDegree - offsetDegree, nullptr)); in DrawSingleSegmentGradient()
693 path.AddArc(rRect, drawStartDegree - offsetDegree, drawSweepDegree); in DrawSingleSegmentGradient()
697drawStartDegree + offsetDegree, drawStartDegree + drawSweepDegree + offsetDegree, nullptr)); in DrawSingleSegmentGradient()
764 std::cos((drawStartDegree - offsetDegree) * M_PI / HALF_CIRCLE), in DrawHighLight()
766 std::sin((drawStartDegree - offsetDegree) * M_PI / HALF_CIRCLE)); in DrawHighLight()
769 std::cos((drawStartDegree - offsetDegree - tempDegree) * M_PI / HALF_CIRCLE), in DrawHighLight()
[all …]
H A Dgauge_modifier.h48 float drawStartDegree = 0.0f; member
124 void DrawHighLight(RSCanvas& canvas, RenderRingInfo& data, float drawStartDegree);