OEEstimateTextWidthΒΆ

double OEEstimateTextWidth(const std::string &text, const OEFont &font)

Estimates the width of string depicted with a specific style.

text

The string of which width is being estimated.

font

The OEFont object that defines the style of the depiction.

See also