| 
    CeresEngine 0.2.0
    
   A game development framework 
   | 
 
A structure that contains width and height values. More...
#include <CeresEngine/Math/Rect.hpp>
Public Member Functions | |
| TSize2 ()=default | |
| TSize2 (T width, T height) | |
| TSize2 (const TVector2< T > &vec) | |
| operator TVector2< T > () const | |
| TSize2 | transform (const TMatrix3< T > &matrix) const | 
| Transforms the size by the given matrix.   | |
Public Attributes | |
| T | width = 0.0 | 
| A width value.   | |
| T | height = 0.0 | 
| A height value.   | |
Friends | |
| bool | operator== (const TSize2 &lhs, const TSize2 &rhs) | 
| bool | operator!= (const TSize2 &lhs, const TSize2 &rhs) | 
| TSize2 | operator+ (const TSize2 &lhs, const TSize2 &rhs) | 
| TSize2 | operator+ (const TSize2 &lhs, T rhs) | 
| TSize2 | operator- (const TSize2 &lhs, const TSize2 &rhs) | 
| TSize2 | operator- (const TSize2 &lhs, T rhs) | 
| TSize2 | operator* (const TSize2 &lhs, T rhs) | 
| TSize2 | operator/ (const TSize2 &lhs, T rhs) | 
A structure that contains width and height values.
      
  | 
  default | 
      
  | 
  inline | 
      
  | 
  inlineexplicit | 
      
  | 
  inlineexplicit | 
| TSize2 Math::TSize2< T >::transform | ( | const TMatrix3< T > & | matrix | ) | const | 
Transforms the size by the given matrix.
Resulting value is an scaled size.
| T Math::TSize2< T >::height = 0.0 | 
A height value.
| T Math::TSize2< T >::width = 0.0 | 
A width value.