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
qsgsimpletexturenode.cpp File Reference

(45baa640b934977737300876e80e36012a08c5b2)

#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: