• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Dividing NSView to subviews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Dividing NSView to subviews (From: Naresh Kongara <email@hidden>)
 >Re: Dividing NSView to subviews (From: Peter N Lewis <email@hidden>)
 >Re: Dividing NSView to subviews (From: Naresh Kongara <email@hidden>)

  • Prev by Date: Re: problems with live resize of NSTextView
  • Next by Date: Re: Dividing NSView to subviews
  • Previous by thread: Re: Dividing NSView to subviews
  • Next by thread: Re: Dividing NSView to subviews
  • Index(es):
    • Date
    • Thread