Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickshapegenericrenderer.cpp File Reference

(31d652d73b20f43b492ba8c306f932ca6fc3a0c1)

#include "qquickshapegenericrenderer_p.h"
#include <QtGui/private/qtriangulator_p.h>
#include <QtGui/private/qtriangulatingstroker_p.h>
#include <rhi/qrhi.h>
#include <QSGVertexColorMaterial>
#include <QtQuick/private/qsggradientcache_p.h>
#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 28 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: