sptk2 logo
SPTK Home Page
Public Member Functions | Public Attributes | List of all members
sptk::CShapePoint Class Reference

A point to define a shape. More...

#include <CShapePoint.h>

Public Member Functions

 CShapePoint (COORD _x=0, COORD _y=0)
 Default constructor. More...
 
 CShapePoint (const CShapePoint &p)
 Copy constructor. More...
 

Public Attributes

COORD x
 
COORD y
 

Detailed Description

A point to define a shape.

Constructor & Destructor Documentation

◆ CShapePoint() [1/2]

sptk::CShapePoint::CShapePoint ( COORD  _x = 0,
COORD  _y = 0 
)
inline

Default constructor.

Parameters
_xCOORD, X-coordinate
_yCOORD, Y-coordinate

◆ CShapePoint() [2/2]

sptk::CShapePoint::CShapePoint ( const CShapePoint p)
inline

Copy constructor.

Parameters
pconst CPoint&, point to copy from

Member Data Documentation

◆ x

COORD sptk::CShapePoint::x

X-coordinate

◆ y

COORD sptk::CShapePoint::y

Y-coordinate


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

Fri Oct 14 2022 09:58:39: SPTK 5.4.1