C++ (Qt)unsigned int y0, y1, step;void ** theBase;..while (true) { .. void * theLine = theBase + (y1 - y0) + step; ..}
C++ (Qt) void * theLine = theBase + (y1 + step - y0);