DXF - Add terminals to plot (optional)

This commit is contained in:
David Varley
2020-09-10 18:35:22 +10:00
parent cd7f7eccec
commit 046d7c6b59
4 changed files with 26 additions and 0 deletions

View File

@@ -438,6 +438,12 @@ int Createdxf::getcolorCode (const long red, const long green, const long blue)
}
return minndx;
}
int Createdxf::dxfColor(QColor color) {
return Createdxf::getcolorCode(color.red(), color.green(), color.blue());
}
int Createdxf::dxfColor(QPen pen) {
return Createdxf::dxfColor(pen.color());
}
/**
@brief Createdxf::drawLine