TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::IntRect Struct Reference

#include <gui_core/gui_base_types.h>

Classes

union  [union].__unnamed0__

Public Member Functions

bool Contains (int2 p) const
int32_t Min (int axis) const
int32_t Max (int axis) const
int2 Min () const
int2 Max () const
int2 Center () const
int2 TopLeft () const
int2 TopCenter () const
int2 TopRight () const
int2 MiddleLeft () const
int2 MiddleRight () const
int2 BottomLeft () const
int2 BottomCenter () const
int2 BottomRight () const
bool operator== (const IntRect &other) const
bool operator!= (const IntRect &other) const
IntRect operator+ (const int2 &other) const
IntRect operator- (const int2 &other) const
IntRect & operator+= (const int2 &other)
IntRect & operator-= (const int2 &other)
IntRect Inflate (int32_t t, int32_t r, int32_t b, int32_t l) const
IntRect Inflate (int32_t n) const
IntRect Deflate (int32_t t, int32_t r, int32_t b, int32_t l) const
IntRect Deflate (int32_t n) const
IntRect Intersection (IntRect b) const
IntRect Union (IntRect b) const
bool IsEmpty () const
IntRect Transform (const float3x2 &m) const
 The axis-aligned bounding rect of this rect transformed by m.
IntRect Transform (int2 offset, const float3x2 &m) const
IntRect Transform (IntRect parentRect, const float3x2 &m) const

Static Public Member Functions

static IntRect Inflate (IntRect a, int32_t t, int32_t r, int32_t b, int32_t l)
static IntRect Inflate (IntRect a, int32_t n)
static IntRect Deflate (IntRect a, int32_t t, int32_t r, int32_t b, int32_t l)
static IntRect Deflate (IntRect a, int32_t n)
static IntRect Intersection (IntRect a, IntRect b)
static IntRect Union (IntRect a, IntRect b)

Public Attributes

union  

Member Function Documentation

◆ Contains()

bool tachyon::IntRect::Contains ( int2 p) const
inline

◆ Min() [1/2]

int32_t tachyon::IntRect::Min ( int axis) const
inline

◆ Max() [1/2]

int32_t tachyon::IntRect::Max ( int axis) const
inline

◆ Min() [2/2]

int2 tachyon::IntRect::Min ( ) const
inline

◆ Max() [2/2]

int2 tachyon::IntRect::Max ( ) const
inline

◆ Center()

int2 tachyon::IntRect::Center ( ) const
inline

◆ TopLeft()

int2 tachyon::IntRect::TopLeft ( ) const
inline

◆ TopCenter()

int2 tachyon::IntRect::TopCenter ( ) const
inline

◆ TopRight()

int2 tachyon::IntRect::TopRight ( ) const
inline

◆ MiddleLeft()

int2 tachyon::IntRect::MiddleLeft ( ) const
inline

◆ MiddleRight()

int2 tachyon::IntRect::MiddleRight ( ) const
inline

◆ BottomLeft()

int2 tachyon::IntRect::BottomLeft ( ) const
inline

◆ BottomCenter()

int2 tachyon::IntRect::BottomCenter ( ) const
inline

◆ BottomRight()

int2 tachyon::IntRect::BottomRight ( ) const
inline

◆ operator==()

bool tachyon::IntRect::operator== ( const IntRect & other) const
inline

◆ operator!=()

bool tachyon::IntRect::operator!= ( const IntRect & other) const
inline

◆ operator+()

IntRect tachyon::IntRect::operator+ ( const int2 & other) const
inline

◆ operator-()

IntRect tachyon::IntRect::operator- ( const int2 & other) const
inline

◆ operator+=()

IntRect & tachyon::IntRect::operator+= ( const int2 & other)
inline

◆ operator-=()

IntRect & tachyon::IntRect::operator-= ( const int2 & other)
inline

◆ Inflate() [1/4]

IntRect tachyon::IntRect::Inflate ( IntRect a,
int32_t t,
int32_t r,
int32_t b,
int32_t l )
static

◆ Inflate() [2/4]

IntRect tachyon::IntRect::Inflate ( int32_t t,
int32_t r,
int32_t b,
int32_t l ) const
inline

◆ Inflate() [3/4]

IntRect tachyon::IntRect::Inflate ( IntRect a,
int32_t n )
static

◆ Inflate() [4/4]

IntRect tachyon::IntRect::Inflate ( int32_t n) const
inline

◆ Deflate() [1/4]

IntRect tachyon::IntRect::Deflate ( IntRect a,
int32_t t,
int32_t r,
int32_t b,
int32_t l )
static

◆ Deflate() [2/4]

IntRect tachyon::IntRect::Deflate ( int32_t t,
int32_t r,
int32_t b,
int32_t l ) const
inline

◆ Deflate() [3/4]

IntRect tachyon::IntRect::Deflate ( IntRect a,
int32_t n )
static

◆ Deflate() [4/4]

IntRect tachyon::IntRect::Deflate ( int32_t n) const
inline

◆ Intersection() [1/2]

IntRect tachyon::IntRect::Intersection ( IntRect a,
IntRect b )
static

◆ Intersection() [2/2]

IntRect tachyon::IntRect::Intersection ( IntRect b) const
inline

◆ Union() [1/2]

IntRect tachyon::IntRect::Union ( IntRect a,
IntRect b )
static

◆ Union() [2/2]

IntRect tachyon::IntRect::Union ( IntRect b) const
inline

◆ IsEmpty()

bool tachyon::IntRect::IsEmpty ( ) const
inline

◆ Transform() [1/3]

IntRect tachyon::IntRect::Transform ( const float3x2 & m) const

The axis-aligned bounding rect of this rect transformed by m.

◆ Transform() [2/3]

IntRect tachyon::IntRect::Transform ( int2 offset,
const float3x2 & m ) const

◆ Transform() [3/3]

IntRect tachyon::IntRect::Transform ( IntRect parentRect,
const float3x2 & m ) const

Member Data Documentation

◆ @170045010341244200023000211341227000272257256117


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