views:

38

answers:

1

my uiimage has been add to UIView, then i transform it to scale 1.5

when i try to draw image context it will present incorrect position

how to make ImageContext in transform size ?

A: 

Try placing the image at the origin. Scale it however much you want. Then translate to where you want the image to be.

No one in particular
you mean all imagecontext use the old algorithm and insert to UIImage after that transform to specific scale?
RAGOpoR
Draw UIImage to UIView at origin (0,0). Use transform to scale contents of UIView to new size. Use transform to move contents of UIView to new location.
No one in particular
thanks let me try
RAGOpoR