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

#include <osd.h>

Public Member Functions

 cPoint (void)
 
 cPoint (int X, int Y)
 
 cPoint (const cPoint &Point)
 
bool operator== (const cPoint &Point) const
 
bool operator!= (const cPoint &Point) const
 
cPoint operator- (void) const
 
cPoint operator- (const cPoint &Point) const
 
int X (void) const
 
int Y (void) const
 
void SetX (int X)
 
void SetY (int Y)
 
void Set (int X, int Y)
 
void Set (const cPoint &Point)
 
void Shift (int Dx, int Dy)
 
void Shift (const cPoint &Dp)
 
cPoint Shifted (int Dx, int Dy) const
 
cPoint Shifted (const cPoint &Dp) const
 

Private Attributes

int x
 
int y
 

Detailed Description

Definition at line 306 of file osd.h.

Constructor & Destructor Documentation

cPoint::cPoint ( void  )
inline

Definition at line 311 of file osd.h.

cPoint::cPoint ( int  X,
int  Y 
)
inline

Definition at line 312 of file osd.h.

cPoint::cPoint ( const cPoint Point)
inline

Definition at line 313 of file osd.h.

References X(), and Y().

Member Function Documentation

bool cPoint::operator!= ( const cPoint Point) const
inline

Definition at line 315 of file osd.h.

cPoint cPoint::operator- ( void  ) const
inline

Definition at line 316 of file osd.h.

cPoint cPoint::operator- ( const cPoint Point) const
inline

Definition at line 317 of file osd.h.

References X(), and Y().

bool cPoint::operator== ( const cPoint Point) const
inline

Definition at line 314 of file osd.h.

References X(), and Y().

void cPoint::Set ( int  X,
int  Y 
)
inline

Definition at line 322 of file osd.h.

Referenced by cTrueColorDemo::Action(), cRect::Set(), and cRect::SetPoint().

void cPoint::Set ( const cPoint Point)
inline

Definition at line 323 of file osd.h.

References X(), and Y().

void cPoint::SetX ( int  X)
inline

Definition at line 320 of file osd.h.

Referenced by cPixmap::DrawPixmap(), and cRect::SetX().

void cPoint::SetY ( int  Y)
inline

Definition at line 321 of file osd.h.

Referenced by cTrueColorDemo::Action(), and cRect::SetY().

void cPoint::Shift ( int  Dx,
int  Dy 
)
inline

Definition at line 324 of file osd.h.

Referenced by cPixmap::DrawPixmap(), cRect::Shift(), and Shifted().

void cPoint::Shift ( const cPoint Dp)
inline

Definition at line 325 of file osd.h.

References X(), and Y().

cPoint cPoint::Shifted ( int  Dx,
int  Dy 
) const
inline
cPoint cPoint::Shifted ( const cPoint Dp) const
inline

Definition at line 327 of file osd.h.

References Shift().

int cPoint::X ( void  ) const
inline
int cPoint::Y ( void  ) const
inline

Member Data Documentation

int cPoint::x
private

Definition at line 308 of file osd.h.

int cPoint::y
private

Definition at line 309 of file osd.h.


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