Link CFontImageDef

Former-commit-id: bbf3b658c2
This commit is contained in:
2022-10-01 15:00:38 -04:00
parent bb86f3dc01
commit f6cde6899c
5 changed files with 7 additions and 16 deletions

View File

@@ -13,10 +13,11 @@ public:
CFontImageDef(const TToken< CTexture >& texture, const CVector2f& cropFactor);
CFontImageDef(const rstl::vector< TToken< CTexture > >& texture, float fps,
const CVector2f& cropFactor);
bool IsLoaded() const;
//inline short GetWidth() { }
int GetHeight() {
TToken<CTexture> tex = mTextures[0];
// inline short GetWidth() { }
int GetHeight() {
TToken< CTexture > tex = mTextures[0];
return tex.GetT()->GetHeight() * mCropFactor.GetY();
}
int CalculateBaseline();