Lines Matching refs:length
70 float _bezAt(const Bezier& bz, float at, float length, LengthFunc lineLengthFunc) in _bezAt() argument
78 if (at >= length) return 1.0f; in _bezAt()
84 length = _bezLength(left, lineLengthFunc); in _bezAt()
85 if (fabsf(length - at) < BEZIER_EPSILON || fabsf(smallest - biggest) < 1e-3f) { in _bezAt()
88 if (length < at) { in _bezAt()
220 auto len = length(dir); in normal()
228 float Line::length() const in length() function in tvg::Line
236 auto len = length(); in split()
272 auto t = right.at(at, right.length()); in split()
277 float Bezier::length() const in length() function in tvg::Bezier
313 float Bezier::at(float at, float length) const in at()
315 return _bezAt(*this, at, length, _lineLength); in at()
319 float Bezier::atApprox(float at, float length) const in atApprox()
321 return _bezAt(*this, at, length, _lineLengthApprox); in atApprox()