PPL7-Icon Patrick's Programming Library Version 7.0.0 - Dokumentation
ppl7::grafix::Size Klassenreferenz

Repräsentiert Breite und Höhe eines beliebigen Objekts in einem zweidimensionalen Koordinatensystem.

Öffentliche Methoden

 Size ()
 
 Size (int width, int height)
 
 Size (const Size &other)
 
bool isEmpty () const
 
bool isNull () const
 
bool isValid () const
 
Sizeoperator*= (double factor)
 
Sizeoperator+= (const Size &size)
 
Sizeoperator-= (const Size &size)
 
Sizeoperator/= (double divisor)
 
void setHeight (int height)
 
void setSize (int width, int height)
 
void setSize (const Size &s)
 
void setWidth (int width)
 

Öffentliche Attribute

int height
 
int width
 

Beschreibung der Konstruktoren und Destruktoren

ppl7::grafix::Size::Size ( )
ppl7::grafix::Size::Size ( int  width,
int  height 
)
ppl7::grafix::Size::Size ( const Size other)

Dokumentation der Elementfunktionen

bool ppl7::grafix::Size::isEmpty ( ) const
bool ppl7::grafix::Size::isNull ( ) const
bool ppl7::grafix::Size::isValid ( ) const
Size & ppl7::grafix::Size::operator*= ( double  factor)
Size & ppl7::grafix::Size::operator+= ( const Size size)
Size & ppl7::grafix::Size::operator-= ( const Size size)
Size & ppl7::grafix::Size::operator/= ( double  divisor)
void ppl7::grafix::Size::setHeight ( int  height)
void ppl7::grafix::Size::setSize ( int  width,
int  height 
)
void ppl7::grafix::Size::setSize ( const Size s)
void ppl7::grafix::Size::setWidth ( int  width)

Dokumentation der Datenelemente

int ppl7::grafix::Size::height
int ppl7::grafix::Size::width

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: