• 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: Scaling a window background image quickly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scaling a window background image quickly


  • Subject: Re: Scaling a window background image quickly
  • From: glenn andreas <email@hidden>
  • Date: Sun, 6 Apr 2008 17:38:05 -0500


On Apr 6, 2008, at 3:30 PM, Mike R. Manzano wrote:

The bottom gradient is curved so it'd be a bit more difficult to do it with CTGradient, which does linear and radial gradients only. Regardless, I've abandoned this PDF and opted for a much simpler design that uses CTGradient and beziers like you've suggested. A side-effect is that I get better control of scaling. For example, the "reflection" at the top of the gradient now only scales on the x- axis instead of both axes.

It's a shame there isn't a more lightweight technology than Illustrator/PDF that lets you easily draw vector UI elements in a graphical editor with your application's performance in mind.

Hey, sounds like an opportunity for someone to make some money :)


If only there were some sort of Scalable Vector Graphics format that were available, oh, yeah, there is - SVG is available via WebKit on Leopard, not to mention a number of editors that include SVG support (including the open source InkScape)...

And SVG includes support for things like gradients and some pretty cool effects, and being XML based, you can even do special "transforms" to handle special cases...




Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium2 | build, mutate, evolve, animate | images, textures, fractals, art



_______________________________________________

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


  • Follow-Ups:
    • Re: Scaling a window background image quickly
      • From: "Mike R. Manzano" <email@hidden>
References: 
 >Re: Scaling a window background image quickly (From: Heinrich Giesen <email@hidden>)
 >Re: Scaling a window background image quickly (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Scaling a window background image quickly (From: "Kyle Sluder" <email@hidden>)
 >Re: Scaling a window background image quickly (From: "Mike R. Manzano" <email@hidden>)

  • Prev by Date: UIView animation
  • Next by Date: Beginner reading, etc.
  • Previous by thread: Re: Scaling a window background image quickly
  • Next by thread: Re: Scaling a window background image quickly
  • Index(es):
    • Date
    • Thread