Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QSGDistanceFieldGlyphCache::TexCoord Struct Reference

#include <qsgadaptationlayer_p.h>

+ Collaboration diagram for QSGDistanceFieldGlyphCache::TexCoord:

Public Member Functions

 TexCoord ()
 
bool isNull () const
 
bool isValid () const
 

Public Attributes

qreal x = 0
 
qreal y = 0
 
qreal width = -1
 
qreal height = -1
 
qreal xMargin = 0
 
qreal yMargin = 0
 

Detailed Description

Definition at line 426 of file qsgadaptationlayer_p.h.

Constructor & Destructor Documentation

◆ TexCoord()

QSGDistanceFieldGlyphCache::TexCoord::TexCoord ( )
inline

Definition at line 434 of file qsgadaptationlayer_p.h.

Member Function Documentation

◆ isNull()

bool QSGDistanceFieldGlyphCache::TexCoord::isNull ( ) const
inline

Definition at line 436 of file qsgadaptationlayer_p.h.

Referenced by QSGDistanceFieldGlyphCache::release(), and QSGDistanceFieldGlyphCache::setGlyphsPosition().

+ Here is the caller graph for this function:

◆ isValid()

bool QSGDistanceFieldGlyphCache::TexCoord::isValid ( ) const
inline

Definition at line 437 of file qsgadaptationlayer_p.h.

Referenced by QSGDistanceFieldGlyphCache::containsGlyph(), and QSGDistanceFieldGlyphCache::populate().

+ Here is the caller graph for this function:

Member Data Documentation

◆ height

qreal QSGDistanceFieldGlyphCache::TexCoord::height = -1

◆ width

qreal QSGDistanceFieldGlyphCache::TexCoord::width = -1

◆ x

qreal QSGDistanceFieldGlyphCache::TexCoord::x = 0

◆ xMargin

qreal QSGDistanceFieldGlyphCache::TexCoord::xMargin = 0

◆ y

qreal QSGDistanceFieldGlyphCache::TexCoord::y = 0

◆ yMargin

qreal QSGDistanceFieldGlyphCache::TexCoord::yMargin = 0

The documentation for this struct was generated from the following file: