Closed Tectu closed 4 months ago
Background::pain() can (and should) use the QStyleOptionGraphicsItem::exposedRect information to only paint what is actually visible (exposed) on the view port. This will drastically improve rendering performance, especially for large scenes.
Background::pain()
QStyleOptionGraphicsItem::exposedRect
Background::pain()
can (and should) use theQStyleOptionGraphicsItem::exposedRect
information to only paint what is actually visible (exposed) on the view port. This will drastically improve rendering performance, especially for large scenes.