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
QSGGeometry::TexturedPoint2D Class Reference

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

#include <qsggeometry.h>

+ Collaboration diagram for QSGGeometry::TexturedPoint2D:

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
 

Detailed Description

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.

Member Function Documentation

◆ set()

void QSGGeometry::TexturedPoint2D::set ( float nx,
float ny,
float ntx,
float nty )
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().

+ Here is the caller graph for this function:

Member Data Documentation

◆ tx

float QSGGeometry::TexturedPoint2D::tx

Definition at line 87 of file qsggeometry.h.

Referenced by QSGBasicInternalImageNode::updateGeometry().

◆ ty

float QSGGeometry::TexturedPoint2D::ty

Definition at line 87 of file qsggeometry.h.

Referenced by QSGBasicInternalImageNode::updateGeometry().

◆ x

float QSGGeometry::TexturedPoint2D::x

◆ y

float QSGGeometry::TexturedPoint2D::y

Definition at line 86 of file qsggeometry.h.

Referenced by QSGBasicInternalImageNode::updateGeometry().


The documentation for this class was generated from the following files: