vdr 2.7.6
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() [1/3]

cSize::cSize ( void )
inline

Definition at line 335 of file osd.h.

References height, and width.

Referenced by cSize(), Grown(), operator!=(), operator<(), operator==(), and Set().

◆ cSize() [2/3]

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

Definition at line 336 of file osd.h.

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

◆ cSize() [3/3]

cSize::cSize ( const cSize & Size)
inline

Definition at line 337 of file osd.h.

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

Member Function Documentation

◆ Contains()

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

Definition at line 347 of file osd.h.

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

◆ Grow()

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

Definition at line 348 of file osd.h.

References height, and width.

Referenced by Grown().

◆ Grown()

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

Definition at line 349 of file osd.h.

References cSize(), and Grow().

◆ Height()

int cSize::Height ( void ) const
inline

Definition at line 342 of file osd.h.

References height.

Referenced by cSize(), cSize(), DrawImages(), operator<(), operator==(), Set(), Set(), and SetHeight().

◆ operator!=()

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

Definition at line 339 of file osd.h.

References cSize().

◆ operator<()

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

Definition at line 340 of file osd.h.

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

◆ operator==()

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

Definition at line 338 of file osd.h.

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

◆ Set() [1/2]

void cSize::Set ( const cSize & Size)
inline

Definition at line 346 of file osd.h.

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

◆ Set() [2/2]

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

Definition at line 345 of file osd.h.

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

Referenced by DrawImages().

◆ SetHeight()

void cSize::SetHeight ( int Height)
inline

Definition at line 344 of file osd.h.

References Height(), and height.

◆ SetWidth()

void cSize::SetWidth ( int Width)
inline

Definition at line 343 of file osd.h.

References Width(), and width.

◆ Width()

int cSize::Width ( void ) const
inline

Definition at line 341 of file osd.h.

References width.

Referenced by cSize(), cSize(), cPixmapMemory::DrawImage(), DrawImages(), operator<(), operator==(), Set(), Set(), and SetWidth().

Member Data Documentation

◆ height

int cSize::height
private

Definition at line 333 of file osd.h.

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

◆ width

int cSize::width
private

Definition at line 332 of file osd.h.

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


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