NSRuler for nonlinear measurements
NSRuler for nonlinear measurements
- Subject: NSRuler for nonlinear measurements
- From: Carlos Eduardo Mello <email@hidden>
- Date: Thu, 24 Feb 2011 11:44:11 -0300
Hi everone,
I am using a vertical NSRuler with my CustomView-inside-ScrollView set
up. I read every piece of documentation there is (guides, reference)
and searched the list archives and google but couldn't find anything
to help me customize my rulers to be associated with data that does
not scale linearly. I mean, I need to build a frequency ruler that
shows hash marks at logarithmic increments and (apparently)
'registerUnitName:' won't do the trick, as it seems to perform a
constant linear conversion between my unit and postscript points.
- Is it possible to somehow inform NSRuler that it needs to increment
the maks at log2(y) instead conversionFactor (y)?
- Do i need to draw the ruler and control its behaviour myself?
Thanks in advance for any tips.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden