Pieter from Belgium
10th October 2006, 14:05
While migrating to Qt 4, a QCanvas subclass became a Q3Canvas subclass. The behaviour of drawBackground seems to have changed. When zoomed in and scrolling, drawing is clipped somewhat at the borders.
This is illustrated in the following screenshot:
http://www.cs.kuleuven.be/~pieter/canvasproblem1.png
There is a small white border between the visible content pixels and the scrollbars.
When scrolling, this gives rise to a more or less regular pattern of horizontal resp. vertical white bars.
I am certain that I do draw the missing pixels to the painter, but the seem to disappear. (In fact, for certainty I first extend the clip with 10 pixels in each direction...)
Has something changed that I am not aware of?
This is illustrated in the following screenshot:
http://www.cs.kuleuven.be/~pieter/canvasproblem1.png
There is a small white border between the visible content pixels and the scrollbars.
When scrolling, this gives rise to a more or less regular pattern of horizontal resp. vertical white bars.
I am certain that I do draw the missing pixels to the painter, but the seem to disappear. (In fact, for certainty I first extend the clip with 10 pixels in each direction...)
Has something changed that I am not aware of?