Are non-rectangular cursor rects possible?
Are non-rectangular cursor rects possible?
- Subject: Are non-rectangular cursor rects possible?
- From: "Sean McBride" <email@hidden>
- Date: Tue, 15 Mar 2005 09:46:50 -0500
- Organization: Rogue Research
Hi all,
NSView's cursor rect methods are handy, but they only work with
rectangles. Likewise for the more general tracking rects. How does one
change the cursor for an arbitrary part of a view? For example, can I
specify that a closed NSBezierPath should have cursor X?
I guess I could approximate any shape with many small rectangles. Any
idea if performance will degrade horribly with 100s or 1000s of cursor rects?
Thanks!
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden