Home | History | Annotate | Download | only in core

Lines Matching full:canonicalpt

123     SkPoint canonicalPt; // (x,y) translated to one of the quadrants
127 canonicalPt.set(x - fRect.centerX(), y - fRect.centerY());
134 canonicalPt.set(x - (fRect.fLeft + fRadii[kUpperLeft_Corner].fX),
136 SkASSERT(canonicalPt.fX < 0 && canonicalPt.fY < 0);
141 canonicalPt.set(x - (fRect.fLeft + fRadii[kLowerLeft_Corner].fX),
143 SkASSERT(canonicalPt.fX < 0 && canonicalPt.fY > 0);
148 canonicalPt.set(x - (fRect.fRight - fRadii[kUpperRight_Corner].fX),
150 SkASSERT(canonicalPt.fX > 0 && canonicalPt.fY < 0);
155 canonicalPt.set(x - (fRect.fRight - fRadii[kLowerRight_Corner].fX),
157 SkASSERT(canonicalPt.fX > 0 && canonicalPt.fY > 0);
170 SkScalar dist = SkScalarMul(SkScalarSquare(canonicalPt.fX), SkScalarSquare(fRadii[index].fY)) +
171 SkScalarMul(SkScalarSquare(canonicalPt.fY), SkScalarSquare(fRadii[index].fX));