Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquickshapegenericrenderer.cpp File Reference
#include "qquickshapegenericrenderer_p.h"
#include <QtGui/private/qtriangulator_p.h>
#include <QtGui/private/qtriangulatingstroker_p.h>
#include <rhi/qrhi.h>
#include <QSGVertexColorMaterial>
#include "moc_qquickshapegenericrenderer_p.cpp"
+ Include dependency graph for qquickshapegenericrenderer.cpp:

Go to the source code of this file.

Classes

struct  ColoredVertex
 

Functions

static QQuickShapeGenericRenderer::Color4ub colorToColor4ub (const QColor &c)
 

Function Documentation

◆ colorToColor4ub()

static QQuickShapeGenericRenderer::Color4ub colorToColor4ub ( const QColor c)
inlinestatic

Definition at line 26 of file qquickshapegenericrenderer.cpp.

References qRound().

Referenced by QQuickShapeGenericRenderer::setFillColor(), QQuickShapeGenericRenderer::setStrokeColor(), and QSGBasicInternalRectangleNode::updateGeometry().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: