for(double i = -80.0; i < 80; i+= 0.7) for(double j = -80.0; j < 80; j+= 0.7) { glColor3f(0.0,0.0,1.0); glPointSize(3); glBegin(GL_POINTS); glVertex2f(i,j); glEnd(); }
C++ (Qt)QImage::fromData( ... )QPixmap::loadFromData( ... )