Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/triangle/
H A Drender_triangle.cpp62 double topDiff = radius_ * std::tan(topAngle / 2.0) - radius_; in Calculate() local
64 double newHeight = (width / 2.0 + topDiff) * rate; in Calculate()
66 outArc1_.Move(0.0 - topDiff, 0.0); in Calculate()
67 outArc2_.Move(topDiff, 0.0); in Calculate()