• 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: William Turner <email@hidden>
  • Date: Wed, 17 Aug 2005 14:55:35 -0400

Ah, that makes sense - thanks for the explanation.

On Aug 17, 2005, at 2:20 PM, Troy Stephens wrote:

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

  • Prev by Date: Re: Core Data SQL store looses data that XML store does not
  • Next by Date: Authorization error -60031
  • Previous by thread: Re: NSTableView blurry contents
  • Next by thread: Problems getting description of printer features
  • Index(es):
    • Date
    • Thread