3
的形象已經繪就CGContextRef:如何移動圖像上的CGContextRef
CGContextDrawImage(context, CGRectMake(0, 0, width, height), image);
在另一個功能,我想移動圖像的矩形狀
CGRectMake(100, 100, width, height);
哪有我做?
void func(CGContextRef context)//there is just one parameter
{
//move the image
}