In OSX the user can zoom the mouse cursor using the accessibility system preferences. Since Lion (I think) OSX stores the cursors as PDFs and is able to resize them smoothly. I want the same functionality for my app but using PDFs as the NSImage
used for my NSCursor
just scales up the rendered bitmap when a cursor zoom level larger than 1.0 is set.
How do I:
- Use vector artwork for my cursors and have them scale correctly like the system cursors do?
- Detect the current cursor zoom level.
- Get notified when the cursor zoom level changes?
Also, when using a HiDPI mode for my screen and revert the cursor zoom setting, the PDF cursor is blurred as well so how exactly do you guys retina-ify your cursors?