[MonoTouch] CGImageCreate?
Rory Blyth
lists at rory.me
Fri Nov 27 21:55:19 EST 2009
This is kind of a trashy workaround, but could you first create a UIImage and then grab its CGImage?
Like:
// Obviously, you'd create your UIImage however you needed to... this is just the easiest way for sample code.
UIImage image = UIImage.FromFile("SomeImage.png");
CGImage someCGImage = image.CGImage;
I'm guessing that if you're doing CoreGraphics stuff, you're probably trying to avoid UIKit, so this might be useless.
But... just in case :)
- Rory Blyth
On Nov 27, 2009, at 2:16 PM, Ed Anuff wrote:
> I can't find a binding for CGImageCreate. Is there anyway to use this? I'm not realy sure how to bind Core Foundation functions. It looks like CGDataProvider isn't bound either, which CGImageCreate needs. :(
>
> Ed
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
More information about the MonoTouch
mailing list