mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Fixed PNG export layout
This commit is contained in:
parent
0f8859dd20
commit
1f52dad1c6
@ -1068,8 +1068,8 @@ void GUI::exportPNGFile()
|
|||||||
img.save(_pngExport.fileName);
|
img.save(_pngExport.fileName);
|
||||||
|
|
||||||
if (!_tabs.isEmpty() && _options.separateGraphPage) {
|
if (!_tabs.isEmpty() && _options.separateGraphPage) {
|
||||||
QImage img2(_pngExport.size.width(), (int)graphPlotHeight(rect, 1),
|
QImage img2(_pngExport.size.width(), (int)graphPlotHeight(rect, 1)
|
||||||
QImage::Format_ARGB32_Premultiplied);
|
+ _pngExport.margins.bottom(), QImage::Format_ARGB32_Premultiplied);
|
||||||
QPainter p2(&img2);
|
QPainter p2(&img2);
|
||||||
QRectF rect2(0, 0, img2.width(), img2.height());
|
QRectF rect2(0, 0, img2.width(), img2.height());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user