Home
last modified time | relevance | path

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

/external/skia/tests/
DStrokeIndirectTest.cpp324 bool hasCusp = (a.cross(b) == 0 && a.dot(b) < 0); in verifyResolveLevels() local
325 if (hasCusp) { in verifyResolveLevels()
333 float numParametricSegments = (hasCusp) ? 0 : GrWangsFormula::quadratic( in verifyResolveLevels()
335 float rotation = (hasCusp) ? 0 : SkMeasureQuadRotation(pts); in verifyResolveLevels()
343 if (!hasCusp || stroke.getJoin() == SkPaint::kRound_Join) { in verifyResolveLevels()