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/Object.h
10 #ifndef AesalonArtisan_GViewport_Object_H
11 #define AesalonArtisan_GViewport_Object_H
14 #include "RenderedImage.h"
23 Object(Rect bound
) : m_bound(bound
) {}
26 const Rect
&bound() const { return m_bound
; }
28 virtual void renderOnto(RenderedImage
&image
) = 0;
31 } // namespace GViewport
32 } // namespace Artisan