Draw UIImage in context with perspective?
I have a UIImage that is a square. When drawing in context, I do:
UIGraphicsBeginImageContextWithOptions(imageView.image!.size, imageView.opaque, 0.0)
//context
var drawCtxt = UIGraphicsGetCurrentContext()
var someImage = UIImage(...)
// draw the image
CGContextDrawImage(drawCtxt, imageRect, someImage!.CGImage)
I want to draw an image in perspective like this:
How can I draw the UIImage in context in perspective?
+3
confile
source
to share
No one has answered this question yet
Check out similar questions:
1665
366
293
205
26
3
1
1
0
0