| 1 | // Aseprite Document Library |
| 2 | // Copyright (c) 2001-2015 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_ALGORITHM_ROTSPRITE_H_INCLUDED |
| 8 | #define DOC_ALGORITHM_ROTSPRITE_H_INCLUDED |
| 9 | #pragma once |
| 10 | |
| 11 | namespace doc { |
| 12 | class Image; |
| 13 | |
| 14 | namespace algorithm { |
| 15 | |
| 16 | void rotsprite_image(Image* dst, const Image* src, const Image* mask, |
| 17 | int x1, int y1, int x2, int y2, |
| 18 | int x3, int y3, int x4, int y4); |
| 19 | |
| 20 | } // namespace algorithm |
| 21 | } // namespace doc |
| 22 | |
| 23 | #endif |
| 24 | |