[Qt-interest] Adding arbitrary depth to Graphics Scene & Friends

Javier Urien javierurien at gmail.com
Tue Apr 26 20:45:22 CEST 2011


On Tue, Apr 26, 2011 at 13:30, Jason H <scorp1us at yahoo.com> wrote:

> If it were me, I would probably look into just making an arbitrary BPP
> QPaintEngine.
> For using QGraphicsView for rendering your scene, you'd use that device.
> You'd give it a member function of setDataPixelDepth(int bpp), and it would
> do the pixel math in whatever precision is needed. Then a
> setViewPixelDepth(int bpp) which would convert from the data depth to the
> view depth.
>
> You should be all set from there, as QGraphicsItems use QPaintEngines.
>
>
I would some class to load the HBPP images right?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110426/a11c605b/attachment.html 


More information about the Qt-interest-old mailing list