grabalon
29th July 2010, 23:42
Hey All,
I have a QGraphicsView holding a QGraphicsScene containing several sub-classed QGraphicsItems. I need to change the way it is rendered (similar to Smoothing which is handled by the QPainter natively) and have the algorithm for what needs to happen, given a source image, at any zoom level. Because my algorithm is zoom-dependent, I cannot just change the source image, but need to change the way it is rendered. Any hints as to where the actual rendering happens, what I could sub-class to take advantage of it, or general insights into the Graphics Framework would be appreciated.
Thanks
I have a QGraphicsView holding a QGraphicsScene containing several sub-classed QGraphicsItems. I need to change the way it is rendered (similar to Smoothing which is handled by the QPainter natively) and have the algorithm for what needs to happen, given a source image, at any zoom level. Because my algorithm is zoom-dependent, I cannot just change the source image, but need to change the way it is rendered. Any hints as to where the actual rendering happens, what I could sub-class to take advantage of it, or general insights into the Graphics Framework would be appreciated.
Thanks