1 /** Aesalon, a tool to visualize program behaviour in real time.
2 Copyright (C) 2009-2011, Aesalon development team.
4 Aesalon is distributed under the terms of the GNU GPLv3. See
5 the included file LICENSE for more information.
7 @file include/artisan/gviewport/RenderedImage.h
10 #ifndef AesalonArtisan_GViewport_RenderedImage_H
11 #define AesalonArtisan_GViewport_RenderedImage_H
30 RenderedImage(const Rect
&dataRange
= Rect(), const Rect
&pixelSize
= Rect());
33 const Rect
&dataRange() const { return m_dataRange
; }
34 const Rect
&pixelSize() const { return m_pixelSize
; }
36 void merge(RenderedImage
&other
);
39 QPainter
&painter() { return *m_painter
; }
42 void paintOnto(QPaintDevice
*device
);
44 RenderedImage
&operator=(const RenderedImage
&other
);
47 } // namespace GViewport
48 } // namespace Artisan