我的问题是:能否用用OpenGL实现二维地图,在不同的图层上面做图而不影响其它的图层.多谢指教!

解决方案 »

  1.   

    openGL是用来做三维的,不适合做二维。
      

  2.   

    比如:wglSetLayerPaletteEntries( HDC  hdc,          // device context whose layer palette is to be 
                         // set
      int  iLayerPlane,  // specifies an overlay or underlay plane
      int  iStart,       // specifies the first palette entry to be set
      int  cEntries,     // specifies the number of palette entries to 
                         // be set
      CONST COLORREF *pcr
                         // points to the first member of an array of 
                         // COLORREF structures
    );
    还有有一些函数是可以定义图层的呀?这里的iLayerPlane到底是什么含义呢?