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