• 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: [firstPath appendBezierPath: [secondPath bezierPathByReversingPath]];
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [firstPath appendBezierPath: [secondPath bezierPathByReversingPath]];


  • Subject: Re: [firstPath appendBezierPath: [secondPath bezierPathByReversingPath]];
  • From: Hamish Allan <email@hidden>
  • Date: Fri, 21 May 2004 05:17:00 +0100

On May 20, 2004, at 14:10, Robert Clair wrote:

Can you (or anyone else) think of any negative outcomes, before I file
a bug report myself?

How about "It would break lots of existing applications." ? ... for a start

Could you please elaborate? I believe I am suggesting allowing NSBezierPaths to allow for adding elements in a way which is currently not permitted, so any existing applications could not contain such NSBezierPaths.

Currently, as you know, an NSBezier won't let you add a line until
you've added an initial point (I don't know about other curves, I
haven't tried them). Relaxing this restriction (by assuming that the
point from which the line is drawn is the final point in the path,
i.e., paths with only line elements in them are implicitly closed)
would have at least three positive outcomes:

And a rather large negative one - how can you assume
"paths with only line elements in them are implicitly closed" ???
Open polylines are not an unknown or unused item.

I have found that if I try lineToPoint: on an NSBezierPath without having first called moveToPoint: I get a runtime error. How do I obtain these open polylines?

Best wishes,
Hamish
_______________________________________________
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.


  • Follow-Ups:
    • Re: [firstPath appendBezierPath: [secondPath bezierPathByReversingPath]];
      • From: Robert Clair <email@hidden>
References: 
 >Re: [firstPath appendBezierPath: [secondPath bezierPathByReversingPath]]; (From: Robert Clair <email@hidden>)

  • Prev by Date: Re: NSMakePoint and such - what about memory allocation?
  • Next by Date: Re: NSMakePoint and such - what about memory allocation?
  • Previous by thread: Re: [firstPath appendBezierPath: [secondPath bezierPathByReversingPath]];
  • Next by thread: Re: [firstPath appendBezierPath: [secondPath bezierPathByReversingPath]];
  • Index(es):
    • Date
    • Thread