• 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: scribbling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: [[NSTextView textStorage] size] produces different results when called more than once
  • Next by Date: (Possible OT) Localized variants
  • Previous by thread: Re: scribbling
  • Next by thread: NSSlider MaxValue
  • Index(es):
    • Date
    • Thread