Class Avogadro::Rendering::TextLabel2D#

class TextLabel2D : public TextLabelBase#

The TextLabel2D class renders text in an overlay plane, anchored to a point in window coordinates.

Unnamed Group

void setAnchor(const Vector2i &windowCoords)#

The anchor point in window coordinates, taking the origin at the upper-left corner.

Vector2i anchor() const#

The anchor point in window coordinates, taking the origin at the upper-left corner.

Public Functions

TextLabel2D()#
~TextLabel2D() override#
virtual void accept(Visitor&) override#

Accept a visit from our friendly visitor.