Loading...
Searching...
No Matches
QGVCore Class Reference

GraphViz to GraphicsScene conversions. More...

#include </local/robotpkg/var/tmp/robotpkg/graphics/qt-qgv/work/qgv-1.3.5/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)
 

Detailed Description

GraphViz to GraphicsScene conversions.

Member Function Documentation

◆ agmemread2()

static Agraph_t * QGVCore::agmemread2 ( const char * cp)
inlinestatic

◆ centerToOrigin()

QPointF QGVCore::centerToOrigin ( const QPointF & p,
qreal width,
qreal height )
static

◆ graphHeight()

qreal QGVCore::graphHeight ( Agraph_t * graph)
static

◆ gvToQtPos()

bool QGVCore::gvToQtPos ( QString att,
qreal dpi,
qreal gheight,
QPointF & pos )
static

◆ memiofread()

static int QGVCore::memiofread ( void * chan,
char * buf,
int bufsize )
inlinestatic

◆ qtToGvPos()

QString QGVCore::qtToGvPos ( QPointF pos,
qreal gheight )
static

◆ toBrushStyle()

Qt::BrushStyle QGVCore::toBrushStyle ( const QString & style)
static

◆ toColor()

QColor QGVCore::toColor ( const QString & color)
static

◆ toPath() [1/2]

QPainterPath QGVCore::toPath ( const char * type,
const polygon_t * poly,
qreal width,
qreal height )
static

◆ toPath() [2/2]

QPainterPath QGVCore::toPath ( const splines * spl,
qreal gheight )
static

◆ toPenStyle()

Qt::PenStyle QGVCore::toPenStyle ( const QString & style)
static

◆ toPenWidth()

int QGVCore::toPenWidth ( const QString & width)
static

◆ toPoint() [1/2]

QPointF QGVCore::toPoint ( point p,
qreal gheight )
static

◆ toPoint() [2/2]

QPointF QGVCore::toPoint ( pointf p,
qreal gheight )
static

◆ toPolygon()

QPolygonF QGVCore::toPolygon ( const polygon_t * poly,
qreal width,
qreal height )
static

The documentation for this class was generated from the following files: