5
MonoTouch의 CGImageCreateWithImageInRect iOS 메소드에 해당하는 것은 무엇입니까?MonoTouch에서 CGImageCreateWithImageInRect에 해당하는 것은 무엇입니까?
나는 C#에서이 목표 - C 라인을 전환하기 위해 노력하고있어 :
CGImageRef sampleImageRef = CGImageCreateWithImageInRect(self.CGImage, fillRect);
사전에 감사!
그들은 서로 일치 실제로하지 않은 :
가되면 소스 코드가 같아야합니다 오브젝티브 -c 번역. CreateWithImageInRect는 rect의 위치를 고려하지만 WithImageInRect (모노 버전)는 rect의 크기 만 고려합니다. https://developer.apple.com/library/ios/documentation/GraphicsImaging/Reference/CGImage/#//apple_ref/c/func/CGImageCreateWithImageInRect – Gandalf458