GraphViz to GraphicsScene conversions. More...
#include </local/robotpkg/var/tmp/robotpkg/graphics/qt-qgv/work/qgv-1.1.0/QGVCore/private/QGVCore.h>
Classes | |
struct | rdr_t |
Static Public Member Functions | |
static qreal | graphHeight (Agraph_t *graph) |
static bool | gvToQtPos (QString att, qreal dpi, qreal gheight, QPointF &pos) |
static QString | qtToGvPos (QPointF pos, qreal gheight) |
static QPointF | toPoint (pointf p, qreal gheight) |
static QPointF | toPoint (point p, qreal gheight) |
static QPointF | centerToOrigin (const QPointF &p, qreal width, qreal height) |
static QPolygonF | toPolygon (const polygon_t *poly, qreal width, qreal height) |
static QPainterPath | toPath (const char *type, const polygon_t *poly, qreal width, qreal height) |
static QPainterPath | toPath (const splines *spl, qreal gheight) |
static Qt::BrushStyle | toBrushStyle (const QString &style) |
static Qt::PenStyle | toPenStyle (const QString &style) |
static int | toPenWidth (const QString &width) |
static QColor | toColor (const QString &color) |
static int | memiofread (void *chan, char *buf, int bufsize) |
static Agraph_t * | agmemread2 (const char *cp) |
GraphViz to GraphicsScene conversions.
|
inlinestatic |
References QGVCore::rdr_t::cur, QGVCore::rdr_t::data, QGVCore::rdr_t::len, and memiofread().
Referenced by QGVScene::loadLayout().
|
static |
Referenced by QGVScene::applyLayout(), QGVNode::itemChange(), QGVNode::posToAttributeString(), and QGVNode::updateLayout().
|
static |
|
static |
|
inlinestatic |
References QGVCore::rdr_t::cur, QGVCore::rdr_t::data, and QGVCore::rdr_t::len.
Referenced by agmemread2().
|
static |
Referenced by QGVNode::itemChange(), and QGVNode::posToAttributeString().
|
static |
Referenced by QGVSubGraph::updateLayout(), and QGVNode::updateLayout().
|
static |
Referenced by QGVNode::paint(), QGVSubGraph::updateLayout(), QGVEdge::updateLayout(), and QGVNode::updateLayout().
|
static |
References toPolygon().
Referenced by QGVEdge::updateLayout(), and QGVNode::updateLayout().
|
static |
References toPoint().
|
static |
Referenced by QGVEdge::updateLayout(), and QGVNode::updateLayout().
|
static |
Referenced by QGVEdge::updateLayout().
|
static |
Referenced by QGVScene::applyLayout(), toPath(), QGVSubGraph::updateLayout(), QGVEdge::updateLayout(), and QGVNode::updateLayout().
|
static |
|
static |
Referenced by toPath().