KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Does anyone know why CGContextDrawImage would be drawing my image upside down? I am loading an image in from my application: UIImage *image = [UIImage imageNamed:@"testImage.png"]; And then simply asking core graphics to draw it to my context: CGContextDrawImage(context, CGRectMake(0, 0, 145, 15), image.CGImage); It renders in the right place, and dimensions, but the image is upside down. I must be missing something really obvious here?
Tags (comma-separated)
Save Edits
Cancel