MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / save_file

Method save_file

src/CanvasComponents/TextBoxCanvasComponent.cpp:60–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void TextBoxCanvasComponent::save_file(cereal::PortableBinaryOutputArchive& a) const {
61 a(d.p1, d.p2, textBox->get_rich_text_data());
62}
63
64void TextBoxCanvasComponent::load_file(cereal::PortableBinaryInputArchive& a, VersionNumber version) {
65 if(version >= VersionNumber(0, 3, 0)) {

Callers

nothing calls this directly

Calls 1

get_rich_text_dataMethod · 0.80

Tested by

no test coverage detected