SymbolNode

Search for usage in LXR

#include <dsosymbolnode.h>

Inheritance diagram for SymbolNode:

Public Member Functions

virtual void updateSymbol (float x, float y, float e, float size)
 
- Public Member Functions inherited from QSGNode
void appendChildNode (QSGNode *node)
 
QSGNodechildAtIndex (int i) const const
 
int childCount () const const
 
QSGNodefirstChild () const const
 
QSGNode::Flags flags () const const
 
void insertChildNodeAfter (QSGNode *node, QSGNode *after)
 
void insertChildNodeBefore (QSGNode *node, QSGNode *before)
 
virtual bool isSubtreeBlocked () const const
 
QSGNodelastChild () const const
 
void markDirty (QSGNode::DirtyState bits)
 
QSGNodenextSibling () const const
 
QSGNodeparent () const const
 
void prependChildNode (QSGNode *node)
 
virtual void preprocess ()
 
QSGNodepreviousSibling () const const
 
void removeAllChildNodes ()
 
void removeChildNode (QSGNode *node)
 
void setFlag (QSGNode::Flag f, bool enabled)
 
void setFlags (QSGNode::Flags f, bool enabled)
 
QSGNode::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
enum  DirtyStateBit
 
enum  Flag
 
enum  NodeType
 
- Public Attributes inherited from QSGNode
 BasicNodeType
 
 ClipNodeType
 
 DirtyForceUpdate
 
 DirtyGeometry
 
 DirtyMaterial
 
 DirtyMatrix
 
 DirtyNodeAdded
 
 DirtyNodeRemoved
 
 DirtyOpacity
 
 DirtyPropagationMask
 
typedef DirtyState
 
 DirtySubtreeBlocked
 
 DirtyUsePreprocess
 
typedef Flags
 
 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.

Member Function Documentation

◆ updateSymbol()

void SymbolNode::updateSymbol ( float  x,
float  y,
float  e,
float  size 
)
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.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:01:02 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.