我可以知道 aCGPoint是否在 a 内CGImageRef吗?或者我应该转换成CGImageRef其他格式?
更新
maskcontext = CGBitmapContextCreate(currentM, w,
h,
bitsPerComponent, bytesPerRow, colorSpace,
kCGImageAlphaNone);
maskImage = CGBitmapContextCreateImage(maskcontext);
哪里currentM是一个unsigned char,maskcontext是一个CGContextRef
,maskImage是一个CGImageRef,我想知道它的rect。