2 #include "common/common.hpp"
3 #include "common/layer_provider.hpp"
4 #include "common/polygon.hpp"
5 #include "common/line.hpp"
6 #include "common/arc.hpp"
7 #include "common/text.hpp"
8 #include "nlohmann/json_fwd.hpp"
9 #include "util/uuid.hpp"
10 #include "common/object_provider.hpp"
11 #include "util/file_version.hpp"
20 static Decal new_from_file(
const std::string &filename);
22 json serialize()
const;
25 void operator=(
Decal const &other);
29 std::map<UUID, Junction> junctions;
30 std::map<UUID, Polygon> polygons;
31 std::map<UUID, Line> lines;
32 std::map<UUID, Arc> arcs;
33 std::map<UUID, Text> texts;
37 UUID get_uuid()
const;
38 std::pair<Coordi, Coordi> get_bbox()
const;
39 const std::map<int, Layer> &get_layers()
const override;