CGPoint
がCGImageRef
の中にあるかどうかは知りますか? またはCGImageRef
を別の形式に変換する必要がありますか?CGImageRef内のCGPoint
UPDATE currentM
がunsigned char
ある
maskcontext = CGBitmapContextCreate(currentM, w,
h,
bitsPerComponent, bytesPerRow, colorSpace,
kCGImageAlphaNone);
maskImage = CGBitmapContextCreateImage(maskcontext);
、maskcontext
はCGContextRef
とmaskImage
CGImageRef
であり、私はそのrect
を知りたいです。
私はこのイメージを色付けするcgimagerefを持っています。私はいつデバイスに触れるか知りたい。タッチがこのcgimagerefの内部にあるかどうかを確認するには、 – CrazyDev