repaint scale