mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
fix size of SVG-export
This commit is contained in:
@@ -411,7 +411,7 @@ void ExportDialog::generateSvg(
|
||||
|
||||
// "joue" la QPicture sur un QSvgGenerator
|
||||
QSvgGenerator svg_engine;
|
||||
svg_engine.setSize(QSize(width, height));
|
||||
svg_engine.setSize(QSize((width*9/16), (height*9/16)));
|
||||
svg_engine.setOutputDevice(&io_device);
|
||||
QPainter svg_painter(&svg_engine);
|
||||
picture.play(&svg_painter);
|
||||
|
||||
Reference in New Issue
Block a user