• 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: NSTableView blurry contents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView blurry contents


  • Subject: Re: NSTableView blurry contents
  • From: Troy Stephens <email@hidden>
  • Date: Wed, 17 Aug 2005 11:20:07 -0700

On Aug 17, 2005, at 8:55 AM, William Turner wrote:
Thanks Jesse - that was it! I floor'd all the elements of the frame and the problem is gone. Nifty. Do you - or does anyone - know why that has to be? Just curious.

Scrolling normally performs a bitmap-copy of the existing ClipView contents, so that the document view will only need to be asked to draw the newly revealed portion of its content. For this optimization to work correctly, the ClipView needs to be aligned on pixel boundaries. (It's enough to pixel-align the ScrollView; the ClipView will follow suit.)


Guaranteeing pixel alignment is generally the best thing to do. As an alternative, however, you could also send "setCopiesOnScroll:NO" to the ClipView, which disables the bitmap-copy optimization (meaning the entire ClipView content will need to be redrawn on each scroll step), but will eliminate the blurred drawing.

--
Troy Stephens
Cocoa Frameworks
Apple Computer, Inc.


_______________________________________________ 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
  • Follow-Ups:
    • Re: NSTableView blurry contents
      • From: William Turner <email@hidden>
References: 
 >Re: NSTableView blurry contents (From: Jesse Grosjean <email@hidden>)
 >Re: NSTableView blurry contents (From: William Turner <email@hidden>)

  • Prev by Date: Dependent Keys
  • Next by Date: Should I set Core Data dependent key in the primary's setter?
  • Previous by thread: Re: NSTableView blurry contents
  • Next by thread: Re: NSTableView blurry contents
  • Index(es):
    • Date
    • Thread