Re: Cocoa and PICT
Re: Cocoa and PICT
- Subject: Re: Cocoa and PICT
- From: "I. Savant" <email@hidden>
- Date: Mon, 13 Aug 2007 16:18:52 -0400
On 8/13/07, Scott Thompson <email@hidden> wrote:
> A typical default flatness is 10.0.
Hmmm ... the NSBezierPath documentation says, "The default flatness
value is 0.6, which yields smooth curves," in both the -setFlatness:
and +setDefaultFlatness: methods. It also says, "smaller numbers give
smoother curves".
> Can you show me some of the results you're getting? You're probably
> just getting roughness because of the lack of antialiasing.
Actually ... ;-) I believe it's a difference in how other apps are
displaying it. In Preview (when I write the data out to a file), the
arcs are as smooth as they can be, considering no antialiasing. In
other tools in the workflow, the PICT is represented with smoother
edges (they're antialiasing a *bit*) but they have a slight flatness
as you'd expect with fewer, longer segments. Odd.
I'll send you a screenshot off-list as I have no access from this
facility to any convenient sharing/hosting locations. I'm frankly
surprised I'm allowed access to gmail ...
--
I.S.
_______________________________________________
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