Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Large over 100K pixel high ruler scroll view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Large over 100K pixel high ruler scroll view



I work with scans of 10 tune Nickelodeon player piano rolls. These can be over 100 yards long when unrolled. My roll images when uncompressed can be 100,000 plus pixels by 2800 pixels. In actual practice the images are made of lines, not pixels.

To read these I have programs written in postscript or carbon. My carbon application is getting long in the tooth.

I have been reading over this list and the Cocoa program examples and documentation over the last 3 months.

I found the NSRulerView sample application. At issue is that interface builder will only let me make a view that is 10000 pixels.

Searching the web I see suggestions to do this programmatically. I am not sure where the code to create the window would go. I am finding that Cocoa, especially V2.0 obfuscates things, especially where to put things. What examples I have are base on images, but I am drawing lines, based on the scroller positions.

I already have postscript and carbon code that tiles the images, So if I have the first set of lines to draw and the last set of lines to draw, I can find these in the file and draw them.

How do I do setup the ruler and scrollviews programetically without interface builder?
_______________________________________________


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




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.