Add support for rotation to the partial renderer

The use of the rotation-* properties creates a hidden Rotate item,
which applyes a rotation to the renderer. This rotation (and translation
by rotation origin) is now also applied when the partial renderer
computes the dirty regions.
This commit is contained in:
Simon Hausmann 2024-12-20 10:08:23 +01:00 committed by Simon Hausmann
parent 7d69b8ca04
commit 3d90434067
10 changed files with 426 additions and 50 deletions

View file

@ -2272,3 +2272,7 @@ impl<'a, T: ProcessScene> crate::item_rendering::ItemRenderer for SceneBuilder<'
None
}
}
impl<'a, T: ProcessScene> crate::item_rendering::ItemRendererFeatures for SceneBuilder<'a, T> {
const SUPPORTS_TRANSFORMATIONS: bool = false;
}