Click here to Skip to main content
15,894,540 members
Articles / Desktop Programming / MFC

Simple DXF Reader/Viewer with Spline Support

Rate me:
Please Sign up or sign in to vote.
5.00/5 (15 votes)
13 Sep 2013CPOL2 min read 80.1K   9K   27  
Simple DXF reader and viewer supporting the most common AutoCAD entities
// PolyLine.h: interface for the CPolyLine class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_POLYLINE_H__2845A691_54B0_40CE_9000_80D63B888975__INCLUDED_)
#define AFX_POLYLINE_H__2845A691_54B0_40CE_9000_80D63B888975__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CPolyLine  
{
public:
	UINT m_VertexCount,m_PolyLineFlag;
	double x[1024],y[1024];
	CString m_Layer;
	BYTE m_Select;
	BYTE m_Nest;

	CPolyLine();
	virtual ~CPolyLine();

};

#endif // !defined(AFX_POLYLINE_H__2845A691_54B0_40CE_9000_80D63B888975__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Turkey Turkey
I am an electronics engineer who loves to code on embedded, desktop and web application development.

Comments and Discussions