resolution independent [NSImage drawInRect]
resolution independent [NSImage drawInRect]
- Subject: resolution independent [NSImage drawInRect]
- From: Andrew Bush <email@hidden>
- Date: Wed, 20 Sep 2006 01:07:45 +1200
Hi all,
Im drawing some arbitary images into a custom view using drawInRect and
specifying the srcRect, reasonably enough some images, with resolution
of 300dpi instead of 72 dpi, are drawing into a smaller rect than the
one I specify.
Clearly I can fix this by calculating a larger srcRect depending on the
resolution of the image I am handling...but I dont really want to :)
is there an easier (read: built in) way of handling images of varying
resolutions?
thanks for any help.
Yours cheerfully,
Andrew Bush
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden