1 // Aseprite
2 // Copyright (C) 2016  Carlo Caputo
3 //
4 // This program is distributed under the terms of
5 // the End-User License Agreement for Aseprite.
6 
7 #ifndef APP_THUMBNAILS_H_INCLUDED
8 #define APP_THUMBNAILS_H_INCLUDED
9 #pragma once
10 
11 #include "gfx/rect.h"
12 #include "gfx/size.h"
13 
14 namespace doc {
15   class Cel;
16 }
17 
18 namespace she {
19   class Surface;
20 }
21 
22 namespace app {
23   namespace thumb {
24 
25     she::Surface* get_cel_thumbnail(const doc::Cel* cel,
26                                     const gfx::Size& thumb_size,
27                                     gfx::Rect cel_image_on_thumb = gfx::Rect());
28 
29   } // thumb
30 } // app
31 
32 #endif
33