1 // Aseprite Document Library
2 // Copyright (c) 2001-2014 David Capello
3 //
4 // This file is released under the terms of the MIT license.
5 // Read LICENSE.txt for more information.
6 
7 #ifndef DOC_CONVERSION_SHE_H_INCLUDED
8 #define DOC_CONVERSION_SHE_H_INCLUDED
9 #pragma once
10 
11 namespace she {
12   class Surface;
13 }
14 
15 namespace doc {
16   class Image;
17   class Palette;
18 
19   void convert_image_to_surface(const Image* image, const Palette* palette,
20     she::Surface* surface,
21     int src_x, int src_y, int dst_x, int dst_y, int w, int h);
22 
23 } // namespace doc
24 
25 #endif
26