14#include <glibmm/refptr.h>
15#include <glibmm/ustring.h>
26std::unique_ptr<SPDocument>
ink_file_new(std::string
const &Template =
"");
27std::unique_ptr<SPDocument>
ink_file_open(std::span<char const> buffer);
28std::pair<std::unique_ptr<SPDocument>,
bool >
ink_file_open(Glib::RefPtr<Gio::File>
const &file);
std::string const & get_filename() const
Typed SVG document implementation.
std::unique_ptr< SPDocument > ink_file_open(std::span< char const > buffer)
Open a document from memory.
std::unique_ptr< SPDocument > ink_file_new(std::string const &Template="")
Create a blank document, remove any template data.
std::string find_original_file(Glib::StdStringView const filepath, Glib::StdStringView const name)
Takes an absolute file path and returns a second file at the same directory location,...