Skip to content

Instantly share code, notes, and snippets.

@laevandus

laevandus/CGContext.swift

Last active Oct 25, 2020
Embed
What would you like to do?
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
You can’t perform that action at this time.