Home
last modified time | relevance | path

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

/third_party/skia/tests/
DWangsFormulaTest.cpp367 const SkPoint* sectionPts; in DEF_TEST() local
372 sectionPts = pts; in DEF_TEST()
375 sectionPts = tmp0; in DEF_TEST()
380 sectionPts = tmp0 + 2; in DEF_TEST()
383 sectionPts = tmp1; in DEF_TEST()
389 p = SkEvalQuadAt(sectionPts, 0.5f); in DEF_TEST()
392 const SkPoint n = {sectionPts[2].fY - sectionPts[0].fY, in DEF_TEST()
393 sectionPts[0].fX - sectionPts[2].fX}; in DEF_TEST()
394 const float d = std::abs((p - sectionPts[0]).dot(n)) / n.length(); in DEF_TEST()