• 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
playing with arcs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

playing with arcs


  • Subject: playing with arcs
  • From: Giovanni Donelli <email@hidden>
  • Date: Thu, 15 Sep 2005 23:43:33 +0200

Dear Everyone,
does anybody have any knowledge on how to use this function of NSBezierPath to draw arcs:


- (void)appendBezierPathWithArcFromPoint:(NSPoint)fromPoint toPoint: (NSPoint)toPoint radius:(float)radius

I have 2 points and I am trying to draw an arc in between. it simply doesn't work and I get an exception if I call solely the method above and then I try to stoke the resulting path.
Somehow if I use before that:


- (void)moveToPoint:(NSPoint)aPoint

the exception disappears but the arc is simply not drawn on the view.

any idea???

thanks for your help!!!

Giovanni Donelli

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: playing with arcs
      • From: email@hidden
  • Prev by Date: Editable Text fields and borderless windows
  • Next by Date: Re: Editable fields in a borderless window
  • Previous by thread: Editable Text fields and borderless windows
  • Next by thread: Re: playing with arcs
  • Index(es):
    • Date
    • Thread