Use the QPainter directly when using the Qt paint engine

This commit is contained in:
Olivier Goffart 2021-01-11 14:41:49 +01:00 committed by Simon Hausmann
parent 46dbb1ee9e
commit 10dffa7d79
4 changed files with 82 additions and 63 deletions

View file

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