Beispiel #1
0
int Font::getStringWidth (const String& text) const
{
    return roundToInt (getStringWidthFloat (text));
}
Beispiel #2
0
int Font::getStringWidth (const String& text) const
{
    return (int) std::ceil (getStringWidthFloat (text));
}