Searched refs:newViewMatrix (Results 1 – 2 of 2) sorted by relevance
201 const SkMatrix& newViewMatrix, SkScalar newX, SkScalar newY, in calculate_translation() argument205 *transX = newViewMatrix.getTranslateX() + in calculate_translation()206 newViewMatrix.getScaleX() * (newX - currentX) + in calculate_translation()207 newViewMatrix.getSkewX() * (newY - currentY) - in calculate_translation()210 *transY = newViewMatrix.getTranslateY() + in calculate_translation()211 newViewMatrix.getSkewY() * (newX - currentX) + in calculate_translation()212 newViewMatrix.getScaleY() * (newY - currentY) - in calculate_translation()