Skip navigation.
 
mlRe: NSTableView blurry contents
FROM : William Turner
DATE : Wed Aug 17 20:55:35 2005

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.
>
>
>

Related mailsAuthorDate
mlNSTableView blurry contents William Turner Aug 17, 16:29
mlRe: NSTableView blurry contents Corbin Dunn Aug 17, 17:34
mlRe: NSTableView blurry contents Jesse Grosjean Aug 17, 17:37
mlRe: NSTableView blurry contents William Turner Aug 17, 17:55
mlRe: NSTableView blurry contents Troy Stephens Aug 17, 20:20
mlRe: NSTableView blurry contents William Turner Aug 17, 20:55
mlRe: NSTableView blurry contents Tim Lucas Aug 18, 02:15
mlRe: NSTableView blurry contents Tim Lucas Aug 18, 04:10
mlRe: NSTableView blurry contents Uli Kusterer Aug 18, 21:55