-
- //with scaled view, artefacts occur because of rounding errors
- //we'll try to only update chunks of screen space that correspond to integer pixel sizes in m_frame
- //put this into paintEvent
- /*
- int frame_x = x/m_horizontalFactor;
- int frame_w = w/m_horizontalFactor;
- int frame_y = y/m_verticalFactor;
- int frame_h = h/m_verticalFactor;
-
- m_x = frame_x*m_horizontalFactor;
- m_y = frame_y*m_verticalFactor;
-
- m_w = (frame_w+2)*m_horizontalFactor;
- m_h = (frame_h+2)*m_verticalFactor;
- kDebug(5011)<< "update);
- */
-
-