|
|
| Qwt3DLabel (const Qwt3DLabel &other) |
| |
|
| Qwt3DLabel (Qwt3DLabel &&other) noexcept |
| |
|
Qwt3DLabel & | operator= (const Qwt3DLabel &other) |
| |
|
Qwt3DLabel & | operator= (Qwt3DLabel &&other) noexcept |
| |
|
| Qwt3DLabel (const QString &family, int pointSize, int weight=QFont::Normal, bool italic=false) |
| |
|
void | setFont (QString const &family, int pointSize, int weight=QFont::Normal, bool italic=false) |
| |
|
void | adjust (int gap) |
| |
|
double | gap () const |
| |
|
void | setPosition (Triple pos, ANCHOR a=BottomLeft) |
| |
|
void | setRelPosition (Tuple rpos, ANCHOR a, const Qwt3DRenderContext &ctx) |
| |
|
Triple | first () const |
| |
|
Triple | second () const |
| |
|
ANCHOR | anchor () const |
| |
| virtual void | setColor (double r, double g, double b, double a=1) override |
| |
| virtual void | setColor (RGBA rgba) override |
| |
|
void | setString (QString const &s) |
| |
| QString | string () const |
| | 返回标签文本
|
| |
| void | draw (const Qwt3DRenderContext &ctx) override |
| | Draws the label using a texture quad with GLSL text shader
|
| |
|
void | attach (Qwt3DDrawable *) |
| |
|
void | detach (Qwt3DDrawable *) |
| |
|
void | detachAll () |
| |
| RGBA | color () const |
| | Returns the drawable's color
|
| |
A Qt string or an output device dependent string
Qwt3DLabel provides text rendering on 3D plots, supporting both Qt string representation and device-dependent string output.