• 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: I need more mouseDragged events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I need more mouseDragged events


  • Subject: Re: I need more mouseDragged events
  • From: Robert Clair <email@hidden>
  • Date: Thu, 8 Apr 2004 21:31:09 -0400

I'm implementing drawing tools, and my brush drawings
look more like Polygons.

This has been a problem, more or less, with every graphic arts app (the
usual commercial suspects as well as my own) on every system I've
ever worked on. Obvious, the faster your mouseDragged: routine executes,
the better off you are, but with the present state of the art, a user will always
be able to move the mouse ( or more likely the pen, drawing with a mouse
is worhless) fast enough to see some polygonalization. The usual solution
is to put up some temporary graphics while you are actually drawing and then
fit Bezier curves and draw them on mouseUp:

.........Bob Clair
_______________________________________________
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: I need more mouseDragged events
      • From: "M. Uli Kusterer" <email@hidden>
  • Prev by Date: Re: Setting env vars from Cocoa with /bin/sh?
  • Next by Date: What is called AFTER awakeFromNib?
  • Previous by thread: Re: I need more mouseDragged events
  • Next by thread: Re: I need more mouseDragged events
  • Index(es):
    • Date
    • Thread