1 | // Aseprite |
2 | // Copyright (C) 2018 David Capello |
3 | // |
4 | // This program is distributed under the terms of |
5 | // the End-User License Agreement for Aseprite. |
6 | |
7 | #ifndef APP_LAYER_BOUNDARIES_H_INCLUDED |
8 | #define APP_LAYER_BOUNDARIES_H_INCLUDED |
9 | #pragma once |
10 | |
11 | #include "doc/frame.h" |
12 | |
13 | namespace doc { |
14 | class Layer; |
15 | } |
16 | |
17 | namespace app { |
18 | |
19 | enum SelectLayerBoundariesOp { |
20 | REPLACE, ADD, SUBTRACT, INTERSECT |
21 | }; |
22 | |
23 | void select_layer_boundaries(doc::Layer* layer, |
24 | const doc::frame_t frame, |
25 | const SelectLayerBoundariesOp op); |
26 | |
27 | } // namespace app |
28 | |
29 | #endif |
30 | |