draw ellipse in MFC C++ just use OPENGL?
- by taki
i trying to draw ellipse in MFC C++ just use OPENGL. it ran for the resulting ellipse but it is not correct mouse coordinates. My code:
in class Ellispe.cpp
void VeEllispe::putPixel(int x,int y,int xc, int yc)
{
glBegin(GL_POINTS);// bat dau bang ve diem
glVertex2i(xc+x,yc+y);
glVertex2i(xc-x,yc-y);
glVertex2i(xc+x,yc-y);
…