openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
eSize Class Reference

#include <esize.h>

Public Member Functions

 eSize ()
 
 eSize (int w, int h)
 
bool isNull () const
 
bool isEmpty () const
 
bool isValid () const
 
int width () const
 
int height () const
 
void setWidth (int w)
 
void setHeight (int h)
 
void transpose ()
 
eSize expandedTo (const eSize &) const
 
eSize boundedTo (const eSize &) const
 
int & rwidth ()
 
int & rheight ()
 
eSizeoperator+= (const eSize &)
 
eSizeoperator-= (const eSize &)
 
eSizeoperator*= (int c)
 
eSizeoperator*= (double c)
 
eSizeoperator/= (int c)
 
eSizeoperator/= (double c)
 

Friends

bool operator== (const eSize &, const eSize &)
 
bool operator!= (const eSize &, const eSize &)
 
eSize operator+ (const eSize &, const eSize &)
 
eSize operator- (const eSize &, const eSize &)
 
eSize operator* (const eSize &, int)
 
eSize operator* (int, const eSize &)
 
eSize operator* (const eSize &, double)
 
eSize operator* (double, const eSize &)
 
eSize operator/ (const eSize &, int)
 
eSize operator/ (const eSize &, double)
 

Constructor & Destructor Documentation

◆ eSize() [1/2]

eSize::eSize ( )
inline

◆ eSize() [2/2]

eSize::eSize ( int  w,
int  h 
)
inline

Member Function Documentation

◆ boundedTo()

eSize eSize::boundedTo ( const eSize otherSize) const
inline

◆ expandedTo()

eSize eSize::expandedTo ( const eSize otherSize) const
inline

◆ height()

int eSize::height ( ) const
inline

◆ isEmpty()

bool eSize::isEmpty ( ) const
inline

◆ isNull()

bool eSize::isNull ( ) const
inline

◆ isValid()

bool eSize::isValid ( ) const
inline

◆ operator*=() [1/2]

eSize & eSize::operator*= ( double  c)
inline

◆ operator*=() [2/2]

eSize & eSize::operator*= ( int  c)
inline

◆ operator+=()

eSize & eSize::operator+= ( const eSize s)
inline

◆ operator-=()

eSize & eSize::operator-= ( const eSize s)
inline

◆ operator/=() [1/2]

eSize & eSize::operator/= ( double  c)
inline

◆ operator/=() [2/2]

eSize & eSize::operator/= ( int  c)
inline

◆ rheight()

int & eSize::rheight ( )
inline

◆ rwidth()

int & eSize::rwidth ( )
inline

◆ setHeight()

void eSize::setHeight ( int  h)
inline

◆ setWidth()

void eSize::setWidth ( int  w)
inline

◆ transpose()

void eSize::transpose ( )
inline

◆ width()

int eSize::width ( ) const
inline

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const eSize s1,
const eSize s2 
)
friend

◆ operator* [1/4]

eSize operator* ( const eSize s,
double  c 
)
friend

◆ operator* [2/4]

eSize operator* ( const eSize s,
int  c 
)
friend

◆ operator* [3/4]

eSize operator* ( double  c,
const eSize s 
)
friend

◆ operator* [4/4]

eSize operator* ( int  c,
const eSize s 
)
friend

◆ operator+

eSize operator+ ( const eSize s1,
const eSize s2 
)
friend

◆ operator-

eSize operator- ( const eSize s1,
const eSize s2 
)
friend

◆ operator/ [1/2]

eSize operator/ ( const eSize s,
double  c 
)
friend

◆ operator/ [2/2]

eSize operator/ ( const eSize s,
int  c 
)
friend

◆ operator==

bool operator== ( const eSize s1,
const eSize s2 
)
friend

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