Re: Need more NSLeftMouseDragged events
Re: Need more NSLeftMouseDragged events
- Subject: Re: Need more NSLeftMouseDragged events
- From: "M. Uli Kusterer" <email@hidden>
- Date: Mon, 12 Jan 2004 18:27:50 +0100
At 6:43 Uhr -0500 12.01.2004, Sailor Quasar wrote:
Given the points I tend to get with the drawing I do now, this would
present roughly the same effect as using a line tool rather than a
pencil tool. I don't think the event loop is a major bottleneck,
though.
Neither do I. For me it works pretty well.
That much I already do, at least, and this machine has Quartz
Extreme, so there's not much bottleneck as far as that's concerned.
Note that I haven't yet used a QE-capable Mac in earnest, so just
because I didn't include QE doesn't necessary mean it's excluded from
the "slow" department. Not to mention that there's a lot of work
involved in actually converting Quickdraw drawings into something
CoreGraphics can work with.
Mainly because I need QuickDraw operations to handle the extra
backing stores I need for this implementation. I've yet to find a
CopyBits() equivelant in CoreGraphics.
You *do* know about NSCopyBits(), right? Also, for most needs that
doesn't cover, do your drawing into an NSImage and then use NSImage
methods to draw parts of that into any other NSImages. It's just done
differently in Cocoa, but that doesn't necessarily mean it can't be
done, or that it's complicated.
In my work so far I haven't really found any situation where Cocoa's
drawing system wouldn't do the trick, and often with much less work.
The few exceptions being working with QuickTime (which is still
pretty Quartz-agnostic, and long filename-agnostic, and
CarbonEvents-blind, and ...), or writing apps that need to be somehow
backwards-compatible with Quickdraw-using code.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.