measureTextSize

fnVec2 measureTextSize(FontId font, IStr text, DrawOptions options = DrawOptions(), TextOptions extra = TextOptions()) @trusted @safe nothrow @nogc

Returns the size of the text.