• 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: Drawing complex vector shapes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing complex vector shapes


  • Subject: Re: Drawing complex vector shapes
  • From: Scott Anguish <email@hidden>
  • Date: Mon, 1 Dec 2003 16:34:26 -0500

On Dec 1, 2003, at 3:05 PM, Matt Budd wrote:

Shadowing: Seems like an iterative repeating of the outline with a shift of each iteration down and to the right and reduce it's opacity. However, this would mean that for each shape, I'd fill it once, but stroke it 6 times...inherent performance hit?


This isn't shadow, so much as an extrusion, or 3d effect.

Aside from actually doing the math involved to construct 3d paths that offer this, or perhaps using OpenGL to take the original path and then giving it depth, I'm not sure you'll find another solution.

If you want a true shadow, then NSShadow would be another solution. You could iterate over a bunch of offsets to accomplish the extrusion too perhaps.
_______________________________________________
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.
References: 
 >Drawing complex vector shapes (From: Matt Budd <email@hidden>)

  • Prev by Date: Re: Splitview; keeping one sub-view at constant width when window resizes
  • Next by Date: Re: Drawing complex vector shapes
  • Previous by thread: Re: Drawing complex vector shapes
  • Next by thread: Re: Drawing complex vector shapes
  • Index(es):
    • Date
    • Thread