Home
last modified time | relevance | path

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

/external/skia/src/gpu/ganesh/geometry/
DGrTriangulator.cpp143 static inline SkScalar double_to_clamped_scalar(double d) { in double_to_clamped_scalar() function
161 point->fX = double_to_clamped_scalar((fB * other.fC - other.fB * fC) * scale); in intersect()
162 point->fY = double_to_clamped_scalar((other.fA * fC - fA * other.fC) * scale); in intersect()
222 p->fX = double_to_clamped_scalar(u0.fX - (*s) * u.fB); in recursive_edge_intersect()
223 p->fY = double_to_clamped_scalar(u0.fY + (*s) * u.fA); in recursive_edge_intersect()
1267 prev->fPoint.fX = double_to_clamped_scalar((double) prev->fPoint.fX); in sanitizeContours()
1268 prev->fPoint.fY = double_to_clamped_scalar((double) prev->fPoint.fY); in sanitizeContours()
1273 v->fPoint.fX = double_to_clamped_scalar((double) v->fPoint.fX); in sanitizeContours()
1274 v->fPoint.fY = double_to_clamped_scalar((double) v->fPoint.fY); in sanitizeContours()