1 | // Aseprite |
2 | // Copyright (C) 2016 David Capello |
3 | // |
4 | // This program is distributed under the terms of |
5 | // the End-User License Agreement for Aseprite. |
6 | |
7 | #ifndef APP_UTIL_PIXEL_RATIO_H_INCLUDED |
8 | #define APP_UTIL_PIXEL_RATIO_H_INCLUDED |
9 | #pragma once |
10 | |
11 | #include "base/convert_to.h" |
12 | #include "doc/pixel_ratio.h" |
13 | |
14 | namespace base { |
15 | |
16 | template<> doc::PixelRatio convert_to(const std::string& from); |
17 | template<> std::string convert_to(const doc::PixelRatio& from); |
18 | |
19 | } // namespace base |
20 | |
21 | #endif |
22 | |