mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-30 23:27:22 +00:00
Make rendering rotation a public feature of the software renderer
Fixes #5372
This commit is contained in:
parent
650f19a33c
commit
88e1a366a3
8 changed files with 31 additions and 73 deletions
|
@ -716,6 +716,7 @@ public:
|
|||
&process_line_callback);
|
||||
return PhysicalRegion { r };
|
||||
}
|
||||
# endif
|
||||
|
||||
/// This enum describes the rotation that is applied to the buffer when rendering.
|
||||
/// To be used in set_rendering_rotation()
|
||||
|
@ -738,7 +739,6 @@ public:
|
|||
cbindgen_private::slint_software_renderer_set_rendering_rotation(
|
||||
inner, static_cast<int>(rotation));
|
||||
}
|
||||
# endif
|
||||
};
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue