MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / writeDocumentFile

Method writeDocumentFile

src/app/crash/write_document.cpp:89–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87private:
88
89 void writeDocumentFile(std::ofstream& s, app::Document* doc) {
90 write32(s, doc->sprite()->id());
91 write_string(s, doc->filename());
92 }
93
94 void writeSprite(std::ofstream& s, Sprite* spr) {
95 write8(s, spr->pixelFormat());

Callers

nothing calls this directly

Calls 4

write_stringFunction · 0.85
idMethod · 0.45
spriteMethod · 0.45
filenameMethod · 0.45

Tested by

no test coverage detected