mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 07:50:04 +00:00
Perform font matching from placefile
This commit is contained in:
parent
7edd512ff7
commit
d1a478ad12
4 changed files with 106 additions and 3 deletions
|
|
@ -67,6 +67,9 @@ public:
|
|||
std::size_t pixels_ {};
|
||||
std::int32_t flags_ {};
|
||||
std::string face_ {};
|
||||
|
||||
bool IsBold() { return flags_ & 1; }
|
||||
bool IsItalic() { return flags_ & 2; }
|
||||
};
|
||||
|
||||
struct DrawItem
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue