【发布时间】:2012-12-25 01:48:29
【问题描述】:
已在 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
}
【问题讨论】:
标签: ios cgimageref cgcontextref