vdr  2.0.6
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 326 of file osd.h.

Constructor & Destructor Documentation

cSize::cSize ( void  )
inline

Definition at line 331 of file osd.h.

References height, and width.

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

Definition at line 332 of file osd.h.

References height, Height(), width, and Width().

cSize::cSize ( const cSize Size)
inline

Definition at line 333 of file osd.h.

References height, Height(), width, and Width().

Member Function Documentation

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

Definition at line 343 of file osd.h.

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

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

Definition at line 344 of file osd.h.

References height, and width.

Referenced by cRect::Grow(), and Grown().

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

Definition at line 345 of file osd.h.

References Grow().

int cSize::Height ( void  ) const
inline

Definition at line 338 of file osd.h.

References height.

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

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

Definition at line 335 of file osd.h.

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

Definition at line 336 of file osd.h.

References height, Height(), width, and Width().

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

Definition at line 334 of file osd.h.

References height, Height(), width, and Width().

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

Definition at line 341 of file osd.h.

References height, Height(), width, and Width().

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

void cSize::Set ( const cSize Size)
inline

Definition at line 342 of file osd.h.

References height, Height(), width, and Width().

void cSize::SetHeight ( int  Height)
inline

Definition at line 340 of file osd.h.

References height, and Height().

Referenced by cRect::SetHeight().

void cSize::SetWidth ( int  Width)
inline

Definition at line 339 of file osd.h.

References width, and Width().

Referenced by cRect::SetWidth().

int cSize::Width ( void  ) const
inline

Member Data Documentation

int cSize::height
private

Definition at line 329 of file osd.h.

Referenced by Contains(), cSize(), Grow(), Height(), operator<(), operator==(), Set(), and SetHeight().

int cSize::width
private

Definition at line 328 of file osd.h.

Referenced by Contains(), cSize(), Grow(), operator<(), operator==(), Set(), SetWidth(), and Width().


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