Re: NSBezierPath (Modifying Paths)

2009-02-04 Thread Rob Keniger
On 05/02/2009, at 10:11 AM, Graham Cox wrote: You can download a very bare-bones demo app that also shows how DK implements curve creation/editing among others here:http://apptree.net/code/dk/Binaries/DKMiniDemo_app_1.2.zip ...which, by the way, is one hell of an impressive "bare bones demo

Re: NSBezierPath (Modifying Paths)

2009-02-04 Thread Graham Cox
I just thought I'd throw my 2ยข worth in here, since I've been down this very long road in great detail while building DrawKit, so I've learned a thing or two about this. On 5 Feb 2009, at 5:54 am, Joseph Crawford wrote: You make some very good points. Let me first start out by saying I wa

Re: NSBezierPath (Modifying Paths)

2009-02-04 Thread Quincey Morris
On Feb 4, 2009, at 10:54, Joseph Crawford wrote: This is all just messing around trying to replicate the capabilities of the curve tool in many drawing applications, I already saw how to replicate the drawing of a line and that would be a different tool to choose from. What would you sugg

Re: NSBezierPath (Modifying Paths)

2009-02-04 Thread Joseph Crawford
Quincey, You make some very good points. Let me first start out by saying I was doing ALL the path work in drawRect: based on someone telling me that was the best practice, I then had a few people including you tell me that is not the case. I am not worried about performance right now th

Re: NSBezierPath (Modifying Paths)

2009-02-04 Thread Quincey Morris
On Feb 4, 2009, at 07:35, Joseph Crawford wrote: Draw A straight line click the line and drag to make that line curve Now I have been able to get all of this to work aside from one thing. If you draw a curve then go to draw another the first one is not remembered. Code: http://paste.lisp

NSBezierPath (Modifying Paths)

2009-02-04 Thread Joseph Crawford
Hello Everyone, I am working on something small just to learn with and I have been trying to figure this out for a while. The end result that I am looking for is this Draw A straight line click the line and drag to make that line curve Now I have been able to get all of this to work aside