You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.2 KiB
C++
47 lines
1.2 KiB
C++
//////////////////////////////////////////////////////////////////////////////
|
|
//Îļþ UmapDC.cpp
|
|
//Ö÷Òª¹¦ÄÜ:
|
|
//
|
|
//³ÌÐò±àд: 2005-12-07
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
#include "formatdc.h"
|
|
#include "../Section.h"
|
|
#include "../Mesh.h"
|
|
|
|
namespace NFormatWriter
|
|
{
|
|
|
|
class AFX_EXT_CLASS CUmapDC :
|
|
public CFormatDC
|
|
{
|
|
public:
|
|
CUmapDC(void);
|
|
virtual ~CUmapDC(void);
|
|
|
|
void InitialRange(CRect8& rectXY, CString strProjection, void* pExchange);
|
|
|
|
virtual void Initial(void) {}
|
|
virtual int OutFront(void) { return 0; }
|
|
virtual int OutEnd(void) { return 0; }
|
|
|
|
virtual void Draw(CInsertOld& m_insert);
|
|
virtual void Draw(CInsertDraw& m_insert);
|
|
virtual void SetPixel(double x, double y, COLORREF col);
|
|
virtual void Draw(CText& text, CCurveEx& curve);
|
|
virtual void Draw(CSection& section,CRect8* rect=NULL);
|
|
//virtual void LineTo(double x, double y);
|
|
virtual void Ellipse(double x1, double y1, double x2, double y2);
|
|
virtual void PaintRgn(CCurveEx& curve);
|
|
virtual void Draw(CMesh &mesh);
|
|
virtual void Draw(CImageInsert& image);
|
|
virtual void FillSolidRect(CRect8& rect, COLORREF color);
|
|
virtual void PolyLine(CPointList& dp);
|
|
|
|
void WriteXY(double x, double y);
|
|
void Y_FLAG(double& y);
|
|
};
|
|
|
|
};
|