public int StringWidth (string str, int startIndex, int length) { return (int)(length * _height * 0.42f + 0.5f); }