Refractor C++ code structure

This commit is contained in:
ExMatics HydrogenC
2023-11-30 16:25:32 +08:00
parent 3365fb5afc
commit d3840bb1f3
10 changed files with 864 additions and 837 deletions

View File

@@ -199,6 +199,10 @@ bool FontAsset::Save(const StringView& path)
#endif
bool FontAsset::ContainsChar(Char c) const {
return FT_Get_Char_Index(GetFTFace(), c) > 0;
}
void FontAsset::Invalidate()
{
ScopeLock lock(Locker);