QGIS API Documentation 3.41.0-Master (cea29feecf2)
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.