Introduction - If you have any usage issues, please Google them yourself
Through the contour of the drawing and filling process of the separation of programming ideas, use OpenGL hardware-accelerated rasterization technology to achieve regional rapid filling, then the use of MFC under the GD I drawing function in the same region on the map contour lines. This method does not involve complex algorithms, using very simple code could be achieved with the commercial software visual effects comparable to the effect of contour filling, and applied to discrete regions of arbitrarily shaped polygon grid.
Packet : 25811221mfc_opengl.rar filelist
MFC&OpenGL.pdf