Home | History | Annotate | Download | only in effects

Lines Matching defs:rotMatrix

108 // Stores the rotation matrix in rotMatrix, and the mapped points in ptsRot
109 static void align_to_x_axis(const SkPoint pts[2], SkMatrix* rotMatrix, SkPoint ptsRot[2] = nullptr) {
115 rotMatrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY);
117 rotMatrix->mapPoints(ptsRot, pts, 2);
711 SkMatrix rotMatrix;
712 align_to_x_axis(pts, &rotMatrix, geometry.fPtsRot);
713 if(!rotMatrix.invert(&geometry.fSrcRotInv)) {