Searched refs:newViewMatrix (Results 1 – 1 of 1) sorted by relevance
322 const SkMatrix& newViewMatrix, SkScalar newX, SkScalar newY, in calculate_translation() argument326 *transX = newViewMatrix.getTranslateX() + in calculate_translation()327 newViewMatrix.getScaleX() * (newX - currentX) + in calculate_translation()328 newViewMatrix.getSkewX() * (newY - currentY) - in calculate_translation()331 *transY = newViewMatrix.getTranslateY() + in calculate_translation()332 newViewMatrix.getSkewY() * (newX - currentX) + in calculate_translation()333 newViewMatrix.getScaleY() * (newY - currentY) - in calculate_translation()