2 #include "pool/decal.hpp"
4 #include "nlohmann/json.hpp"
5 #include "document/idocument_decal.hpp"
11 bool has_object_type(ObjectType ty)
const override;
13 Decal &get_decal()
override;
14 const Decal &get_canvas_data()
const;
17 std::pair<Coordi, Coordi> get_bbox()
override;
19 const std::string &get_filename()
const override;
21 ObjectType get_object_type()
const override
23 return ObjectType::DECAL;
32 std::map<UUID, Polygon> *get_polygon_map()
override;
33 std::map<UUID, Junction> *get_junction_map()
override;
34 std::map<UUID, Text> *get_text_map()
override;
35 std::map<UUID, Line> *get_line_map()
override;
36 std::map<UUID, Arc> *get_arc_map()
override;
40 std::string m_decal_filename;
44 HistoryItem(
const Decal &r,
const std::string &cm);
47 void rebuild_internal(
bool from_undo,
const std::string &comment)
override;
48 void history_push(
const std::string &comment)
override;
49 void history_load(
unsigned int i)
override;
50 void save(
const std::string &suffix)
override;
51 void delete_autosave()
override;
Definition: core_decal.hpp:8
Where Tools and and documents meet.
Definition: core.hpp:42
Definition: file_version.hpp:9
Definition: idocument_decal.hpp:5
Definition: layer_provider.hpp:7