54 QPainter& painter,
ERulerOrientation ro,
const QColor& color,
const QColor& font_color,
const QRect& bounds,
const QRect& area,
double start,
double stop,
55 int digits,
const QString& unit
81 bool gridLines(QPainter& painter,
EGridOrientation go,
const QColor& color,
const QRect& bounds,
double start,
double stop,
unsigned digits)
const;
92 bool textCross(QPainter& painter,
const QRect& bounds,
const QString& text,
const QColor& color);
98 const double _sepFactor;
107 } _tickListVertical[], _tickListHorizontal[];
contains functions for drawing general stuff for graphs.
Definition Draw.h:14
bool ruler(QPainter &painter, ERulerOrientation ro, const QColor &color, const QColor &font_color, const QRect &bounds, const QRect &area, double start, double stop, int digits, const QString &unit) const
Draws a ruler for example around a graph.
ERulerOrientation
Orientation for drawing a graph ruler.
Definition Draw.h:25
bool gridLines(QPainter &painter, EGridOrientation go, const QColor &color, const QRect &bounds, double start, double stop, unsigned digits) const
Draws the lines in the graph as the ruler ticks.
bool textCross(QPainter &painter, const QRect &bounds, const QString &text, const QColor &color)
Draws a cross with text rectangle in the middle.
EGridOrientation
Orientation for drawing grid lines in a graph.
Definition Draw.h:62
Draw()
Default constructor.
Value container class able to performing arithmetic functions.
Definition Value.h:19
#define _MISC_CLASS
Definition misc/global.h:40
Definition Application.h:10