QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
Classes | 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 "qgsapplication.h"
#include "qgsimagecache.h"
#include <QFontMetricsF>
Include dependency graph for qgstextdocumentmetrics.cpp:

Go to the source code of this file.

Classes

struct  BlockMetrics
 
struct  DocumentMetrics
 

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 31 of file qgstextdocumentmetrics.cpp.

◆ SUPERSCRIPT_VERTICAL_BASELINE_ADJUSTMENT_FACTOR

constexpr double SUPERSCRIPT_VERTICAL_BASELINE_ADJUSTMENT_FACTOR = 0.5
constexpr

Definition at line 30 of file qgstextdocumentmetrics.cpp.