voidC09990156View::OnDraw(CDC*pDC){CTest3Doc*pDoc=GetDocument();ASSERT_VALID(pDoc);CPaintDCDC(this);glLoadIdentity();glClearColor(1.0f,1.0f,1.0f,1.0f);//把红、绿、蓝分量分别指定为1、0、0glClear(GL_COLOR_BUFFER_BIT);if(m_bLine){glBegin(GL_LINES);glColor3f(m_r,m_g,m_b);//直线的R、G、B颜色值调用glVertex2f(m_Lx1,m_Ly1);g