Re: NSImage > trapezium...
Re: NSImage > trapezium...
- Subject: Re: NSImage > trapezium...
- From: Cathy Shive <email@hidden>
- Date: Sun, 23 Mar 2008 14:54:25 +0100
Seriously?
You aren't going to be able to distort your bitmap like this with
NSImage and there is no ready-made CIFilter to do this distortion
that I'm aware of. If I'm wrong about that, then that's the way to
go. But, I think you've gotta do your own pixel pushing for this one.
Explore the CoreImage API . If there isn't a filter that you can use
already, you'll want to learn how to create your own.
http://developer.apple.com/documentation/GraphicsImaging/Conceptual/
CoreImaging/ci_intro/chapter_1_section_1.html
I have the feeling, however that you're going to need to provide the
math. You should figure that out first.
Might not be a bad idea to research your topic a little more. If
after you do that, you still have questions to ask, try the Quartz
list. There will be more graphics people there.
Best of luck!
Cathy
On Mar 23, 2008, at 2:14 PM, Luca wrote:
Hello. Do you know how can I transform a rectangular image in a
trapezium?
Thanks,
Luca.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden