8#include <qfontmetrics.h>
10#include "qwt3d_drawable.h"
22 QWT_DECLARE_PRIVATE(
Label)
32 Label(
const QString& family,
int pointSize,
int weight = QFont::Normal,
bool italic =
false);
35 void setFont(QString
const& family,
int pointSize,
int weight = QFont::Normal,
bool italic =
false);
44 void setRelPosition(
Tuple rpos, ANCHOR a);
50 ANCHOR anchor()
const;
51 virtual void setColor(
double r,
double g,
double b,
double a = 1)
override;
55 void setString(QString
const& s);
57 virtual void draw()
override;
60 static void useDeviceFonts(
bool val);
64 void init(
const QString& family,
int pointSize,
int weight = QFont::Normal,
bool italic =
false);
66 void convert2screen();
68 double height()
const;
Abstract base class for Drawables
Definition qwt3d_drawable.h:15
A Qt string or an output device dependent string
Definition qwt3d_label.h:21
Red-Green-Blue-Alpha value
Definition qwt3d_types.h:364
Triple [x,y,z]
Definition qwt3d_types.h:170
Tuple [x,y]
Definition qwt3d_types.h:151