mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +01:00
DXF - Fix single shape rectangle scaling
This commit is contained in:
@@ -675,7 +675,8 @@ void Createdxf::drawRectangle(
|
|||||||
const QString &filepath,
|
const QString &filepath,
|
||||||
const QRectF &rect,
|
const QRectF &rect,
|
||||||
const int &colorcode) {
|
const int &colorcode) {
|
||||||
QPolygonF poly(scaleRect(rect));
|
//QPolygonF poly(scaleRect(rect));
|
||||||
|
QPolygonF poly(rect);
|
||||||
drawPolyline(filepath,poly,colorcode);
|
drawPolyline(filepath,poly,colorcode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user