• 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 elliptical curve using NSBezierPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing elliptical curve using NSBezierPath


  • Subject: Re: Drawing elliptical curve using NSBezierPath
  • From: "Shawn Erickson" <email@hidden>
  • Date: Wed, 20 Dec 2006 11:24:01 -0800

On 12/20/06, Vinay Prabhu <email@hidden> wrote:
I am trying to draw elliptical arc using NSBezierPath.
The arc must vary from Ellipse to Rect. Please see the attached image. The
blue curve is the elliptical curve and the bounding rectangle is stroked
with red color.
On windows, the arc is drawn using the addArc method.

Is there any direct replacement for the addArc method on Mac to draw
elliptical curve?

Review the following section in the Cocoa drawing guide...

<http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaDrawingGuide/Paths/chapter_6_section_1.html>

...in particular for your quesiton...

<http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaDrawingGuide/Paths/chapter_6_section_5.html#//apple_ref/doc/uid/TP40003290-CH206-BBCBGFBH>

-Shawn
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >Drawing elliptical curve using NSBezierPath (From: Vinay Prabhu <email@hidden>)

  • Prev by Date: Re: assigning the same keyboard command to more than one menu item
  • Next by Date: Re: How to autosave NSSplitView?
  • Previous by thread: Re: Drawing elliptical curve using NSBezierPath
  • Next by thread: Re: Drawing elliptical curve using NSBezierPath
  • Index(es):
    • Date
    • Thread