Re: Issue with [NSImage drawAtPoint:fromRect:etc:...]
Re: Issue with [NSImage drawAtPoint:fromRect:etc:...]
- Subject: Re: Issue with [NSImage drawAtPoint:fromRect:etc:...]
- From: Christopher Holland <email@hidden>
- Date: Thu, 5 Sep 2002 12:28:24 -0500
It sounds like your image may have a specified resolution that is not
72 ppi. Since you have Photoshop...check in the image scaling dialog
and make sure that your resolution is set for 72. It sounds like it may
be around 150 or so. The Cocoa libraries (correctly) interpret the
resolution in an image file and use that when rendering to a device.
Hope this helps and that it is the problem.
Christopher Holland
On Thursday, September 5, 2002, at 07:51 AM, Stiphane Sudre wrote:
I have a tiff image whose size is 16x15 (as said by Photoshop and
Interface Builder).
When I draw it using drawAtPoint:fromRect:..., the drawing is made
with a height of 16.
Is this the correct/designed behavior?
I have to use drawInRect:fromRect to have it drawn correctly.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.