Home | History | Annotate | Download | only in views

Lines Matching refs:rec1

243             const Rec& rec1 = fTouches[1];
245 float scale = this->computePinch(rec0, rec1);
248 fLocalM.setTranslate(-center(rec0.fStartX, rec1.fStartX),
249 -center(rec0.fStartY, rec1.fStartY));
251 fLocalM.postTranslate(center(rec0.fLastX, rec1.fLastX),
252 center(rec0.fLastY, rec1.fLastY));
298 float SkTouchGesture::computePinch(const Rec& rec0, const Rec& rec1) {
299 double dx = rec0.fStartX - rec1.fStartX;
300 double dy = rec0.fStartY - rec1.fStartY;
303 dx = rec0.fLastX - rec1.fLastX;
304 dy = rec0.fLastY - rec1.fLastY;