home     download     screen shots     bugs     mailing list     example output     generated MFC docs     help     tools and utilities


 Overview   Project   Class   Tree   Index 
MFC Class Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

MFC
Class CPoint

tagPOINT
   |
   +--CPoint

   in AFXWIN.H

class CPoint
extends tagPOINT

CPoint - A 2-D point, similar to Windows POINT structure.


Constructor Summary
CPoint( int initX, int initY )
          
CPoint( POINT initPt )
          
CPoint( SIZE initSize )
          
CPoint( DWORD dwPoint )
          
CPoint()
          
 
Method Summary
 void Offset( POINT point )
          
 void Offset( SIZE size )
          
 void Offset( int xOffset, int yOffset )
          
 BOOL operator!=( POINT point ) const
          
 CRect operator+( const RECT* lpRect ) const
          
 CPoint operator+( SIZE size ) const
          
 CPoint operator+( POINT point ) const
          
 void operator+=( SIZE size )
          
 void operator+=( POINT point )
          
 CPoint operator-( SIZE size ) const
          
 CPoint operator-() const
          
 CRect operator-( const RECT* lpRect ) const
          
 CSize operator-( POINT point ) const
          
 void operator-=( SIZE size )
          
 void operator-=( POINT point )
          
 BOOL operator==( POINT point ) const
          
 

Constructor Detail

CPoint

public CPoint( int initX, int initY );

CPoint

public CPoint( POINT initPt );

CPoint

public CPoint( SIZE initSize );

CPoint

public CPoint( DWORD dwPoint );

CPoint

public CPoint();


Method Detail

Offset

public void Offset( POINT point );

Offset

public void Offset( SIZE size );

Offset

public void Offset( int xOffset, int yOffset );

operator!=

public BOOL operator!=( POINT point ) const;

operator+

public CRect operator+( const RECT* lpRect ) const;

operator+

public CPoint operator+( SIZE size ) const;

operator+

public CPoint operator+( POINT point ) const;

operator+=

public void operator+=( SIZE size );

operator+=

public void operator+=( POINT point );

operator-

public CPoint operator-( SIZE size ) const;

operator-

public CPoint operator-() const;

operator-

public CRect operator-( const RECT* lpRect ) const;

operator-

public CSize operator-( POINT point ) const;

operator-=

public void operator-=( SIZE size );

operator-=

public void operator-=( POINT point );

operator==

public BOOL operator==( POINT point ) const;

 Overview   Project   Class   Tree   Index 
MFC Class Library
CppDoc v2.3.1
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD