OpenLexocad  28.0
FontTool.h
Go to the documentation of this file.
1 #pragma once
2 
3 class QFont;
4 
5 namespace Core
6 {
7 class LX_CORE_EXPORT FontTool
8 {
9 public:
10  static int getFixedStretch(
11  const QFont& font); // Qt changed default value for stretch from 100 to 0, if font.stretch() is 0, this method returns 100
12 };
13 } // namespace Core
Core
Definition: Base.h:5
Core::FontTool
Definition: FontTool.h:8
Core::FontTool::getFixedStretch
static int getFixedStretch(const QFont &font)