Home
last modified time | relevance | path

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

/external/skqp/samplecode/
DSampleAAGeometry.cpp822 const int kHitToleranace = 25; member in AAGeometryView
1240 SkDLine hHit = {{{pt.fX - kHitToleranace, pt.fY }, {pt.fX + kHitToleranace, pt.fY}}}; in hittest_verb()
1241 SkDLine vHit = {{{pt.fX, pt.fY - kHitToleranace }, {pt.fX, pt.fY + kHitToleranace}}}; in hittest_verb()
1605 if (SkPoint::Distance(fPath.getPoint(index), pt) <= kHitToleranace * 2) { in hittest_pt()
/external/skia/samplecode/
DSampleAAGeometry.cpp822 const int kHitToleranace = 25; member in AAGeometryView
1240 SkDLine hHit = {{{pt.fX - kHitToleranace, pt.fY }, {pt.fX + kHitToleranace, pt.fY}}}; in hittest_verb()
1241 SkDLine vHit = {{{pt.fX, pt.fY - kHitToleranace }, {pt.fX, pt.fY + kHitToleranace}}}; in hittest_verb()
1605 if (SkPoint::Distance(fPath.getPoint(index), pt) <= kHitToleranace * 2) { in hittest_pt()