mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 22:54:36 +00:00
Use the QPainter directly when using the Qt paint engine
This commit is contained in:
parent
46dbb1ee9e
commit
10dffa7d79
4 changed files with 82 additions and 63 deletions
|
@ -771,6 +771,10 @@ impl ItemRenderer for GLItemRenderer {
|
|||
fn scale_factor(&self) -> f32 {
|
||||
self.scale_factor
|
||||
}
|
||||
|
||||
fn as_any(&mut self) -> &mut dyn std::any::Any {
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
impl GLItemRenderer {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue