Re: scribbling
Re: scribbling
- Subject: Re: scribbling
- From: Mark Flider <email@hidden>
- Date: Wed, 13 Aug 2003 17:36:55 -0500
On Wednesday, August 13, 2003, at 04:38 PM, Richard Chamberlain wrote:
After looking at Wacom's sample I got it working by adding [[self
window] flushWindow]; to my mouseDragged method.
This works fine - but after reading John Randolph's reply it doesn't
seem like the best thing to do.
Thanks again,
Richard
Well, it's not the most object-oriented method, but it is a lot faster
(once you get thousands of line segments on-screen at once), and
usability *is* a key design goal.
What I do is draw right away to screen using this event loop method,
but store the points in an array so if I change the bounds or need to
redraw, I have my information stored.
-- Mark Flider
_______________________________________________
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.