On Aug 10, 2011, at 21:33 , Conrad Shultz wrote: > I am considering using NSRulerViews as axis scales. I was able to > configure the rulers to have the appropriate point-to-unit conversion > factors, etc., but the one obstacle I have encountered is that the > desired scales increment in opposite directions from usual (i.e. > increasing from right to left and top to bottom). > > By overriding -isFlipped in an NSRulerView subclass and then calling > - -setOriginOffset: appropriately I was able to get the desired behavior > in the vertical ruler (though it feels like a kludge).
Did you try using negative scale factors in the custom ruler scale definition? If the rulers accept that, then you might also have to change the sign on your data values too, for drawing purposes. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com