QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
Variables
qgstextdocumentmetrics.cpp File Reference
#include "qgstextdocumentmetrics.h"
#include "qgis.h"
#include "qgsstringutils.h"
#include "qgstextblock.h"
#include "qgstextfragment.h"
#include "qgstextformat.h"
#include "qgstextdocument.h"
#include "qgsrendercontext.h"
#include "qgstextrenderer.h"
#include <QFontMetricsF>
Include dependency graph for qgstextdocumentmetrics.cpp:

Go to the source code of this file.

Variables

constexpr double SUBSCRIPT_VERTICAL_BASELINE_ADJUSTMENT_FACTOR = 1.0 / 6.0
 
constexpr double SUPERSCRIPT_VERTICAL_BASELINE_ADJUSTMENT_FACTOR = 0.5
 

Variable Documentation

◆ SUBSCRIPT_VERTICAL_BASELINE_ADJUSTMENT_FACTOR

constexpr double SUBSCRIPT_VERTICAL_BASELINE_ADJUSTMENT_FACTOR = 1.0 / 6.0
constexpr

Definition at line 29 of file qgstextdocumentmetrics.cpp.

◆ SUPERSCRIPT_VERTICAL_BASELINE_ADJUSTMENT_FACTOR

constexpr double SUPERSCRIPT_VERTICAL_BASELINE_ADJUSTMENT_FACTOR = 0.5
constexpr

Definition at line 28 of file qgstextdocumentmetrics.cpp.