Skip to content

Instantly share code, notes, and snippets.

@laevandus
Last active October 25, 2020 06:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laevandus/40dd44737e10edcf182f81c6dc528187 to your computer and use it in GitHub Desktop.
Save laevandus/40dd44737e10edcf182f81c6dc528187 to your computer and use it in GitHub Desktop.
var transform = CGAffineTransform(translationX: 0.0, y: targetSize.height)
transform = transform.scaledBy(x: 1, y: -1)
context.cgContext.concatenate(transform)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment