Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkInsetConvexPolygon.cpp76 SkScalar d0sq = d0*d0; in SkOffsetSegment() local
79 SkScalar discrim = SkScalarSqrt(dPlenSq - d0sq); in SkOffsetSegment()
80 offset0->fX = p0.fX + (d0sq*dP.fX - side*d0*dP.fY*discrim) / dPlenSq; in SkOffsetSegment()
81 offset0->fY = p0.fY + (d0sq*dP.fY + side*d0*dP.fX*discrim) / dPlenSq; in SkOffsetSegment()