The ImageView::draw method uses a nested loop that calls painter.get_point and painter.paint for each pixel. This could be inefficient for larger images, affecting performance.
Consider buffering the image or optimizing the draw logic by reducing the number of calls inside the loop.
The ImageView::draw method uses a nested loop that calls painter.get_point and painter.paint for each pixel. This could be inefficient for larger images, affecting performance.
Consider buffering the image or optimizing the draw logic by reducing the number of calls inside the loop.