vdr  2.2.0
Public Member Functions | Private Attributes | List of all members
cSize Class Reference

#include <osd.h>

Public Member Functions

 cSize (void)
 
 cSize (int Width, int Height)
 
 cSize (const cSize &Size)
 
bool operator== (const cSize &Size) const
 
bool operator!= (const cSize &Size) const
 
bool operator< (const cSize &Size) const
 
int Width (void) const
 
int Height (void) const
 
void SetWidth (int Width)
 
void SetHeight (int Height)
 
void Set (int Width, int Height)
 
void Set (const cSize &Size)
 
bool Contains (const cPoint &Point) const
 
void Grow (int Dw, int Dh)
 
cSize Grown (int Dw, int Dh) const
 

Private Attributes

int width
 
int height
 

Detailed Description

Definition at line 330 of file osd.h.

Constructor & Destructor Documentation

cSize::cSize ( void  )
inline

Definition at line 335 of file osd.h.

cSize::cSize ( int  Width,
int  Height 
)
inline

Definition at line 336 of file osd.h.

cSize::cSize ( const cSize Size)
inline

Definition at line 337 of file osd.h.

References Height(), and Width().

Member Function Documentation

bool cSize::Contains ( const cPoint Point) const
inline

Definition at line 347 of file osd.h.

References cPoint::X(), and cPoint::Y().

void cSize::Grow ( int  Dw,
int  Dh 
)
inline

Definition at line 348 of file osd.h.

Referenced by Grown().

cSize cSize::Grown ( int  Dw,
int  Dh 
) const
inline

Definition at line 349 of file osd.h.

References Grow().

int cSize::Height ( void  ) const
inline

Definition at line 342 of file osd.h.

Referenced by cSize(), cRect::Height(), cImage::Height(), operator<(), operator==(), and Set().

bool cSize::operator!= ( const cSize Size) const
inline

Definition at line 339 of file osd.h.

bool cSize::operator< ( const cSize Size) const
inline

Definition at line 340 of file osd.h.

References Height(), and Width().

bool cSize::operator== ( const cSize Size) const
inline

Definition at line 338 of file osd.h.

References Height(), and Width().

void cSize::Set ( int  Width,
int  Height 
)
inline

Definition at line 345 of file osd.h.

Referenced by cRect::Set(), and cRect::SetSize().

void cSize::Set ( const cSize Size)
inline

Definition at line 346 of file osd.h.

References Height(), and Width().

void cSize::SetHeight ( int  Height)
inline

Definition at line 344 of file osd.h.

Referenced by cRect::SetHeight().

void cSize::SetWidth ( int  Width)
inline

Definition at line 343 of file osd.h.

Referenced by cRect::SetWidth().

int cSize::Width ( void  ) const
inline

Member Data Documentation

int cSize::height
private

Definition at line 333 of file osd.h.

int cSize::width
private

Definition at line 332 of file osd.h.


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