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
QSGBatchRenderer::Rect Struct Reference

#include <qsgbatchrenderer_p.h>

+ Collaboration diagram for QSGBatchRenderer::Rect:

Public Member Functions

void operator|= (const Pt &pt)
 
void operator|= (const Rect &r)
 
void map (const QMatrix4x4 &m)
 
void set (float left, float top, float right, float bottom)
 
bool intersects (const Rect &r)
 
bool isOutsideFloatRange () const
 

Public Attributes

Pt tl
 
Pt br
 

Detailed Description

Definition at line 210 of file qsgbatchrenderer_p.h.

Member Function Documentation

◆ intersects()

bool QSGBatchRenderer::Rect::intersects ( const Rect & r)
inline

Definition at line 242 of file qsgbatchrenderer_p.h.

References br, tl, QSGBatchRenderer::Pt::x, and QSGBatchRenderer::Pt::y.

◆ isOutsideFloatRange()

bool QSGBatchRenderer::Rect::isOutsideFloatRange ( ) const
inline

Definition at line 248 of file qsgbatchrenderer_p.h.

References br, QSG_RENDERER_COORD_LIMIT, tl, QSGBatchRenderer::Pt::x, and QSGBatchRenderer::Pt::y.

Referenced by QSGBatchRenderer::Element::computeBounds().

+ Here is the caller graph for this function:

◆ map()

void QSGBatchRenderer::Rect::map ( const QMatrix4x4 & m)

Definition at line 629 of file qsgbatchrenderer.cpp.

References br, QSGBatchRenderer::isScale(), QSGBatchRenderer::Pt::map(), qSwap(), set, tl, QSGBatchRenderer::Pt::x, and QSGBatchRenderer::Pt::y.

Referenced by QSGBatchRenderer::Element::computeBounds().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator|=() [1/2]

void QSGBatchRenderer::Rect::operator|= ( const Pt & pt)
inline

Definition at line 213 of file qsgbatchrenderer_p.h.

References br, tl, QSGBatchRenderer::Pt::x, and QSGBatchRenderer::Pt::y.

◆ operator|=() [2/2]

void QSGBatchRenderer::Rect::operator|= ( const Rect & r)
inline

Definition at line 224 of file qsgbatchrenderer_p.h.

References br, tl, QSGBatchRenderer::Pt::x, and QSGBatchRenderer::Pt::y.

◆ set()

void QSGBatchRenderer::Rect::set ( float left,
float top,
float right,
float bottom )
inline

Definition at line 237 of file qsgbatchrenderer_p.h.

References br, QSGBatchRenderer::Pt::set(), and tl.

Referenced by QSGBatchRenderer::Element::computeBounds().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ br

Pt QSGBatchRenderer::Rect::br

◆ tl

Pt QSGBatchRenderer::Rect::tl

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