|
|
|
|
|
#pragma once
|
|
|
|
|
|
#include "XyDC.h"
|
|
|
|
|
|
#include "IDcDraw.h"
|
|
|
|
|
|
|
|
|
|
|
|
class CDcDraw: public IDcDraw
|
|
|
|
|
|
{
|
|
|
|
|
|
public:
|
|
|
|
|
|
CDcDraw(CXyDC* pXyDC);
|
|
|
|
|
|
virtual ~CDcDraw();
|
|
|
|
|
|
void Create(CXyDC* pXyDC);
|
|
|
|
|
|
|
|
|
|
|
|
void InitDC() { ; }
|
|
|
|
|
|
void ReleaseDC() { ; }
|
|
|
|
|
|
|
|
|
|
|
|
void Draw(CText& text, CCurveEx* pCurveRect = NULL); //<2F><>pCurveRect<63><74>Ϊ<EFBFBD><CEAA>ʱ<EFBFBD><CAB1>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>Ϊ<EFBFBD>˻<EFBFBD><CBBB><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE>Χ
|
|
|
|
|
|
void Draw(CText& text, COLORREF color);
|
|
|
|
|
|
void Draw(CMText& mtext);
|
|
|
|
|
|
|
|
|
|
|
|
void Draw(CEllipse &elp, COLORREF Color);
|
|
|
|
|
|
void Draw(CCircle &circle, COLORREF Color);
|
|
|
|
|
|
void Draw(CInsertDraw& m_insert);
|
|
|
|
|
|
void Draw(CXyDC* pNewXyDC, CInsertDraw& m_insert);
|
|
|
|
|
|
void Draw(CInsertOld& m_insert);
|
|
|
|
|
|
void Draw(CXyDC* pInsertXyDC, CInsertOld& m_insert);
|
|
|
|
|
|
void Draw(CSection& section, CRect8* rect = NULL);
|
|
|
|
|
|
void Draw(CImageInsert& image);
|
|
|
|
|
|
void Draw(CMesh &mesh);
|
|
|
|
|
|
void Draw(CMetaFile& mf);
|
|
|
|
|
|
void Draw(CColorRuler& ruler, CColorBase& color);
|
|
|
|
|
|
void Draw(CPathFill& path, COLORREF fillColor, void* HowToViewCurve);
|
|
|
|
|
|
void Draw(C3DFaultageSurface& fs, COLORREF fillColor, void* HowToViewCurve);
|
|
|
|
|
|
|
|
|
|
|
|
void Draw(CProportion& proportion, COLORREF color);
|
|
|
|
|
|
|
|
|
|
|
|
void Draw(CCurveEx &curve, double l1, double l2);
|
|
|
|
|
|
void Draw(CCurveEx& m_curve);
|
|
|
|
|
|
void Draw(CCurveEx& curve, void* HowToViewCurve);
|
|
|
|
|
|
void Draw(CCurveEx& curve, COLORREF color, BOOL bSmoothHead = TRUE);
|
|
|
|
|
|
|
|
|
|
|
|
void Draw(CCurveRect& rt, void* HowToViewCurve);
|
|
|
|
|
|
void Draw(CCurveRect& curve, COLORREF color);
|
|
|
|
|
|
|
|
|
|
|
|
void Draw(CPointNameEx& point, void* HowToViewPoint);
|
|
|
|
|
|
void Draw(CPointCrossName& point, void* HowToViewPoint);
|
|
|
|
|
|
void Draw(CPointTwoName& point, void* HowToViewPoint);
|
|
|
|
|
|
|
|
|
|
|
|
void Draw(CInsertDrawRect& idr);//-
|
|
|
|
|
|
void Draw(CArc& arc, void* HowToViewCurve);//-
|
|
|
|
|
|
void Draw(CArc& arc, COLORREF color);//-
|
|
|
|
|
|
void Draw(CFrame& frame, COLORREF color);
|
|
|
|
|
|
void Draw(CNet& net, COLORREF colText, COLORREF colLine);
|
|
|
|
|
|
void Draw(CGridding& grid, COLORREF colText, COLORREF colLine);
|
|
|
|
|
|
void Draw(COtherDraw& od, void* HowToViewCurve);
|
|
|
|
|
|
void Draw(COtherDraw& od, COLORREF color);
|
|
|
|
|
|
void Draw(COleObject& ole);
|
|
|
|
|
|
void Draw(CTree& tree);
|
|
|
|
|
|
void Draw(CStation& cs);
|
|
|
|
|
|
void Draw(CCurveTV5& tv, void* HowToViewCurve);
|
|
|
|
|
|
void Draw(CScaleRuler& sr, COLORREF color);
|
|
|
|
|
|
void Draw(CRectLabel& rl, COLORREF color, void* HowToViewCurve);
|
|
|
|
|
|
|
|
|
|
|
|
void DrawArray(CMxn& mxn, COLORREF colFront, COLORREF colBack); //ǰ<><C7B0>ɫ<EFBFBD>뱳<EFBFBD><EBB1B3>ɫ
|
|
|
|
|
|
void Draw(CMxn& mxn, COLORREF colFront, COLORREF colBack);
|
|
|
|
|
|
void DrawGrid(CMxn& mxn);
|
|
|
|
|
|
|
|
|
|
|
|
void Draw(CHorizontalWell &horizontalwell, void* HowToViewCurve);
|
|
|
|
|
|
void Draw(CWellGroup &wellGroup);
|
|
|
|
|
|
|
|
|
|
|
|
void PolyLine(CPointList& dp);
|
|
|
|
|
|
void PaintRgn(LPPOINT sp, int count);
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|