QFont setStretch is a function in C++ Qt library that sets the font's stretch factor. The stretch factor determines the horizontal scaling of the font. The default value is 100 (normal).
QFont font("Arial");
font.setStretch(150); // stretch factor of 1.5
Package library: Qt library.
C++ (Cpp) QFont::setStretch - 20 examples found. These are the top rated real world C++ (Cpp) examples of QFont::setStretch extracted from open source projects. You can rate examples to help us improve the quality of examples.