Static Public Member Functions

Returns the horizontal distance between the left side of the bounding box and the left side of the first glyph in text, to compensate for the empty space left of the first glyph that causes multiple lines of text to appear misaligned.

Member Function Documentation

double VuoRendererFonts::getHorizontalOffset

(

const QFont

font,

const QString

text

)

static

Returns the horizontal distance between the left side of the bounding box and the left side of the first glyph in text, to compensate for the empty space left of the first glyph that causes multiple lines of text to appear misaligned.