Added clone() method to DataFile class
This commit is contained in:
parent
3cb7afbdec
commit
bbc4b8e551
@ -51,6 +51,8 @@ public:
|
||||
DataFile(const std::vector<dictentry_t> &dictionary,
|
||||
const std::vector<glyphentry_t> &glyphs,
|
||||
const fontinfo_t &fontinfo);
|
||||
|
||||
inline DataFile * clone() const { return new DataFile(GetDictionary(), GetGlyphTable(), GetFontInfo()); }
|
||||
|
||||
// Save to a file (custom format)
|
||||
void Save(std::ostream &file) const;
|
||||
|
Loading…
Reference in New Issue
Block a user