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

cPoint::cPoint ( void )
inline

Definition at line 311 of file osd.h.

References x, and y.

Referenced by cPoint(), operator!=(), operator-(), operator-(), operator==(), Set(), Shift(), Shifted(), and Shifted().

◆ cPoint() [2/3]

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

Definition at line 312 of file osd.h.

References X(), x, Y(), and y.

◆ cPoint() [3/3]

cPoint::cPoint ( const cPoint & Point)
inline

Definition at line 313 of file osd.h.

References cPoint(), X(), x, Y(), and y.

Member Function Documentation

◆ operator!=()

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

Definition at line 315 of file osd.h.

References cPoint().

◆ operator-() [1/2]

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

Definition at line 317 of file osd.h.

References cPoint(), X(), x, Y(), and y.

◆ operator-() [2/2]

cPoint cPoint::operator- ( void ) const
inline

Definition at line 316 of file osd.h.

References cPoint(), x, and y.

◆ operator==()

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

Definition at line 314 of file osd.h.

References cPoint(), X(), x, Y(), and y.

◆ Set() [1/2]

void cPoint::Set ( const cPoint & Point)
inline

Definition at line 323 of file osd.h.

References cPoint(), X(), x, Y(), and y.

◆ Set() [2/2]

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

Definition at line 322 of file osd.h.

References X(), x, Y(), and y.

Referenced by cTrueColorDemo::Action().

◆ SetX()

void cPoint::SetX ( int X)
inline

Definition at line 320 of file osd.h.

References X(), and x.

Referenced by cPixmap::DrawPixmap().

◆ SetY()

void cPoint::SetY ( int Y)
inline

Definition at line 321 of file osd.h.

References Y(), and y.

Referenced by cTrueColorDemo::Action().

◆ Shift() [1/2]

void cPoint::Shift ( const cPoint & Dp)
inline

Definition at line 325 of file osd.h.

References cPoint(), X(), x, Y(), and y.

◆ Shift() [2/2]

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

Definition at line 324 of file osd.h.

References x, and y.

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

◆ Shifted() [1/2]

cPoint cPoint::Shifted ( const cPoint & Dp) const
inline

Definition at line 327 of file osd.h.

References cPoint(), and Shift().

◆ Shifted() [2/2]

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

◆ X()

◆ Y()

Member Data Documentation

◆ x

int cPoint::x
private

Definition at line 308 of file osd.h.

Referenced by cPoint(), cPoint(), cPoint(), operator-(), operator-(), operator==(), Set(), Set(), SetX(), Shift(), Shift(), and X().

◆ y

int cPoint::y
private

Definition at line 309 of file osd.h.

Referenced by cPoint(), cPoint(), cPoint(), operator-(), operator-(), operator==(), Set(), Set(), SetY(), Shift(), Shift(), and Y().


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