crtanjeoop/crtanjeOOP/crtanjeOOP/saveline.h

26 lines
446 B
C
Raw Normal View History

2019-07-25 01:22:02 +02:00
#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