Skip to content
Discussion options

You must be logged in to vote

Thanks for the example. I see what's going on.
I transformed this issue into a discussion because this is not a bug as far as i can tell.

The Problem is that your code ignores the clipping when drawing rectangle, and draw the background on the bounding rect.
The region is composed of two rectangle that are dirty.
The yellow one (because of the layout change) and the text, but the red rectangle is not considered as dirty and is not part of the region to be redrawn.
But since you use the bounding box to render the background instead of iterating over the clip rectangles, the background is painted over the red rectangle.

Would it help you if there was a way to configure the dirty region to h…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ogoffart
Comment options

Answer selected by ninjasource
@ninjasource
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
a:renderer-software Software Renderer (mO,bF)
2 participants
Converted from issue

This discussion was converted from issue #8934 on January 06, 2026 08:19.