• 大小: 486KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-07
  • 语言: 其他
  • 标签: vc开发GIS  

资源简介

在VC的开发环境下完美实现二维GIS图形的编辑功能

资源截图

代码片段和文件信息

#include “StdAfx.h“
#include “.\arc.h“
#include “math.h“
extern void DPtoVP(double xdouble yint *Xint *Y);
extern int DLtoVL(double l);
//extern CGraphPara *p_GraphPara;
#define pi 3.1415926
CArc::CArc(void)
{
}
CArc::CArc(COLORREF ColorPenCOLORREF ColorBrushshort LineWide
short LineTypeshort layerint id_onlyBOOL Deletedouble CircleX
double CircleYdouble CircleRBOOL bFilldouble Angle1double Angle2)
:CCircle(ColorPenColorBrushLineWideLineTypelayerid_onlyDeleteCircleX
CircleYCircleRbFill)
{
m_Angle1=Angle1;
m_Angle2=Angle2;
}
CArc::~CArc(void)
{
}

//三点造弧线
void CArc::Draw(CDC *pDCint m_DrawModeint m_DrawMode1COLORREF BackColor)
{
if(b_Delete) //如果已经处于删除状态
return;
//float minxminymaxxmaxy;
//GetRect(&minx&miny&ma

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       7051  2005-06-27 09:15  DrawShape\DrawShape.vcproj

     文件        696  2005-07-01 09:43  DrawShape\PlineRgn.h

     文件    1371136  2005-07-01 16:54  DrawShape\DrawShape.ncb

     文件       3792  2005-05-31 08:09  DrawShape\ReadMe.txt

     文件        484  2005-05-31 08:09  DrawShape\DrawShape.h

     文件       3261  2005-05-31 08:09  DrawShape\DrawShape.cpp

     文件       1476  2005-05-31 08:15  DrawShape\stdafx.h

     文件        138  2005-05-31 08:09  DrawShape\stdafx.cpp

     文件        630  2005-05-31 08:09  DrawShape\MainFrm.h

     文件       1809  2005-05-31 08:09  DrawShape\MainFrm.cpp

     文件        483  2005-05-31 08:09  DrawShape\ChildFrm.h

     文件        889  2005-05-31 08:09  DrawShape\ChildFrm.cpp

     文件       4349  2005-07-01 09:41  DrawShape\DrawShapeDoc.h

     文件      15530  2005-07-01 09:53  DrawShape\DrawShapeDoc.cpp

     文件       4258  2005-07-01 16:36  DrawShape\DrawShapeView.h

     文件      30477  2005-07-01 16:49  DrawShape\DrawShapeView.cpp

     文件       5050  2005-07-01 09:37  DrawShape\Text.cpp

     文件        896  2005-07-01 09:43  DrawShape\Text.h

     文件       1443  2005-06-03 16:43  DrawShape\DrawShape.sln

    ..A..H.     30720  2005-07-01 16:54  DrawShape\DrawShape.suo

     文件       1628  2005-06-17 21:14  DrawShape\LineDlg.cpp

     文件        620  2005-06-17 21:14  DrawShape\LineDlg.h

     文件       1999  2005-06-17 08:57  DrawShape\TextDlg.cpp

     文件        690  2005-06-17 08:54  DrawShape\TextDlg.h

     文件       2591  2005-06-13 10:12  DrawShape\PointTypeDlg.cpp

     文件      52033  2003-04-07 21:03  DrawShape\dbfopen.c

     文件       2889  2005-07-01 09:24  DrawShape\Draw.h

     文件       3633  2005-07-01 09:24  DrawShape\Draw.cpp

     文件        680  2005-06-13 10:12  DrawShape\PointTypeDlg.h

     文件       2072  2005-06-17 21:03  DrawShape\RignDlg.cpp

............此处省略50个文件信息

评论

共有 条评论

相关资源