I have placed one label on view and view\'s frame is CGRectMake(0,0,270,203). Now I have to take screen shot of view with CGRectMake(0,0,800,600)
You could do something like this:
-(CGPoint) convertPoint: (CGPoint) point fromRect: (CGRect) fromRect toRect: (CGRect) toRect { return (CGPoint){ (toRect.size.width/fromRect.size.width) * point.x, (toRect.size.height/fromRect.size.height) * point.y }; }