return s_getStringDimension(str, fnt, frc).getWidth();
}
static public GfrDimension2D s_getStringDimension(final String string, final Font font, final FontRenderContext fontRenderContext)
{
final GfrDimension2D dimension = new GfrDimension2D(font.getStringBounds(string, _FRC_FONT_RENDER_CONTEXT_));
return new GfrDimension2D(dimension.getWidth(), dimension.getHeight() / 2.0);
}