Home
last modified time | relevance | path

Searched refs:hypotenuse (Results 1 - 1 of 1) sorted by relevance

/third_party/skia/src/gpu/
H A DGrDistanceFieldGenFromVector.cpp241 double hypotenuse = p0.distance(p2); in init() local
243 const double cosTheta = (p2x - p0x) / hypotenuse; in init()
244 const double sinTheta = (p2y - p0y) / hypotenuse; in init()

Completed in 2 milliseconds