Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qsgsimpletexturenode.cpp File Reference
#include "qsgsimpletexturenode.h"
#include <private/qsgnode_p.h>
+ Include dependency graph for qsgsimpletexturenode.cpp:

Go to the source code of this file.

Classes

class  QSGSimpleTextureNodePrivate
 

Functions

static void qsgsimpletexturenode_update (QSGGeometry *g, QSGTexture *texture, const QRectF &rect, QRectF sourceRect, QSGSimpleTextureNode::TextureCoordinatesTransformMode texCoordMode)
 

Function Documentation

◆ qsgsimpletexturenode_update()

static void qsgsimpletexturenode_update ( QSGGeometry g,
QSGTexture texture,
const QRectF rect,
QRectF  sourceRect,
QSGSimpleTextureNode::TextureCoordinatesTransformMode  texCoordMode 
)
static

Definition at line 25 of file qsgsimpletexturenode.cpp.

References QRectF::bottom(), QRectF::height(), QSize::height(), QRectF::left(), QSGSimpleTextureNode::MirrorHorizontally, QSGSimpleTextureNode::MirrorVertically, rect, QRectF::right(), QRectF::setBottom(), QRectF::setLeft(), QRectF::setRight(), QRectF::setTop(), QRectF::top(), QSGGeometry::updateTexturedRectGeometry(), QRectF::width(), and QSize::width().

Referenced by QSGSimpleTextureNode::setRect(), QSGSimpleTextureNode::setSourceRect(), QSGSimpleTextureNode::setTexture(), and QSGSimpleTextureNode::setTextureCoordinatesTransform().

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