RectNode
RectNode Class Reference
#include <rectnode.h>
Inheritance diagram for RectNode:
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
QSGGeometryNode derived class that draws filled and non-filled rectangles.
- Version
- 1.0
Definition at line 21 of file rectnode.h.
Constructor & Destructor Documentation
◆ RectNode()
|
explicit |
Definition at line 11 of file rectnode.cpp.
Member Function Documentation
◆ setColor()
setColor sets the color of rectangle
Definition at line 35 of file rectnode.cpp.
◆ setFilled()
void RectNode::setFilled | ( | bool | filled | ) |
setFilled sets whether the rectangle should be filled or no
- Parameters
-
filled true to be filled, false otherwise
Definition at line 44 of file rectnode.cpp.
◆ setRect()
void RectNode::setRect | ( | int | x, |
int | y, | ||
int | w, | ||
int | h ) |
setRect sets rectangle to display
- Parameters
-
x - x coordinate of left-top corner y - y coordinate of left-top corner w - width h - height
Definition at line 25 of file rectnode.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:05 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:05 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.