Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkRRect.cpp277 SkPoint canonicalPt; // (x,y) translated to one of the quadrants in checkCornerContainment() local
281 canonicalPt.set(x - fRect.centerX(), y - fRect.centerY()); in checkCornerContainment()
288 canonicalPt.set(x - (fRect.fLeft + fRadii[kUpperLeft_Corner].fX), in checkCornerContainment()
290 SkASSERT(canonicalPt.fX < 0 && canonicalPt.fY < 0); in checkCornerContainment()
295 canonicalPt.set(x - (fRect.fLeft + fRadii[kLowerLeft_Corner].fX), in checkCornerContainment()
297 SkASSERT(canonicalPt.fX < 0 && canonicalPt.fY > 0); in checkCornerContainment()
302 canonicalPt.set(x - (fRect.fRight - fRadii[kUpperRight_Corner].fX), in checkCornerContainment()
304 SkASSERT(canonicalPt.fX > 0 && canonicalPt.fY < 0); in checkCornerContainment()
309 canonicalPt.set(x - (fRect.fRight - fRadii[kLowerRight_Corner].fX), in checkCornerContainment()
311 SkASSERT(canonicalPt.fX > 0 && canonicalPt.fY > 0); in checkCornerContainment()
[all …]