Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/geometry/
DGrTriangulator.cpp128 static inline SkScalar double_to_clamped_scalar(double d) { in double_to_clamped_scalar() function
146 point->fX = double_to_clamped_scalar((fB * other.fC - other.fB * fC) * scale); in intersect()
147 point->fY = double_to_clamped_scalar((other.fA * fC - fA * other.fC) * scale); in intersect()
207 p->fX = double_to_clamped_scalar(u0.fX - (*s) * u.fB); in recursive_edge_intersect()
208 p->fY = double_to_clamped_scalar(u0.fY + (*s) * u.fA); in recursive_edge_intersect()
1109 prev->fPoint.fX = double_to_clamped_scalar((double) prev->fPoint.fX); in sanitizeContours()
1110 prev->fPoint.fY = double_to_clamped_scalar((double) prev->fPoint.fY); in sanitizeContours()
1115 v->fPoint.fX = double_to_clamped_scalar((double) v->fPoint.fX); in sanitizeContours()
1116 v->fPoint.fY = double_to_clamped_scalar((double) v->fPoint.fY); in sanitizeContours()
/third_party/flutter/skia/src/gpu/
DGrTessellator.cpp273 inline SkScalar double_to_clamped_scalar(double d) { in double_to_clamped_scalar() function
316 point->fX = double_to_clamped_scalar((fB * other.fC - other.fB * fC) * scale); in intersect()
317 point->fY = double_to_clamped_scalar((other.fA * fC - fA * other.fC) * scale); in intersect()