Location:
Search - mold mapping
Search list
Description: 画图
2.计算计算一组几何图形的面积之和重新写一个函数,类似于sum函数
3.在Shape中添加一个纯虚函数void Draw(CDC *pDC, Coordinate *m_pCoordinate) 它将作为所有几何类绘图的共同方法。
4.添加一个坐标系类:Coordinate。
5.在Polygon中重载void Draw(CDC *pDC)
6.在Ellipse中重载void draw(CDC *pDC)
7.在View类中的OnDraw(CDC *pDC)中将图形画出来
8.调用void draw(CDC *pDC, Shape *a[], int n)实现多个几何图形的绘制-Paint 2. Calculation of calculating a set of geometric shapes of the area and re-write a function, similar to sum function 3. In Shape Add a pure virtual function void Draw (CDC* pDC, Coordinate* m_pCoordinate) it will serve as all the geometric types of graphics common methodology. 4. Add a coordinate system type: Coordinate. 5. Polygon in overloaded void Draw (CDC* pDC) 6. In the Ellipse in overloaded void draw (CDC* pDC) 7. In the View class OnDraw (CDC* pDC) will be drawn graphics 8. Call void draw (CDC* pDC, Shape* a [], int n) the mapping of multiple geometric shapes
Platform: |
Size: 104448 |
Author: 张平 |
Hits:
Description: 在测绘制图和地理信息系统中,地模应用,首先要建立三角网-In the mapping of cartography and geographic information systems, and mold applications, we must first establish a triangulation
Platform: |
Size: 4096 |
Author: tactsong |
Hits: