I'm trying to convert a c++ example to python, but I'm stuck on how to convert the result of the scanline method to QRgb in python. These are the 2 lines I'm having trouble with.
1. p = result->scanLine(r1) + col*4; 2. QRgb* pixel1 = (QRgb*)(buffer.scanLine(y1)) + x;
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt