FLImaging 7.6.11.1
FLImaging::Base::TRect< T > Class Template Reference

Simplified class representing a rectangle. More...

#include <TRect.h>

Public Member Functions

 TRect ()
 Default constructor.
 TRect (const TRect< int8_t > &tr)
 Copy constructor.
 TRect (const TRect< int8_t > *pTr)
 Copy constructor.
 TRect (const TRect< uint8_t > &tr)
 Copy constructor.
 TRect (const TRect< uint8_t > *pTr)
 Copy constructor.
 TRect (const TRect< int16_t > &tr)
 Copy constructor.
 TRect (const TRect< int16_t > *pTr)
 Copy constructor.
 TRect (const TRect< uint16_t > &tr)
 Copy constructor.
 TRect (const TRect< uint16_t > *pTr)
 Copy constructor.
 TRect (const TRect< int32_t > &tr)
 Copy constructor.
 TRect (const TRect< int32_t > *pTr)
 Copy constructor.
 TRect (const TRect< uint32_t > &tr)
 Copy constructor.
 TRect (const TRect< uint32_t > *pTr)
 Copy constructor.
 TRect (const TRect< int64_t > &tr)
 Copy constructor.
 TRect (const TRect< int64_t > *pTr)
 Copy constructor.
 TRect (const TRect< uint64_t > &tr)
 Copy constructor.
 TRect (const TRect< uint64_t > *pTr)
 Copy constructor.
 TRect (const TRect< float > &tr)
 Copy constructor.
 TRect (const TRect< float > *pTr)
 Copy constructor.
 TRect (const TRect< double > &tr)
 Copy constructor.
 TRect (const TRect< double > *pTr)
 Copy constructor.
 TRect (int8_t left, int8_t top, int8_t right, int8_t bottom)
 Constructs a rectangle using the specified coordinates.
 TRect (uint8_t left, uint8_t top, uint8_t right, uint8_t bottom)
 Constructs a rectangle using the specified coordinates.
 TRect (int16_t left, int16_t top, int16_t right, int16_t bottom)
 Constructs a rectangle using the specified coordinates.
 TRect (uint16_t left, uint16_t top, uint16_t right, uint16_t bottom)
 Constructs a rectangle using the specified coordinates.
 TRect (int32_t left, int32_t top, int32_t right, int32_t bottom)
 Constructs a rectangle using the specified coordinates.
 TRect (uint32_t left, uint32_t top, uint32_t right, uint32_t bottom)
 Constructs a rectangle using the specified coordinates.
 TRect (int64_t left, int64_t top, int64_t right, int64_t bottom)
 Constructs a rectangle using the specified coordinates.
 TRect (uint64_t left, uint64_t top, uint64_t right, uint64_t bottom)
 Constructs a rectangle using the specified coordinates.
 TRect (float left, float top, float right, float bottom)
 Constructs a rectangle using the specified coordinates.
 TRect (double left, double top, double right, double bottom)
 Constructs a rectangle using the specified coordinates.
void Set (const TRect< int8_t > &tr)
 Sets the rectangle from another TRect object.
void Set (const TRect< int8_t > *pTr)
 Sets the rectangle from a TRect pointer.
void Set (const TRect< uint8_t > &tr)
 Sets the rectangle from another TRect object.
void Set (const TRect< uint8_t > *pTr)
 Sets the rectangle from a TRect pointer.
void Set (const TRect< int16_t > &tr)
 Sets the rectangle from another TRect object.
void Set (const TRect< int16_t > *pTr)
 Sets the rectangle from a TRect pointer.
void Set (const TRect< uint16_t > &tr)
 Sets the rectangle from another TRect object.
void Set (const TRect< uint16_t > *pTr)
 Sets the rectangle from a TRect pointer.
void Set (const TRect< int32_t > &tr)
 Sets the rectangle from another TRect object.
void Set (const TRect< int32_t > *pTr)
 Sets the rectangle from a TRect pointer.
void Set (const TRect< uint32_t > &tr)
 Sets the rectangle from another TRect object.
void Set (const TRect< uint32_t > *pTr)
 Sets the rectangle from a TRect pointer.
void Set (const TRect< int64_t > &tr)
 Sets the rectangle from another TRect object.
void Set (const TRect< int64_t > *pTr)
 Sets the rectangle from a TRect pointer.
void Set (const TRect< uint64_t > &tr)
 Sets the rectangle from another TRect object.
void Set (const TRect< uint64_t > *pTr)
 Sets the rectangle from a TRect pointer.
void Set (const TRect< float > &tr)
 Sets the rectangle from another TRect object.
void Set (const TRect< float > *pTr)
 Sets the rectangle from a TRect pointer.
void Set (const TRect< double > &tr)
 Sets the rectangle from another TRect object.
void Set (const TRect< double > *pTr)
 Sets the rectangle from a TRect pointer.
void Set (int8_t left, int8_t top, int8_t right, int8_t bottom)
 Sets the rectangle using the specified coordinates.
void Set (uint8_t left, uint8_t top, uint8_t right, uint8_t bottom)
 Sets the rectangle using the specified coordinates.
void Set (int16_t left, int16_t top, int16_t right, int16_t bottom)
 Sets the rectangle using the specified coordinates.
void Set (uint16_t left, uint16_t top, uint16_t right, uint16_t bottom)
 Sets the rectangle using the specified coordinates.
void Set (int32_t left, int32_t top, int32_t right, int32_t bottom)
 Sets the rectangle using the specified coordinates.
void Set (uint32_t left, uint32_t top, uint32_t right, uint32_t bottom)
 Sets the rectangle using the specified coordinates.
void Set (int64_t left, int64_t top, int64_t right, int64_t bottom)
 Sets the rectangle using the specified coordinates.
void Set (uint64_t left, uint64_t top, uint64_t right, uint64_t bottom)
 Sets the rectangle using the specified coordinates.
void Set (float left, float top, float right, float bottom)
 Sets the rectangle using the specified coordinates.
void Set (double left, double top, double right, double bottom)
 Sets the rectangle using the specified coordinates.
const TRect< T > & operator= (int32_t value)
 Assignment operator.
const TRect< T > & operator= (int64_t value)
 Assignment operator.
const TRect< T > & operator= (float value)
 Assignment operator.
const TRect< T > & operator= (double value)
 Assignment operator.
const TRect< T > & operator= (const TRect< int32_t > &tr)
 Assignment operator.
const TRect< T > & operator= (const TRect< int64_t > &tr)
 Assignment operator.
const TRect< T > & operator= (const TRect< float > &tr)
 Assignment operator.
const TRect< T > & operator= (const TRect< double > &tr)
 Assignment operator.
bool operator== (const TRect< int32_t > &tr)
 Equality operator.
bool operator== (const TRect< int64_t > &tr)
 Equality operator.
bool operator== (const TRect< float > &tr)
 Equality operator.
bool operator== (const TRect< double > &tr)
 Equality operator.
bool operator!= (const TRect< int32_t > &tr)
 Inequality operator.
bool operator!= (const TRect< int64_t > &tr)
 Inequality operator.
bool operator!= (const TRect< float > &tr)
 Inequality operator.
bool operator!= (const TRect< double > &tr)
 Inequality operator.
const TRect< T > & operator+= (int32_t value)
 Addition assignment operator.
const TRect< T > & operator+= (int64_t value)
 Addition assignment operator.
const TRect< T > & operator+= (float value)
 Addition assignment operator.
const TRect< T > & operator+= (double value)
 Addition assignment operator.
const TRect< T > & operator+= (const TRect< int32_t > &tr)
 Addition assignment operator.
const TRect< T > & operator+= (const TRect< int64_t > &tr)
 Addition assignment operator.
const TRect< T > & operator+= (const TRect< float > &tr)
 Addition assignment operator.
const TRect< T > & operator+= (const TRect< double > &tr)
 Addition assignment operator.
const TRect< T > & operator-= (int32_t value)
 Subtraction assignment operator.
const TRect< T > & operator-= (int64_t value)
 Subtraction assignment operator.
const TRect< T > & operator-= (float value)
 Subtraction assignment operator.
const TRect< T > & operator-= (double value)
 Subtraction assignment operator.
const TRect< T > & operator-= (const TRect< int32_t > &tr)
 Subtraction assignment operator.
const TRect< T > & operator-= (const TRect< int64_t > &tr)
 Subtraction assignment operator.
const TRect< T > & operator-= (const TRect< float > &tr)
 Subtraction assignment operator.
const TRect< T > & operator-= (const TRect< double > &tr)
 Subtraction assignment operator.
const TRect< T > & operator*= (int32_t value)
 Multiplication assignment operator.
const TRect< T > & operator*= (int64_t value)
 Multiplication assignment operator.
const TRect< T > & operator*= (float value)
 Multiplication assignment operator.
const TRect< T > & operator*= (double value)
 Multiplication assignment operator.
const TRect< T > & operator*= (const TRect< int32_t > &tr)
 Multiplication assignment operator.
const TRect< T > & operator*= (const TRect< int64_t > &tr)
 Multiplication assignment operator.
const TRect< T > & operator*= (const TRect< float > &tr)
 Multiplication assignment operator.
const TRect< T > & operator*= (const TRect< double > &tr)
 Multiplication assignment operator.
const TRect< T > & operator/= (int32_t value)
 Division assignment operator.
const TRect< T > & operator/= (int64_t value)
 Division assignment operator.
const TRect< T > & operator/= (float value)
 Division assignment operator.
const TRect< T > & operator/= (double value)
 Division assignment operator.
const TRect< T > & operator/= (const TRect< int32_t > &tr)
 Division assignment operator.
const TRect< T > & operator/= (const TRect< int64_t > &tr)
 Division assignment operator.
const TRect< T > & operator/= (const TRect< float > &tr)
 Division assignment operator.
const TRect< T > & operator/= (const TRect< double > &tr)
 Division assignment operator.
TRect< T > operator+ (int32_t value)
 Addition operator.
TRect< T > operator+ (int64_t value)
 Addition operator.
TRect< T > operator+ (float value)
 Addition operator.
TRect< T > operator+ (double value)
 Addition operator.
TRect< T > operator+ (const TRect< int32_t > &tr)
 Addition operator.
TRect< T > operator+ (const TRect< int64_t > &tr)
 Addition operator.
TRect< T > operator+ (const TRect< float > &tr)
 Addition operator.
TRect< T > operator+ (const TRect< double > &tr)
 Addition operator.
TRect< T > operator- (int32_t value)
 Subtraction operator.
TRect< T > operator- (int64_t value)
 Subtraction operator.
TRect< T > operator- (float value)
 Subtraction operator.
TRect< T > operator- (double value)
 Subtraction operator.
TRect< T > operator- (const TRect< int32_t > &tr)
 Subtraction operator.
TRect< T > operator- (const TRect< int64_t > &tr)
 Subtraction operator.
TRect< T > operator- (const TRect< float > &tr)
 Subtraction operator.
TRect< T > operator- (const TRect< double > &tr)
 Subtraction operator.
TRect< T > operator* (int32_t value)
 Multiplication operator.
TRect< T > operator* (int64_t value)
 Multiplication operator.
TRect< T > operator* (float value)
 Multiplication operator.
TRect< T > operator* (double value)
 Multiplication operator.
TRect< T > operator* (const TRect< int32_t > &tr)
 Multiplication operator.
TRect< T > operator* (const TRect< int64_t > &tr)
 Multiplication operator.
TRect< T > operator* (const TRect< float > &tr)
 Multiplication operator.
TRect< T > operator* (const TRect< double > &tr)
 Multiplication operator.
TRect< T > operator/ (int32_t value)
 Division operator.
TRect< T > operator/ (int64_t value)
 Division operator.
TRect< T > operator/ (float value)
 Division operator.
TRect< T > operator/ (double value)
 Division operator.
TRect< T > operator/ (const TRect< int32_t > &tr)
 Division operator.
TRect< T > operator/ (const TRect< int64_t > &tr)
 Division operator.
TRect< T > operator/ (const TRect< float > &tr)
 Division operator.
TRect< T > operator/ (const TRect< double > &tr)
 Division operator.

Public Attributes

left
top
right
bottom

Friends

TRect< T > operator+ (int32_t value, const TRect< T > &tr)
 Addition operator.
TRect< T > operator+ (int64_t value, const TRect< T > &tr)
 Addition operator.
TRect< T > operator+ (float value, const TRect< T > &tr)
 Addition operator.
TRect< T > operator+ (double value, const TRect< T > &tr)
 Addition operator.
TRect< T > operator- (int32_t value, const TRect< T > &tr)
 Subtraction operator.
TRect< T > operator- (int64_t value, const TRect< T > &tr)
 Subtraction operator.
TRect< T > operator- (float value, const TRect< T > &tr)
 Subtraction operator.
TRect< T > operator- (double value, const TRect< T > &tr)
 Subtraction operator.
TRect< T > operator* (int32_t value, const TRect< T > &tr)
 Multiplication operator.
TRect< T > operator* (int64_t value, const TRect< T > &tr)
 Multiplication operator.
TRect< T > operator* (float value, const TRect< T > &tr)
 Multiplication operator.
TRect< T > operator* (double value, const TRect< T > &tr)
 Multiplication operator.
TRect< T > operator/ (int32_t value, const TRect< T > &tr)
 Division operator.
TRect< T > operator/ (int64_t value, const TRect< T > &tr)
 Division operator.
TRect< T > operator/ (float value, const TRect< T > &tr)
 Division operator.
TRect< T > operator/ (double value, const TRect< T > &tr)
 Division operator.

Detailed Description

template<typename T>
class FLImaging::Base::TRect< T >

Simplified class representing a rectangle.

The default constructor does not initialize member variables for performance.

Constructor & Destructor Documentation

◆ TRect() [1/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< int8_t > & tr)
inline

Copy constructor.

Parameters
[in]trTRect object to copy.

◆ TRect() [2/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< int8_t > * pTr)
inline

Copy constructor.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ TRect() [3/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< uint8_t > & tr)
inline

Copy constructor.

Parameters
[in]trTRect object to copy.

◆ TRect() [4/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< uint8_t > * pTr)
inline

Copy constructor.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ TRect() [5/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< int16_t > & tr)
inline

Copy constructor.

Parameters
[in]trTRect object to copy.

◆ TRect() [6/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< int16_t > * pTr)
inline

Copy constructor.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ TRect() [7/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< uint16_t > & tr)
inline

Copy constructor.

Parameters
[in]trTRect object to copy.

◆ TRect() [8/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< uint16_t > * pTr)
inline

Copy constructor.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ TRect() [9/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< int32_t > & tr)
inline

Copy constructor.

Parameters
[in]trTRect object to copy.

◆ TRect() [10/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< int32_t > * pTr)
inline

Copy constructor.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ TRect() [11/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< uint32_t > & tr)
inline

Copy constructor.

Parameters
[in]trTRect object to copy.

◆ TRect() [12/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< uint32_t > * pTr)
inline

Copy constructor.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ TRect() [13/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< int64_t > & tr)
inline

Copy constructor.

Parameters
[in]trTRect object to copy.

◆ TRect() [14/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< int64_t > * pTr)
inline

Copy constructor.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ TRect() [15/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< uint64_t > & tr)
inline

Copy constructor.

Parameters
[in]trTRect object to copy.

◆ TRect() [16/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< uint64_t > * pTr)
inline

Copy constructor.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ TRect() [17/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< float > & tr)
inline

Copy constructor.

Parameters
[in]trTRect object to copy.

◆ TRect() [18/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< float > * pTr)
inline

Copy constructor.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ TRect() [19/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< double > & tr)
inline

Copy constructor.

Parameters
[in]trTRect object to copy.

◆ TRect() [20/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( const TRect< double > * pTr)
inline

Copy constructor.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ TRect() [21/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( int8_t left,
int8_t top,
int8_t right,
int8_t bottom )
inline

Constructs a rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ TRect() [22/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( uint8_t left,
uint8_t top,
uint8_t right,
uint8_t bottom )
inline

Constructs a rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ TRect() [23/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( int16_t left,
int16_t top,
int16_t right,
int16_t bottom )
inline

Constructs a rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ TRect() [24/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( uint16_t left,
uint16_t top,
uint16_t right,
uint16_t bottom )
inline

Constructs a rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ TRect() [25/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( int32_t left,
int32_t top,
int32_t right,
int32_t bottom )
inline

Constructs a rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ TRect() [26/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( uint32_t left,
uint32_t top,
uint32_t right,
uint32_t bottom )
inline

Constructs a rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ TRect() [27/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( int64_t left,
int64_t top,
int64_t right,
int64_t bottom )
inline

Constructs a rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ TRect() [28/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( uint64_t left,
uint64_t top,
uint64_t right,
uint64_t bottom )
inline

Constructs a rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ TRect() [29/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( float left,
float top,
float right,
float bottom )
inline

Constructs a rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ TRect() [30/30]

template<typename T>
FLImaging::Base::TRect< T >::TRect ( double left,
double top,
double right,
double bottom )
inline

Constructs a rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

Member Function Documentation

◆ operator!=() [1/4]

template<typename T>
bool FLImaging::Base::TRect< T >::operator!= ( const TRect< double > & tr)
inline

Inequality operator.

Parameters
[in]trRectangle to compare.
Return values
booltrue if the two rectangles are not equal, otherwise false.

◆ operator!=() [2/4]

template<typename T>
bool FLImaging::Base::TRect< T >::operator!= ( const TRect< float > & tr)
inline

Inequality operator.

Parameters
[in]trRectangle to compare.
Return values
booltrue if the two rectangles are not equal, otherwise false.

◆ operator!=() [3/4]

template<typename T>
bool FLImaging::Base::TRect< T >::operator!= ( const TRect< int32_t > & tr)
inline

Inequality operator.

Parameters
[in]trRectangle to compare.
Return values
booltrue if the two rectangles are not equal, otherwise false.

◆ operator!=() [4/4]

template<typename T>
bool FLImaging::Base::TRect< T >::operator!= ( const TRect< int64_t > & tr)
inline

Inequality operator.

Parameters
[in]trRectangle to compare.
Return values
booltrue if the two rectangles are not equal, otherwise false.

◆ operator*() [1/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator* ( const TRect< double > & tr)
inline

Multiplication operator.

Parameters
[in]trRectangle to multiply by.
Return values
TRect<T>Resulting rectangle.

◆ operator*() [2/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator* ( const TRect< float > & tr)
inline

Multiplication operator.

Parameters
[in]trRectangle to multiply by.
Return values
TRect<T>Resulting rectangle.

◆ operator*() [3/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator* ( const TRect< int32_t > & tr)
inline

Multiplication operator.

Parameters
[in]trRectangle to multiply by.
Return values
TRect<T>Resulting rectangle.

◆ operator*() [4/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator* ( const TRect< int64_t > & tr)
inline

Multiplication operator.

Parameters
[in]trRectangle to multiply by.
Return values
TRect<T>Resulting rectangle.

◆ operator*() [5/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator* ( double value)
inline

Multiplication operator.

Parameters
[in]valueValue to multiply by.
Return values
TRect<T>Resulting rectangle.

◆ operator*() [6/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator* ( float value)
inline

Multiplication operator.

Parameters
[in]valueValue to multiply by.
Return values
TRect<T>Resulting rectangle.

◆ operator*() [7/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator* ( int32_t value)
inline

Multiplication operator.

Parameters
[in]valueValue to multiply by.
Return values
TRect<T>Resulting rectangle.

◆ operator*() [8/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator* ( int64_t value)
inline

Multiplication operator.

Parameters
[in]valueValue to multiply by.
Return values
TRect<T>Resulting rectangle.

◆ operator*=() [1/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator*= ( const TRect< double > & tr)
inline

Multiplication assignment operator.

Parameters
[in]trRectangle to multiply by.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator*=() [2/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator*= ( const TRect< float > & tr)
inline

Multiplication assignment operator.

Parameters
[in]trRectangle to multiply by.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator*=() [3/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator*= ( const TRect< int32_t > & tr)
inline

Multiplication assignment operator.

Parameters
[in]trRectangle to multiply by.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator*=() [4/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator*= ( const TRect< int64_t > & tr)
inline

Multiplication assignment operator.

Parameters
[in]trRectangle to multiply by.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator*=() [5/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator*= ( double value)
inline

Multiplication assignment operator.

Parameters
[in]valueValue to multiply by.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator*=() [6/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator*= ( float value)
inline

Multiplication assignment operator.

Parameters
[in]valueValue to multiply by.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator*=() [7/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator*= ( int32_t value)
inline

Multiplication assignment operator.

Parameters
[in]valueValue to multiply by.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator*=() [8/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator*= ( int64_t value)
inline

Multiplication assignment operator.

Parameters
[in]valueValue to multiply by.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator+() [1/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator+ ( const TRect< double > & tr)
inline

Addition operator.

Parameters
[in]trRectangle to add.
Return values
TRect<T>Resulting rectangle.

◆ operator+() [2/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator+ ( const TRect< float > & tr)
inline

Addition operator.

Parameters
[in]trRectangle to add.
Return values
TRect<T>Resulting rectangle.

◆ operator+() [3/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator+ ( const TRect< int32_t > & tr)
inline

Addition operator.

Parameters
[in]trRectangle to add.
Return values
TRect<T>Resulting rectangle.

◆ operator+() [4/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator+ ( const TRect< int64_t > & tr)
inline

Addition operator.

Parameters
[in]trRectangle to add.
Return values
TRect<T>Resulting rectangle.

◆ operator+() [5/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator+ ( double value)
inline

Addition operator.

Parameters
[in]valueValue to add.
Return values
TRect<T>Resulting rectangle.

◆ operator+() [6/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator+ ( float value)
inline

Addition operator.

Parameters
[in]valueValue to add.
Return values
TRect<T>Resulting rectangle.

◆ operator+() [7/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator+ ( int32_t value)
inline

Addition operator.

Parameters
[in]valueValue to add.
Return values
TRect<T>Resulting rectangle.

◆ operator+() [8/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator+ ( int64_t value)
inline

Addition operator.

Parameters
[in]valueValue to add.
Return values
TRect<T>Resulting rectangle.

◆ operator+=() [1/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator+= ( const TRect< double > & tr)
inline

Addition assignment operator.

Parameters
[in]trRectangle to add.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator+=() [2/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator+= ( const TRect< float > & tr)
inline

Addition assignment operator.

Parameters
[in]trRectangle to add.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator+=() [3/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator+= ( const TRect< int32_t > & tr)
inline

Addition assignment operator.

Parameters
[in]trRectangle to add.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator+=() [4/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator+= ( const TRect< int64_t > & tr)
inline

Addition assignment operator.

Parameters
[in]trRectangle to add.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator+=() [5/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator+= ( double value)
inline

Addition assignment operator.

Parameters
[in]valueValue to add.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator+=() [6/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator+= ( float value)
inline

Addition assignment operator.

Parameters
[in]valueValue to add.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator+=() [7/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator+= ( int32_t value)
inline

Addition assignment operator.

Parameters
[in]valueValue to add.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator+=() [8/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator+= ( int64_t value)
inline

Addition assignment operator.

Parameters
[in]valueValue to add.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator-() [1/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator- ( const TRect< double > & tr)
inline

Subtraction operator.

Parameters
[in]trRectangle to subtract.
Return values
TRect<T>Resulting rectangle.

◆ operator-() [2/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator- ( const TRect< float > & tr)
inline

Subtraction operator.

Parameters
[in]trRectangle to subtract.
Return values
TRect<T>Resulting rectangle.

◆ operator-() [3/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator- ( const TRect< int32_t > & tr)
inline

Subtraction operator.

Parameters
[in]trRectangle to subtract.
Return values
TRect<T>Resulting rectangle.

◆ operator-() [4/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator- ( const TRect< int64_t > & tr)
inline

Subtraction operator.

Parameters
[in]trRectangle to subtract.
Return values
TRect<T>Resulting rectangle.

◆ operator-() [5/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator- ( double value)
inline

Subtraction operator.

Parameters
[in]valueValue to subtract.
Return values
TRect<T>Resulting rectangle.

◆ operator-() [6/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator- ( float value)
inline

Subtraction operator.

Parameters
[in]valueValue to subtract.
Return values
TRect<T>Resulting rectangle.

◆ operator-() [7/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator- ( int32_t value)
inline

Subtraction operator.

Parameters
[in]valueValue to subtract.
Return values
TRect<T>Resulting rectangle.

◆ operator-() [8/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator- ( int64_t value)
inline

Subtraction operator.

Parameters
[in]valueValue to subtract.
Return values
TRect<T>Resulting rectangle.

◆ operator-=() [1/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator-= ( const TRect< double > & tr)
inline

Subtraction assignment operator.

Parameters
[in]trRectangle to subtract.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator-=() [2/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator-= ( const TRect< float > & tr)
inline

Subtraction assignment operator.

Parameters
[in]trRectangle to subtract.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator-=() [3/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator-= ( const TRect< int32_t > & tr)
inline

Subtraction assignment operator.

Parameters
[in]trRectangle to subtract.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator-=() [4/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator-= ( const TRect< int64_t > & tr)
inline

Subtraction assignment operator.

Parameters
[in]trRectangle to subtract.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator-=() [5/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator-= ( double value)
inline

Subtraction assignment operator.

Parameters
[in]valueValue to subtract.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator-=() [6/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator-= ( float value)
inline

Subtraction assignment operator.

Parameters
[in]valueValue to subtract.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator-=() [7/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator-= ( int32_t value)
inline

Subtraction assignment operator.

Parameters
[in]valueValue to subtract.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator-=() [8/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator-= ( int64_t value)
inline

Subtraction assignment operator.

Parameters
[in]valueValue to subtract.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator/() [1/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator/ ( const TRect< double > & tr)
inline

Division operator.

Parameters
[in]trRectangle to divide by.
Return values
TRect<T>Resulting rectangle.

◆ operator/() [2/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator/ ( const TRect< float > & tr)
inline

Division operator.

Parameters
[in]trRectangle to divide by.
Return values
TRect<T>Resulting rectangle.

◆ operator/() [3/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator/ ( const TRect< int32_t > & tr)
inline

Division operator.

Parameters
[in]trRectangle to divide by.
Return values
TRect<T>Resulting rectangle.

◆ operator/() [4/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator/ ( const TRect< int64_t > & tr)
inline

Division operator.

Parameters
[in]trRectangle to divide by.
Return values
TRect<T>Resulting rectangle.

◆ operator/() [5/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator/ ( double value)
inline

Division operator.

Parameters
[in]valueValue to divide by.
Return values
TRect<T>Resulting rectangle.

◆ operator/() [6/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator/ ( float value)
inline

Division operator.

Parameters
[in]valueValue to divide by.
Return values
TRect<T>Resulting rectangle.

◆ operator/() [7/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator/ ( int32_t value)
inline

Division operator.

Parameters
[in]valueValue to divide by.
Return values
TRect<T>Resulting rectangle.

◆ operator/() [8/8]

template<typename T>
TRect< T > FLImaging::Base::TRect< T >::operator/ ( int64_t value)
inline

Division operator.

Parameters
[in]valueValue to divide by.
Return values
TRect<T>Resulting rectangle.

◆ operator/=() [1/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator/= ( const TRect< double > & tr)
inline

Division assignment operator.

Parameters
[in]trRectangle to divide by.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator/=() [2/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator/= ( const TRect< float > & tr)
inline

Division assignment operator.

Parameters
[in]trRectangle to divide by.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator/=() [3/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator/= ( const TRect< int32_t > & tr)
inline

Division assignment operator.

Parameters
[in]trRectangle to divide by.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator/=() [4/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator/= ( const TRect< int64_t > & tr)
inline

Division assignment operator.

Parameters
[in]trRectangle to divide by.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator/=() [5/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator/= ( double value)
inline

Division assignment operator.

Parameters
[in]valueValue to divide by.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator/=() [6/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator/= ( float value)
inline

Division assignment operator.

Parameters
[in]valueValue to divide by.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator/=() [7/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator/= ( int32_t value)
inline

Division assignment operator.

Parameters
[in]valueValue to divide by.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator/=() [8/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator/= ( int64_t value)
inline

Division assignment operator.

Parameters
[in]valueValue to divide by.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator=() [1/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator= ( const TRect< double > & tr)
inline

Assignment operator.

Parameters
[in]trRectangle to assign.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator=() [2/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator= ( const TRect< float > & tr)
inline

Assignment operator.

Parameters
[in]trRectangle to assign.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator=() [3/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator= ( const TRect< int32_t > & tr)
inline

Assignment operator.

Parameters
[in]trRectangle to assign.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator=() [4/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator= ( const TRect< int64_t > & tr)
inline

Assignment operator.

Parameters
[in]trRectangle to assign.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator=() [5/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator= ( double value)
inline

Assignment operator.

Parameters
[in]valueValue to assign.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator=() [6/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator= ( float value)
inline

Assignment operator.

Parameters
[in]valueValue to assign.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator=() [7/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator= ( int32_t value)
inline

Assignment operator.

Parameters
[in]valueValue to assign.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator=() [8/8]

template<typename T>
const TRect< T > & FLImaging::Base::TRect< T >::operator= ( int64_t value)
inline

Assignment operator.

Parameters
[in]valueValue to assign.
Return values
constTRect<T>& Reference to this rectangle.

◆ operator==() [1/4]

template<typename T>
bool FLImaging::Base::TRect< T >::operator== ( const TRect< double > & tr)
inline

Equality operator.

Parameters
[in]trRectangle to compare.
Return values
booltrue if the two rectangles are equal, otherwise false.

◆ operator==() [2/4]

template<typename T>
bool FLImaging::Base::TRect< T >::operator== ( const TRect< float > & tr)
inline

Equality operator.

Parameters
[in]trRectangle to compare.
Return values
booltrue if the two rectangles are equal, otherwise false.

◆ operator==() [3/4]

template<typename T>
bool FLImaging::Base::TRect< T >::operator== ( const TRect< int32_t > & tr)
inline

Equality operator.

Parameters
[in]trRectangle to compare.
Return values
booltrue if the two rectangles are equal, otherwise false.

◆ operator==() [4/4]

template<typename T>
bool FLImaging::Base::TRect< T >::operator== ( const TRect< int64_t > & tr)
inline

Equality operator.

Parameters
[in]trRectangle to compare.
Return values
booltrue if the two rectangles are equal, otherwise false.

◆ Set() [1/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< double > & tr)
inline

Sets the rectangle from another TRect object.

Parameters
[in]trSource rectangle.

◆ Set() [2/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< double > * pTr)
inline

Sets the rectangle from a TRect pointer.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ Set() [3/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< float > & tr)
inline

Sets the rectangle from another TRect object.

Parameters
[in]trSource rectangle.

◆ Set() [4/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< float > * pTr)
inline

Sets the rectangle from a TRect pointer.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ Set() [5/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< int16_t > & tr)
inline

Sets the rectangle from another TRect object.

Parameters
[in]trSource rectangle.

◆ Set() [6/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< int16_t > * pTr)
inline

Sets the rectangle from a TRect pointer.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ Set() [7/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< int32_t > & tr)
inline

Sets the rectangle from another TRect object.

Parameters
[in]trSource rectangle.

◆ Set() [8/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< int32_t > * pTr)
inline

Sets the rectangle from a TRect pointer.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ Set() [9/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< int64_t > & tr)
inline

Sets the rectangle from another TRect object.

Parameters
[in]trSource rectangle.

◆ Set() [10/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< int64_t > * pTr)
inline

Sets the rectangle from a TRect pointer.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ Set() [11/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< int8_t > & tr)
inline

Sets the rectangle from another TRect object.

Parameters
[in]trSource rectangle.

◆ Set() [12/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< int8_t > * pTr)
inline

Sets the rectangle from a TRect pointer.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ Set() [13/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< uint16_t > & tr)
inline

Sets the rectangle from another TRect object.

Parameters
[in]trSource rectangle.

◆ Set() [14/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< uint16_t > * pTr)
inline

Sets the rectangle from a TRect pointer.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ Set() [15/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< uint32_t > & tr)
inline

Sets the rectangle from another TRect object.

Parameters
[in]trSource rectangle.

◆ Set() [16/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< uint32_t > * pTr)
inline

Sets the rectangle from a TRect pointer.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ Set() [17/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< uint64_t > & tr)
inline

Sets the rectangle from another TRect object.

Parameters
[in]trSource rectangle.

◆ Set() [18/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< uint64_t > * pTr)
inline

Sets the rectangle from a TRect pointer.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ Set() [19/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< uint8_t > & tr)
inline

Sets the rectangle from another TRect object.

Parameters
[in]trSource rectangle.

◆ Set() [20/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( const TRect< uint8_t > * pTr)
inline

Sets the rectangle from a TRect pointer.

Parameters
[in]pTrPointer to the TRect object to copy.

◆ Set() [21/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( double left,
double top,
double right,
double bottom )
inline

Sets the rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ Set() [22/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( float left,
float top,
float right,
float bottom )
inline

Sets the rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ Set() [23/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( int16_t left,
int16_t top,
int16_t right,
int16_t bottom )
inline

Sets the rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ Set() [24/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( int32_t left,
int32_t top,
int32_t right,
int32_t bottom )
inline

Sets the rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ Set() [25/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( int64_t left,
int64_t top,
int64_t right,
int64_t bottom )
inline

Sets the rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ Set() [26/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( int8_t left,
int8_t top,
int8_t right,
int8_t bottom )
inline

Sets the rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ Set() [27/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( uint16_t left,
uint16_t top,
uint16_t right,
uint16_t bottom )
inline

Sets the rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ Set() [28/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( uint32_t left,
uint32_t top,
uint32_t right,
uint32_t bottom )
inline

Sets the rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ Set() [29/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( uint64_t left,
uint64_t top,
uint64_t right,
uint64_t bottom )
inline

Sets the rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ Set() [30/30]

template<typename T>
void FLImaging::Base::TRect< T >::Set ( uint8_t left,
uint8_t top,
uint8_t right,
uint8_t bottom )
inline

Sets the rectangle using the specified coordinates.

Parameters
[in]leftLeft coordinate.
[in]topTop coordinate.
[in]rightRight coordinate.
[in]bottomBottom coordinate.

◆ operator* [1/4]

template<typename T>
TRect< T > operator* ( double value,
const TRect< T > & tr )
friend

Multiplication operator.

Parameters
[in]valueValue to multiply by.
[in]trRectangle to multiply.
Return values
TRect<T>Resulting rectangle.

◆ operator* [2/4]

template<typename T>
TRect< T > operator* ( float value,
const TRect< T > & tr )
friend

Multiplication operator.

Parameters
[in]valueValue to multiply by.
[in]trRectangle to multiply.
Return values
TRect<T>Resulting rectangle.

◆ operator* [3/4]

template<typename T>
TRect< T > operator* ( int32_t value,
const TRect< T > & tr )
friend

Multiplication operator.

Parameters
[in]valueValue to multiply by.
[in]trRectangle to multiply.
Return values
TRect<T>Resulting rectangle.

◆ operator* [4/4]

template<typename T>
TRect< T > operator* ( int64_t value,
const TRect< T > & tr )
friend

Multiplication operator.

Parameters
[in]valueValue to multiply by.
[in]trRectangle to multiply.
Return values
TRect<T>Resulting rectangle.

◆ operator+ [1/4]

template<typename T>
TRect< T > operator+ ( double value,
const TRect< T > & tr )
friend

Addition operator.

Parameters
[in]valueValue to add.
[in]trRectangle to add the value to.
Return values
TRect<T>Resulting rectangle.

◆ operator+ [2/4]

template<typename T>
TRect< T > operator+ ( float value,
const TRect< T > & tr )
friend

Addition operator.

Parameters
[in]valueValue to add.
[in]trRectangle to add the value to.
Return values
TRect<T>Resulting rectangle.

◆ operator+ [3/4]

template<typename T>
TRect< T > operator+ ( int32_t value,
const TRect< T > & tr )
friend

Addition operator.

Parameters
[in]valueValue to add.
[in]trRectangle to add the value to.
Return values
TRect<T>Resulting rectangle.

◆ operator+ [4/4]

template<typename T>
TRect< T > operator+ ( int64_t value,
const TRect< T > & tr )
friend

Addition operator.

Parameters
[in]valueValue to add.
[in]trRectangle to add the value to.
Return values
TRect<T>Resulting rectangle.

◆ operator- [1/4]

template<typename T>
TRect< T > operator- ( double value,
const TRect< T > & tr )
friend

Subtraction operator.

Parameters
[in]valueValue to subtract from.
[in]trRectangle to subtract.
Return values
TRect<T>Resulting rectangle.

◆ operator- [2/4]

template<typename T>
TRect< T > operator- ( float value,
const TRect< T > & tr )
friend

Subtraction operator.

Parameters
[in]valueValue to subtract from.
[in]trRectangle to subtract.
Return values
TRect<T>Resulting rectangle.

◆ operator- [3/4]

template<typename T>
TRect< T > operator- ( int32_t value,
const TRect< T > & tr )
friend

Subtraction operator.

Parameters
[in]valueValue to subtract from.
[in]trRectangle to subtract.
Return values
TRect<T>Resulting rectangle.

◆ operator- [4/4]

template<typename T>
TRect< T > operator- ( int64_t value,
const TRect< T > & tr )
friend

Subtraction operator.

Parameters
[in]valueValue to subtract from.
[in]trRectangle to subtract.
Return values
TRect<T>Resulting rectangle.

◆ operator/ [1/4]

template<typename T>
TRect< T > operator/ ( double value,
const TRect< T > & tr )
friend

Division operator.

Parameters
[in]valueDividend value.
[in]trDivisor rectangle.
Return values
TRect<T>Resulting rectangle.

◆ operator/ [2/4]

template<typename T>
TRect< T > operator/ ( float value,
const TRect< T > & tr )
friend

Division operator.

Parameters
[in]valueDividend value.
[in]trDivisor rectangle.
Return values
TRect<T>Resulting rectangle.

◆ operator/ [3/4]

template<typename T>
TRect< T > operator/ ( int32_t value,
const TRect< T > & tr )
friend

Division operator.

Parameters
[in]valueDividend value.
[in]trDivisor rectangle.
Return values
TRect<T>Resulting rectangle.

◆ operator/ [4/4]

template<typename T>
TRect< T > operator/ ( int64_t value,
const TRect< T > & tr )
friend

Division operator.

Parameters
[in]valueDividend value.
[in]trDivisor rectangle.
Return values
TRect<T>Resulting rectangle.

Member Data Documentation

◆ bottom

template<typename T>
T FLImaging::Base::TRect< T >::bottom

the bottom coordinate of the rectangle

◆ left

template<typename T>
T FLImaging::Base::TRect< T >::left

the left coordinate of the rectangle

◆ right

template<typename T>
T FLImaging::Base::TRect< T >::right

the right coordinate of the rectangle

◆ top

template<typename T>
T FLImaging::Base::TRect< T >::top

the top coordinate of the rectangle