10 #include <QWaitCondition>
44 void render(
Graph* g, QSize resSize, QPen ePen, QBrush nBrush, QPen nPen,
double nRad,
bool vEdges =
true,
bool vNodes =
true,
bool vDescr =
true,
bool w =
false,
bool b =
false);
58 QWaitCondition condition;
66 bool showDescriptions;
76 QPointF
getWindowCoordinate(QPointF point) {
return QPointF(point.x() * resultSize.width(), point.y() * resultSize.height());}
78 QPolygonF
getWindowCoordinates(QPolygonF poly) {QMatrix transform; transform.scale(resultSize.width(), resultSize.height());
return transform.map(poly);};
81 #endif // RENDERTHREAD_H
void run()
Definition: renderthread.cpp:44
~RenderThread()
Definition: renderthread.cpp:12
QPolygonF getWindowCoordinates(QPolygonF poly)
Definition: renderthread.h:78
RenderThread(QObject *parent=0)
Definition: renderthread.cpp:6
QPointF getWindowCoordinate(QPointF point)
Definition: renderthread.h:76
void setStatus(QString s)
void render(Graph *g, QSize resSize, QPen ePen, QBrush nBrush, QPen nPen, double nRad, bool vEdges=true, bool vNodes=true, bool vDescr=true, bool w=false, bool b=false)
Definition: renderthread.cpp:21
void renderedImage(const QImage &image)
Definition: renderthread.h:18