DXF - Add Polylines, use for conductors and rectangles

This commit is contained in:
David Varley
2020-09-11 11:22:08 +10:00
parent 046d7c6b59
commit 6b1d51bab8
4 changed files with 102 additions and 161 deletions

View File

@@ -657,7 +657,7 @@ bool QetGraphicsTableItem::toDXF(const QString &filepath)
//QRectF rect = boundingRect();
QRectF rect(0,0, m_header_item->rect().width(), m_current_size.height());
QPolygonF poly(rect);
Createdxf::drawPolygon(filepath,mapToScene(poly),0);
Createdxf::drawPolygon(filepath,mapToScene(poly),0);
//Draw vertical lines
auto offset= 0;