[PyQt] Trouble with scanline
Anita Westman
AWestman at evertz.com
Mon Dec 21 16:48:36 GMT 2009
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;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20091221/ba50b9c6/attachment.html
More information about the PyQt
mailing list