Home | History | Annotate | Download | only in ops

Lines Matching refs:rotMatrix

111 // Stores the rotation matrix in rotMatrix, and the mapped points in ptsRot
112 static void align_to_x_axis(const SkPoint pts[2], SkMatrix* rotMatrix, SkPoint ptsRot[2] = nullptr) {
121 rotMatrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY);
123 rotMatrix->mapPoints(ptsRot, pts, 2);
779 SkMatrix rotMatrix;
780 align_to_x_axis(pts, &rotMatrix, lineData.fPtsRot);
781 if (!rotMatrix.invert(&lineData.fSrcRotInv)) {