![]() |
Qt 6.x
The Qt SDK
|
#include "qwindowsfontengine_p.h"
#include "qwindowsnativeimage_p.h"
#include "qwindowsfontdatabase_p.h"
#include <QtCore/qt_windows.h>
#include <QtGui/qpa/qplatformintegration.h>
#include <QtGui/private/qtextengine_p.h>
#include <QtGui/private/qguiapplication_p.h>
#include <QtGui/QPaintDevice>
#include <QtGui/QBitmap>
#include <QtGui/QPainter>
#include <QtGui/private/qpainter_p.h>
#include <QtGui/QPaintEngine>
#include <QtGui/private/qpaintengine_raster_p.h>
#include <QtGui/private/qtgui-config_p.h>
#include <QtCore/QtEndian>
#include <QtCore/QFile>
#include <QtCore/qmath.h>
#include <QtCore/QTextStream>
#include <QtCore/QThreadStorage>
#include <QtCore/private/qsystemlibrary_p.h>
#include <QtCore/private/qstringiterator_p.h>
#include <QtCore/QDebug>
#include <limits.h>
#include <qdebug.h>
Go to the source code of this file.
Macros | |
#define | TT_PRIM_CSPLINE 3 |
#define | MAKE_LITTLE_ENDIAN_TAG(ch1, ch2, ch3, ch4) |
#define | GGO_UNHINTED 0x0100 |
#define | CLEARTYPE_QUALITY 5 |
#define | SPI_GETFONTSMOOTHINGCONTRAST 0x200C |
#define | SPI_SETFONTSMOOTHINGCONTRAST 0x200D |
Enumerations | |
enum | { max_font_count = 256 } |
Functions | |
static OUTLINETEXTMETRIC * | getOutlineTextMetric (HDC hdc) |
static QString | stringFromOutLineTextMetric (const OUTLINETEXTMETRIC *otm, PSTR offset) |
void | calculateTTFGlyphWidth (HDC hdc, UINT glyph, int &width) |
static double | qt_fixed_to_double (const FIXED &p) |
static QPointF | qt_to_qpointf (const POINTFX &pt, qreal scale, qreal stretch) |
static bool | addGlyphToPath (glyph_t glyph, const QFixedPoint &position, HDC hdc, QPainterPath *path, bool ttf, glyph_metrics_t *metric=nullptr, qreal scale=1.0, qreal stretch=1.0) |
Variables | |
static const ushort | char_table [] |
static const int | char_table_entries = sizeof(char_table)/sizeof(ushort) |
#define CLEARTYPE_QUALITY 5 |
Definition at line 888 of file qwindowsfontengine.cpp.
#define GGO_UNHINTED 0x0100 |
Definition at line 637 of file qwindowsfontengine.cpp.
#define MAKE_LITTLE_ENDIAN_TAG | ( | ch1, | |
ch2, | |||
ch3, | |||
ch4 | |||
) |
Definition at line 50 of file qwindowsfontengine.cpp.
#define SPI_GETFONTSMOOTHINGCONTRAST 0x200C |
Definition at line 1050 of file qwindowsfontengine.cpp.
#define SPI_SETFONTSMOOTHINGCONTRAST 0x200D |
Definition at line 1051 of file qwindowsfontengine.cpp.
#define TT_PRIM_CSPLINE 3 |
Definition at line 46 of file qwindowsfontengine.cpp.
anonymous enum |
Enumerator | |
---|---|
max_font_count |
Definition at line 503 of file qwindowsfontengine.cpp.
|
static |
Definition at line 640 of file qwindowsfontengine.cpp.
References cb, i, p1, p2, position(), qt_to_qpointf(), qWarning, ret, TT_PRIM_CSPLINE, QPainterPath::Element::x, and QPainterPath::Element::y.
Referenced by QWindowsFontEngine::addGlyphsToPath(), and QWindowsFontEngine::getUnscaledGlyph().
|
inline |
Definition at line 279 of file qwindowsfontengine.cpp.
Referenced by QWindowsFontEngine::recalcAdvances().
|
static |
Definition at line 69 of file qwindowsfontengine.cpp.
Referenced by QWindowsFontEngine::getCMap(), and QWindowsFontEngine::properties().
|
inlinestatic |
Definition at line 628 of file qwindowsfontengine.cpp.
Referenced by qt_to_qpointf().
Definition at line 632 of file qwindowsfontengine.cpp.
References qt_fixed_to_double().
Referenced by addGlyphToPath().
|
inlinestatic |
Definition at line 91 of file qwindowsfontengine.cpp.
References QString::fromWCharArray().
Referenced by QWindowsFontEngine::getCMap(), and QWindowsFontEngine::properties().
|
static |
Definition at line 504 of file qwindowsfontengine.cpp.
Referenced by QWindowsFontEngine::minRightBearing().
|
static |
Definition at line 526 of file qwindowsfontengine.cpp.
Referenced by QWindowsFontEngine::minRightBearing().