Kstars
labelnode.h
SkyOpacityNode derived class that represents stars and planets using cached QSGTexture.
Definition: pointnode.h:24
void createTexture(QColor color=QColor())
Create texture from label's name.
Definition: labelnode.cpp:74
Definition: skylabeler.h:98
A container for nodes that holds collection of textures for stars and provides clipping.
Definition: rootnode.h:59
void initialize()
Convenience function to not to repeat the same code in 2 constructors.
Definition: labelnode.cpp:35
virtual void update() override
Update position of label according to labelPos and recreate texture if label's size depends on zoom l...
Definition: labelnode.cpp:135
virtual void changePos(QPointF pos) override
Changes position of the label.
Definition: labelnode.cpp:114
Item for displaying sky objects; also handles user interaction events.
Definition: skymaplite.h:58
QSGNode::NodeType type() const const
void setLabelPos(QPointF pos)
set the position of label with the given offset from SkyObject's position and makes the label visible...
Definition: labelnode.cpp:123
Provides virtual functions for update of coordinates and nodes hiding.
Definition: skynode.h:27
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Dec 5 2023 03:58:29 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Dec 5 2023 03:58:29 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.