mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
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:
parent
7d69b8ca04
commit
3d90434067
10 changed files with 426 additions and 50 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue