SymbolNode
#include <dsosymbolnode.h>
Public Member Functions | |
virtual void | updateSymbol (float x, float y, float e, float size) |
Public Member Functions inherited from QSGNode | |
void | appendChildNode (QSGNode *node) |
QSGNode * | childAtIndex (int i) const const |
int | childCount () const const |
QSGNode * | firstChild () const const |
Flags | flags () const const |
void | insertChildNodeAfter (QSGNode *node, QSGNode *after) |
void | insertChildNodeBefore (QSGNode *node, QSGNode *before) |
virtual bool | isSubtreeBlocked () const const |
QSGNode * | lastChild () const const |
void | markDirty (DirtyState bits) |
QSGNode * | nextSibling () const const |
QSGNode * | parent () const const |
void | prependChildNode (QSGNode *node) |
virtual void | preprocess () |
QSGNode * | previousSibling () const const |
void | removeAllChildNodes () |
void | removeChildNode (QSGNode *node) |
void | setFlag (Flag f, bool enabled) |
void | setFlags (Flags f, bool enabled) |
NodeType | type () const const |
Protected Attributes | |
float | dx1 { 0 } |
float | dx2 { 0 } |
float | dxa { 0 } |
float | dxb { 0 } |
float | dy1 { 0 } |
float | dy2 { 0 } |
float | dya { 0 } |
float | dyb { 0 } |
int | isize { 0 } |
float | psize { 0 } |
float | x1 { 0 } |
float | x2 { 0 } |
float | xa { 0 } |
float | xb { 0 } |
float | y1 { 0 } |
float | y2 { 0 } |
float | ya { 0 } |
float | yb { 0 } |
float | zoom { 0 } |
Additional Inherited Members | |
Public Types inherited from QSGNode | |
typedef | DirtyState |
enum | DirtyStateBit |
enum | Flag |
typedef | Flags |
enum | NodeType |
Public Attributes inherited from QSGNode | |
BasicNodeType | |
ClipNodeType | |
DirtyForceUpdate | |
DirtyGeometry | |
DirtyMaterial | |
DirtyMatrix | |
DirtyNodeAdded | |
DirtyNodeRemoved | |
DirtyOpacity | |
DirtyPropagationMask | |
DirtySubtreeBlocked | |
DirtyUsePreprocess | |
GeometryNodeType | |
InternalReserved | |
IsVisitableNode | |
OpacityNodeType | |
OwnedByParent | |
OwnsGeometry | |
OwnsMaterial | |
OwnsOpaqueMaterial | |
RenderNodeType | |
RootNodeType | |
TransformNodeType | |
UsePreprocess | |
Detailed Description
A base class for all symbol nodes.
Definition at line 18 of file dsosymbolnode.h.
Constructor & Destructor Documentation
◆ SymbolNode()
|
inlineprotected |
Definition at line 29 of file dsosymbolnode.h.
Member Function Documentation
◆ updateSymbol()
|
virtual |
Update size and the symbol itself.
Each SymbolNode should override this function, and call SymbolNode::updateSymbol() in the beginning of overridden updateSymbol to initialize values that are used across all symbols.
Definition at line 14 of file dsosymbolnode.cpp.
Member Data Documentation
◆ dx1
|
protected |
Definition at line 33 of file dsosymbolnode.h.
◆ dx2
|
protected |
Definition at line 34 of file dsosymbolnode.h.
◆ dxa
|
protected |
Definition at line 42 of file dsosymbolnode.h.
◆ dxb
|
protected |
Definition at line 43 of file dsosymbolnode.h.
◆ dy1
|
protected |
Definition at line 35 of file dsosymbolnode.h.
◆ dy2
|
protected |
Definition at line 36 of file dsosymbolnode.h.
◆ dya
|
protected |
Definition at line 44 of file dsosymbolnode.h.
◆ dyb
|
protected |
Definition at line 45 of file dsosymbolnode.h.
◆ isize
|
protected |
Definition at line 31 of file dsosymbolnode.h.
◆ psize
|
protected |
Definition at line 50 of file dsosymbolnode.h.
◆ x1
|
protected |
Definition at line 37 of file dsosymbolnode.h.
◆ x2
|
protected |
Definition at line 38 of file dsosymbolnode.h.
◆ xa
|
protected |
Definition at line 46 of file dsosymbolnode.h.
◆ xb
|
protected |
Definition at line 47 of file dsosymbolnode.h.
◆ y1
|
protected |
Definition at line 39 of file dsosymbolnode.h.
◆ y2
|
protected |
Definition at line 40 of file dsosymbolnode.h.
◆ ya
|
protected |
Definition at line 48 of file dsosymbolnode.h.
◆ yb
|
protected |
Definition at line 49 of file dsosymbolnode.h.
◆ zoom
|
protected |
Definition at line 30 of file dsosymbolnode.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.