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>.
|
The QSGGeometry::TexturedPoint2D struct is a convenience struct for accessing 2D Points with texture coordinates. More...
#include <qsggeometry.h>
Public Member Functions | |
void | set (float nx, float ny, float ntx, float nty) |
Sets the position of the vertex to x and y and the texture coordinate to tx and ty. | |
Public Attributes | |
float | x |
float | y |
float | tx |
float | ty |
The QSGGeometry::TexturedPoint2D struct is a convenience struct for accessing 2D Points with texture coordinates.
\inmodule QtQuick
Definition at line 85 of file qsggeometry.h.
|
inline |
Sets the position of the vertex to x and y and the texture coordinate to tx and ty.
Definition at line 88 of file qsggeometry.h.
Referenced by QQuickNinePatchNode::initialize(), QSGNinePatchNode::rebuildGeometry(), and QSGDistanceFieldGlyphNode::updateGeometry().
float QSGGeometry::TexturedPoint2D::tx |
Definition at line 87 of file qsggeometry.h.
Referenced by QSGBasicInternalImageNode::updateGeometry().
float QSGGeometry::TexturedPoint2D::ty |
Definition at line 87 of file qsggeometry.h.
Referenced by QSGBasicInternalImageNode::updateGeometry().
float QSGGeometry::TexturedPoint2D::x |
Definition at line 86 of file qsggeometry.h.
Referenced by QSGBasicInternalImageNode::updateGeometry(), and QSGGeometry::updateTexturedRectGeometry().
float QSGGeometry::TexturedPoint2D::y |
Definition at line 86 of file qsggeometry.h.
Referenced by QSGBasicInternalImageNode::updateGeometry().