![]() |
Qt 6.x
The Qt SDK
|
#include "qfontengine_coretext_p.h"#include <qpa/qplatformfontdatabase.h>#include <QtCore/qendian.h>#include <QtCore/qoperatingsystemversion.h>#include <QtGui/qpainterpath.h>#include <private/qcoregraphics_p.h>#include <private/qimage_p.h>#include <cmath>
Include dependency graph for qfontengine_coretext.mm:Go to the source code of this file.
Classes | |
| class | QCoreTextRawFontEngine |
| struct | ConvertPathInfo |
Macros | |
| #define | COMPARE_WEIGHT_DISTANCE(ct_weight, qt_weight) |
Functions | |
| CGAffineTransform | qt_transform_from_fontdef (const QFontDef &fontDef) |
| Q_GUI_EXPORT bool | qt_scaleForTransform (const QTransform &transform, qreal *scale) |
| static void | convertCGPathToQPainterPath (void *info, const CGPathElement *element) |
| static void | qcoretextfontengine_scaleMetrics (glyph_metrics_t &br, const QTransform &matrix) |
Variables | |
| static QT_BEGIN_NAMESPACE float | SYNTHETIC_ITALIC_SKEW = std::tan(14.f * std::acos(0.f) / 90.f) |
| #define COMPARE_WEIGHT_DISTANCE | ( | ct_weight, | |
| qt_weight | |||
| ) |
Definition at line 435 of file qfontengine_coretext.mm.
References QPainterPath::closeSubpath(), QPainterPath::cubicTo(), info, QPainterPath::lineTo(), QPainterPath::moveTo(), ConvertPathInfo::path, ConvertPathInfo::pos, qCWarning, QPainterPath::quadTo(), ConvertPathInfo::stretch, QPointF::x(), and QPointF::y().
Referenced by QCoreTextFontEngine::addGlyphsToPath(), and QCoreTextFontEngine::getUnscaledGlyph().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 490 of file qfontengine_coretext.mm.
References QFixed::fromReal(), glyph_metrics_t::height, QFixed::toReal(), glyph_metrics_t::width, glyph_metrics_t::x, and glyph_metrics_t::y.
Referenced by QCoreTextFontEngine::alphaMapBoundingBox().
Here is the call graph for this function:
Here is the caller graph for this function:| Q_GUI_EXPORT bool qt_scaleForTransform | ( | const QTransform & | transform, |
| qreal * | scale | ||
| ) |
Definition at line 2301 of file qtransform.cpp.
| CGAffineTransform qt_transform_from_fontdef | ( | const QFontDef & | fontDef | ) |
Definition at line 101 of file qfontengine_coretext.mm.
References QFontDef::stretch.
Referenced by QCoreTextFontEngine::QCoreTextFontEngine(), and QCoreTextFontDatabaseEngineFactory< T >::fontEngine().
Here is the caller graph for this function:
|
static |
Definition at line 53 of file qfontengine_coretext.mm.
Referenced by QCoreTextFontEngine::addGlyphsToPath(), QCoreTextFontEngine::boundingBox(), QCoreTextFontEngine::draw(), and QCoreTextFontEngine::imageForGlyph().