Add STextBoundingBox::Size convenience function

This commit is contained in:
Robert Müller 2023-04-12 22:37:31 +02:00
parent a160364b77
commit 49a1896389

View file

@ -153,6 +153,7 @@ struct STextBoundingBox
float Right() const { return m_X + m_W; }
float Bottom() const { return m_Y + m_H; }
vec2 Size() const { return vec2(m_W, m_H); }
};
class CTextCursor