Hi, I know one can manipulate pixel data in a QImage using the bits() function, but how can i do the same for a QWidget? I want to play with a high performance line drawing algorithm [1] so i guess it's not very optimal to do the following: - draw in a QImage - put that image in the qwidget - further drawing in the QImage - put it on the QWidget again - ... and so on ...
In this case i'm guessing that the QImage mapping to a QWidget would be the most costly one hence i'd like to prevent that altogether and "just" manipulate the QWidget pixel data directly. So how do i do that? Cheers, Mark [1] http://free.pages.at/easyfilter/bresenham.html _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest