Re: draw two strokes(lines) simultaneousy on NSView

2009-01-21 Thread Mark Barclay
er writes using two input device on one surface >> simultaeously then it should draw two individual path depending on >> (x,y) coordinates from different input device. >> so what is your inputs on this situation? >> >> Thanks & Regards, >> Ravi. &

Re: draw two strokes(lines) simultaneousy on NSView

2009-01-21 Thread Mark Barclay
Gami, To handle two input devices separately, as long as at least one of tehm is a tablet type of device (such as a Wacom tablet), you can etst the value of deviceId in the NSEvent that accompanies the mouseDragged, mouseDragged and mouseUp methods you override in your NSView subclass (assuming th

Re: draw two strokes(lines) simultaneousy on NSView

2009-01-20 Thread Raleigh Ledet
; Regards, Ravi. - Original Message - From: "Graham Cox" > To: "Gami Ravi" Cc: Sent: Tuesday, January 20, 2009 11:56 AM Subject: Re: draw two strokes(lines) simultaneousy on NSView On 20 Jan 2009, at 5:12 pm, Gami Ravi wrote: I want to create an applica

Re: draw two strokes(lines) simultaneousy on NSView

2009-01-19 Thread Gami Ravi
anuary 20, 2009 11:56 AM Subject: Re: draw two strokes(lines) simultaneousy on NSView On 20 Jan 2009, at 5:12 pm, Gami Ravi wrote: I want to create an application that will draws two strokes simultaneously on NSView. How can i draw two strokes simultaneously ? Any help would be appreciated. You

Re: draw two strokes(lines) simultaneousy on NSView

2009-01-19 Thread Graham Cox
On 20 Jan 2009, at 5:12 pm, Gami Ravi wrote: I want to create an application that will draws two strokes simultaneously on NSView. How can i draw two strokes simultaneously ? Any help would be appreciated. You don't say what you want to stroke, but let's assume a NSBezierPath. // ...set up

draw two strokes(lines) simultaneousy on NSView

2009-01-19 Thread Gami Ravi
Hi All, I want to create an application that will draws two strokes simultaneously on NSView. How can i draw two strokes simultaneously ? Any help would be appreciated. Thanks & Regards, Ravi Gami. -- _ Disclaimer: This e-mail