• 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: Cocoa and PICT
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Cocoa and PICT
      • From: Scott Thompson <email@hidden>
References: 
 >Cocoa and PICT (From: "I. Savant" <email@hidden>)
 >Re: Cocoa and PICT (From: "I. Savant" <email@hidden>)
 >Re: Cocoa and PICT (From: Scott Thompson <email@hidden>)
 >Re: Cocoa and PICT (From: "I. Savant" <email@hidden>)
 >Re: Cocoa and PICT (From: Scott Thompson <email@hidden>)

  • Prev by Date: Expanding an NSMenuItem programmatically
  • Next by Date: NSBundle pathForResource:ofType:
  • Previous by thread: Re: Cocoa and PICT
  • Next by thread: Re: Cocoa and PICT
  • Index(es):
    • Date
    • Thread