Re: Drawing complex vector shapes
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.