1#ifndef __LABELPIXMAP_H__
2#define __LABELPIXMAP_H__
8#include <qfontmetrics.h>
10#include "qwt3d_drawable.h"
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,
41 double gap()
const {
return gap_; }
45 void setRelPosition(
Tuple rpos, ANCHOR a);
55 virtual void setColor(
double r,
double g,
double b,
double a = 1);
59 void setString(QString
const &s);
64 static void useDeviceFonts(
bool val);
76 void init(
const QString &family,
int pointSize,
int weight = QFont::Normal,
79 void convert2screen();
81 double height()
const;
87 static bool devicefonts_;
可绘制对象的抽象基类
Definition qwt3d_drawable.h:21
Qt 字符串或输出设备依赖的字符串
Definition qwt3d_label.h:27
红-绿-蓝-透明度值
Definition qwt3d_types.h:480
三元组 [x,y,z]
Definition qwt3d_types.h:240
二元组 [x,y]
Definition qwt3d_types.h:213