Searched refs:pathDistance (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/track/ |
H A D | rosen_render_scale_ring_track.cpp | 45 double pathDistance = 2.0 * M_PI * in DrawScaleArc() local 49 …SkPath1DPathEffect::Make(path, static_cast<SkScalar>(pathDistance), 0.0f, SkPath1DPathEffect::kRot… in DrawScaleArc() 59 double pathDistance = 2.0 * M_PI * in DrawScaleArc() local 63 path, static_cast<RSScalar>(pathDistance), 0.0f, RSPathDashStyle::ROTATE)); in DrawScaleArc()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/ |
H A D | progress_modifier.cpp | 1357 double pathDistance = FLOAT_TWO_ZERO * M_PI * radius / scaleCount_->Get(); in PaintScaleRing() local 1358 if (scaleWidth_->Get() > pathDistance) { in PaintScaleRing() 1376 …pen.SetPathEffect(RSPathEffect::CreatePathDashEffect(path, pathDistance, 0.0f, RSPathDashStyle::RO… in PaintScaleRing() 1378 …pen.SetPathEffect(RSRecordingPathEffect::CreatePathDashEffect(path, pathDistance, 0.0f, RSPathDash… in PaintScaleRing() 1735 double pathDistance = 2.0 * M_PI * radius / scaleCount_->Get(); in PaintScaleRingForApiNine() local 1736 if (scaleWidth > pathDistance) { in PaintScaleRingForApiNine() 1748 …pen.SetPathEffect(RSPathEffect::CreatePathDashEffect(path, pathDistance, 0.0f, RSPathDashStyle::RO… in PaintScaleRingForApiNine()
|