Skip to content

Instantly share code, notes, and snippets.

@tion-low
Created July 13, 2019 13:37
Show Gist options
  • Save tion-low/2bf2aded8fccd50b7200f9de995318d7 to your computer and use it in GitHub Desktop.
Save tion-low/2bf2aded8fccd50b7200f9de995318d7 to your computer and use it in GitHub Desktop.
CGAffineTransform on Video
Portrait up
▿ CGAffineTransform
- a : 0.0
- b : 1.0
- c : -1.0
- d : 0.0
- tx : 1080.0
- ty : 0.0
Landscape left
▿ CGAffineTransform
- a : 1.0
- b : 0.0
- c : 0.0
- d : 1.0
- tx : 0.0
- ty : 0.0
Landscape right
▿ CGAffineTransform
- a : -1.0
- b : 0.0
- c : 0.0
- d : -1.0
- tx : 1920.0
- ty : 1080.0
portrait up side down
▿ CGAffineTransform
- a : 0.0
- b : -1.0
- c : 1.0
- d : 0.0
- tx : 0.0
- ty : 1920.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment