|
计算机应用研究 2005
Realization of Fast Filling Contours Based on MFC and OpenGL
|
Abstract:
This paper presents a programming idea of drawing and filling contours respectively. First the zone is filled by ta-king advantage of rapid raster display of OpenGL, then on the same zone contourlines are generated by using GDI functions of MFC. Without any complicated algorithm, the program is easily realized, but provides excellent visual effects comparable with commercial software. In addition, the method can be applied to various grid systems.