Searched refs:set_point_length (Results 1 – 2 of 2) sorted by relevance
/third_party/flutter/skia/src/core/ |
D | SkPoint.cpp | 38 template <bool use_rsqrt> bool set_point_length(SkPoint* pt, float x, float y, float length, in set_point_length() function 69 if (set_point_length<false>(pt, pt->fX, pt->fY, 1.0f, &mag)) { in Normalize() 87 return set_point_length<false>(this, x, y, length); in setLength() 91 return set_point_length<true>(pt, pt->fX, pt->fY, length); in SetLengthFast()
|
/third_party/skia/src/core/ |
D | SkPoint.cpp | 45 template <bool use_rsqrt> bool set_point_length(SkPoint* pt, float x, float y, float length, in set_point_length() function 76 if (set_point_length<false>(pt, pt->fX, pt->fY, 1.0f, &mag)) { in Normalize() 94 return set_point_length<false>(this, x, y, length); in setLength() 98 return set_point_length<true>(pt, pt->fX, pt->fY, length); in SetLengthFast()
|