Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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 211 of file qsgbatchrenderer_p.h.

Member Function Documentation

◆ intersects()

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

Definition at line 243 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 249 of file qsgbatchrenderer_p.h.

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

◆ map()

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

Definition at line 641 of file qsgbatchrenderer.cpp.

References br, operator|=(), tl, QSGBatchRenderer::Pt::x, and QSGBatchRenderer::Pt::y.

Here is the call graph for this function:

◆ operator|=() [1/2]

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

Definition at line 214 of file qsgbatchrenderer_p.h.

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

Referenced by QSGBatchRenderer::Element::computeBounds(), and map().

Here is the caller graph for this function:

◆ operator|=() [2/2]

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

Definition at line 225 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 238 of file qsgbatchrenderer_p.h.

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

Here is the call graph for this function:

Member Data Documentation

◆ br

◆ tl


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