Lines Matching refs:r
33 …ommand>& cmds, Array<Point>& pts, const Point& prev, const Point& curr, const Point& next, float r) in _roundCorner() argument
36 auto rPrev = lenPrev > 0.0f ? 0.5f * std::min(lenPrev * 0.5f, r) / lenPrev : 0.0f; in _roundCorner()
38 auto rNext = lenNext > 0.0f ? 0.5f * std::min(lenNext * 0.5f, r) / lenNext : 0.0f; in _roundCorner()
202 _roundCorner(outCmds, outPts, prev, curr, inPts[iPts + 5], r); in modifyPath()
206 _roundCorner(outCmds, outPts, prev, curr, inPts[2], r); in modifyPath()
239 … auto r = len > 0.0f ? ROUNDED_POLYSTAR_MAGIC_NUMBER * std::min(len * 0.5f, this->r) / len : 0.0f; in modifyPolystar() local
254 auto dNext = r * (curr - next); in modifyPolystar()
255 auto dPrev = r * (curr - prev); in modifyPolystar()
273 auto dPrev = r * (inPts[1] - inPts[0]); in modifyPolystar()
281 auto dNext = r * (curr - next); in modifyPolystar()
301 bool LottieRoundnessModifier::modifyRect(const Point& size, float& r) const in modifyRect()
303 r = std::min(this->r, std::max(size.x, size.y) * 0.5f); in modifyRect()