• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Warping an image with a Bezier Path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warping an image with a Bezier Path


  • Subject: Re: Warping an image with a Bezier Path
  • From: Seth Willits <email@hidden>
  • Date: Sat, 18 Jan 2003 19:47:47 -0800

On Saturday, January 18, 2003, at 04:28 PM, Andreas Mayer wrote:

Am Samstag, 18.01.03 um 23:53 Uhr schrieb Seth Willits:

For example, if you can imagine the shape of a typical trophy where the top and bottom are perfectly flat and the sides curve out and then back in as they go from the base to the top of the trophy, how can I take an image and warp it to fit inside that space?

I don't think there's something in Cocoa that does this.

I'd try to scale every line of the image seperately. Shouldn't be too difficult.

I'll look into that. As stated in my other email, I'll need to be able to change the shape of the trophy maybe 80 - 160 times a second (I'm really not sure) and draw it into a window all on the fly.

Do you think doing it line by line be out of the question? Seems like there'd be too much overhead. The OpenGL solution Marcel mentioned seems like a good idea.


"Microsoft is to Apple as Honda is to Ferrari"
Actually I think it's the other way round: The Ferrari may have a bigger engine and make more noise; but if you want to get from A to B without too much fuss, you better take the Honda. ;-)

lol. I've a fair number of responses to this signature. I was going to remove it because it can be construed to misrepresent the point, but I thought twice and left it into to promote the thought people put behind it. :)


Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnist for REALbasic Developer Magazine - http://www.rbdeveloper.com

"It's all about the belly fire."
-- David Sepe
------------------------------------------------------------------------ ---
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Warping an image with a Bezier Path
      • From: Andreas Mayer <email@hidden>
    • Re: Warping an image with a Bezier Path
      • From: Shaun Wexler <email@hidden>
References: 
 >Re: Warping an image with a Bezier Path (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Re: Warping an image with a Bezier Path
  • Next by Date: Re: Warping an image with a Bezier Path
  • Previous by thread: Re: Warping an image with a Bezier Path
  • Next by thread: Re: Warping an image with a Bezier Path
  • Index(es):
    • Date
    • Thread