以前的系统用GDI来绘图的
我现在想换成Opengl来绘图
但是有个问题,因为里面的放大缩小以及平衡
都用GDI做好了,就是SetWindowPort,SetViewPort,SetViewOrg等
我现在想问下,可不可以用GDI的DC来做缩放,而用OpenGL来做显示呢?
因为网上抄的MFC下面的Opengl框架有这一段
m_pDC = new CClientDC(this);    //Failure to Get DC    if(m_pDC == NULL)    {        //::MessageBox("Error Obtaining DC");        return FALSE;    }    //Failure to set the pixel format    if(!SetupPixelFormat())    {        return FALSE;    } //Create Rendering Context m_hRC = ::wglCreateContext (m_pDC->GetSafeHdc ()); //Failure to Create Rendering Context恳请大侠帮助!!