33 static void dxfBegin (
const QString&);
34 static void dxfEnd(
const QString&);
57 static void drawDonut(QString,
double,
double,
double,
int);
60 const QString &file_path,
70 const int &colorcode);
73 const QString &file_path,
79 const int &colorcode);
83 const int &colorcode);
86 const QString &filepath,
91 const int &colorcode);
93 const QString &filepath,
95 const int &colorcode);
98 const QString &filepath,
99 const QPolygonF &poly,
100 const int &colorcode);
103 const QString &filapath,
108 const int &clorcode);
110 const QString &filepath,
112 const int &colorcode);
131 const QString& fileName,
145 const QString &filepath,
146 const QPolygonF &poly,
147 const int &colorcode,
148 bool preScaled =
false);
The Createdxf class This class exports the project to DXF Format.
Definition createdxf.h:29
static const double sheetWidth
Definition createdxf.h:158
static void drawLine(const QString &filapath, double, double, double, double, const int &clorcode)
Createdxf::drawLine draw line in DXF Format.
Definition createdxf.cpp:313
static void drawArc(const QString &, double x, double y, double rad, double startAngle, double endAngle, int color)
Createdxf::drawArc draw arc in dx format.
Definition createdxf.cpp:637
static int dxfColor(QColor color)
Definition createdxf.cpp:441
static void dxfEnd(const QString &)
Createdxf::dxfEnd End Section of every DXF File.
Definition createdxf.cpp:235
static int getcolorCode(const long red, const long green, const long blue)
Createdxf::getcolorCode This function returns the ACI color which is the "nearest" color to the color...
Definition createdxf.cpp:419
~Createdxf()
Definition createdxf.cpp:36
Createdxf()
Definition createdxf.cpp:32
static void drawPolyline(const QString &filepath, const QPolygonF &poly, const int &colorcode, bool preScaled=false)
Createdxf::drawPolyline Convenience function for draw polyline.
Definition createdxf.cpp:831
static double xScale
Definition createdxf.h:160
static void dxfBegin(const QString &)
Definition createdxf.cpp:41
static void drawTextAligned(const QString &fileName, const QString &text, double x, double y, double height, double rotation, double oblique, int hAlign, int vAlign, double xAlign, double xScale, int colour)
Definition createdxf.cpp:741
static void drawText(const QString &, const QString &, double, double, double, double, int, double xScale=1.0)
Createdxf::drawText draw simple text in dxf format without any alignment specified.
Definition createdxf.cpp:692
static void drawEllipse(const QString &filepath, const QRectF &rect, const int &colorcode)
Createdxf::drawEllipse Conveniance function for draw ellipse.
Definition createdxf.cpp:949
static void drawRectangle(const QString &filepath, double, double, double, double, const int &colorcode)
Createdxf::drawRectangle draw rectangle in dxf format.
Definition createdxf.cpp:608
static void drawArcEllipse(const QString &file_path, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal spanAngle, qreal hotspot_x, qreal hotspot_y, qreal rotation_angle, const int &colorcode)
Definition createdxf.cpp:449
static void drawDonut(QString, double, double, double, int)
static long RGBcodeTable[]
Definition createdxf.h:356
static void drawPolygon(const QString &filepath, const QPolygonF &poly, const int &colorcode)
Createdxf::drawPolygon Convenience function for draw polygon.
Definition createdxf.cpp:986
static double yScale
Definition createdxf.h:161
static const double sheetHeight
Definition createdxf.h:159
static void drawCircle(const QString &, double, double, double, int)
Createdxf::drawCircle draw circle in dxf format.
Definition createdxf.cpp:266