You have two (32-bit floating point) coordinate systems to work with
here.  You have the one defined by your view's bounds, and the one you
use internally to convert values in your domain (seconds) into pixels.
 You can set these however you like such that the final transformation
matrix results in drawing at your desired resolution.

This is a bit more involved than just using the view's bounds, but it
is a good way to achieve what you like.  If you wanted, you could
forget entirely about the bounds and draw directly at 1:1.  Whatever
you do, make sure you disable copy-on-scroll.

--Kyle Sluder

-- 
--Kyle Sluder
_______________________________________________

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

Reply via email to