26 lines
446 B
C
26 lines
446 B
C
|
#if _MSC_VER > 1000
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
#ifndef _SAVELINE_H_008F089E_22D5_436f_A8BF_1F425CA40F38
|
||
|
#define _SAVELINE_H_008F089E_22D5_436f_A8BF_1F425CA40F38
|
||
|
|
||
|
namespace Win
|
||
|
{
|
||
|
class CSaveLine
|
||
|
{
|
||
|
public:
|
||
|
CSaveLine() : m_counter(0), m_pts(),
|
||
|
m_hpen(CreatePen(PS_SOLID, 1, RGB(0,0,0))) {}
|
||
|
|
||
|
void SavePoint(POINTS);
|
||
|
void DrawLines(HDC);
|
||
|
|
||
|
private:
|
||
|
int m_counter;
|
||
|
POINTS m_pts[10000];
|
||
|
HPEN m_hpen;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
#endif
|