Make rendering rotation a public feature of the software renderer

Fixes #5372
This commit is contained in:
Simon Hausmann 2024-06-10 11:35:52 +02:00 committed by Simon Hausmann
parent 650f19a33c
commit 88e1a366a3
8 changed files with 31 additions and 73 deletions

View file

@ -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