Unverified Commit ad128b75 authored by shunsuke yokokawa's avatar shunsuke yokokawa Committed by GitHub
Browse files

fix documentation of _get_inverse_affine_matrix (#6947)

parent a1489944
...@@ -1004,7 +1004,7 @@ def _get_inverse_affine_matrix( ...@@ -1004,7 +1004,7 @@ def _get_inverse_affine_matrix(
# RotateScaleShear(a, s, (sx, sy)) = # RotateScaleShear(a, s, (sx, sy)) =
# = R(a) * S(s) * SHy(sy) * SHx(sx) # = R(a) * S(s) * SHy(sy) * SHx(sx)
# = [ s*cos(a - sy)/cos(sy), s*(-cos(a - sy)*tan(sx)/cos(sy) - sin(a)), 0 ] # = [ s*cos(a - sy)/cos(sy), s*(-cos(a - sy)*tan(sx)/cos(sy) - sin(a)), 0 ]
# [ s*sin(a + sy)/cos(sy), s*(-sin(a - sy)*tan(sx)/cos(sy) + cos(a)), 0 ] # [ s*sin(a - sy)/cos(sy), s*(-sin(a - sy)*tan(sx)/cos(sy) + cos(a)), 0 ]
# [ 0 , 0 , 1 ] # [ 0 , 0 , 1 ]
# where R is a rotation matrix, S is a scaling matrix, and SHx and SHy are the shears: # where R is a rotation matrix, S is a scaling matrix, and SHx and SHy are the shears:
# SHx(s) = [1, -tan(s)] and SHy(s) = [1 , 0] # SHx(s) = [1, -tan(s)] and SHy(s) = [1 , 0]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment