Searched refs:kHitToleranace (Results 1 – 2 of 2) sorted by relevance
/external/skqp/samplecode/ |
D | SampleAAGeometry.cpp | 822 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/ |
D | SampleAAGeometry.cpp | 822 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()
|