Re: Dividing NSView to subviews
Re: Dividing NSView to subviews
- Subject: Re: Dividing NSView to subviews
- From: Uli Kusterer <email@hidden>
- Date: Sat, 25 Apr 2009 20:26:45 +0200
On 24.04.2009, at 14:02, Naresh Kongara wrote:
Thanks peter for your reply,
Now there is some improvement in the performance , but the image is
not that much clear as the image we are getting with
dataWithPDFInsideRect:
is there any way to remove that blur.
You're probably drawing the image between pixels instead of on
pixels. A coordinate like 1.0 goes along the edge of the destination
pixel, so each pixel in your image will be drawn half on one pixel and
half on the other. You'll have to offset your coordinate to cause it
to be right *on* the pixel.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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