TexturedPoint2D Class

(QSGGeometry::TexturedPoint2D)

The QSGGeometry::TexturedPoint2D struct is a convenience struct for accessing 2D Points with texture coordinates. More...

Header: #include <TexturedPoint2D>
qmake: QT += quick

Public Functions

void set(float x, float y, float tx, float ty)

Detailed Description

The QSGGeometry::TexturedPoint2D struct is a convenience struct for accessing 2D Points with texture coordinates.

Member Function Documentation

void TexturedPoint2D::​set(float x, float y, float tx, float ty)

Sets the position of the vertex to x and y and the texture coordinate to tx and ty.

© 2015 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.