Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwindowsdirectwritefontdatabase.cpp File Reference

(2d82e845ccfcb2b5ae8ef96d79fb32d76dd89b23)

#include "qwindowsdirectwritefontdatabase_p.h"
#include "qwindowsfontenginedirectwrite_p.h"
#include "qwindowsfontdatabase_p.h"
#include <QtCore/qendian.h>
#include <QtCore/qfile.h>
#include <QtCore/qstringbuilder.h>
#include <QtCore/qvarlengtharray.h>
#include <dwrite_3.h>
#include <d2d1.h>
Include dependency graph for qwindowsdirectwritefontdatabase.cpp:

Go to the source code of this file.

Classes

struct  DirectWriteScope< T >

Functions

QT_BEGIN_NAMESPACE Q_GUI_EXPORT QFontDatabase::WritingSystem qt_writing_system_for_script (int script)
static QFont::Stretch fromDirectWriteStretch (DWRITE_FONT_STRETCH stretch)
static QFont::Weight fromDirectWriteWeight (DWRITE_FONT_WEIGHT weight)
static QFont::Style fromDirectWriteStyle (DWRITE_FONT_STYLE style)
static int QT_WIN_CALLBACK populateBitmapFonts (const LOGFONT *logFont, const TEXTMETRIC *textmetric, DWORD type, LPARAM lparam)

Function Documentation

◆ fromDirectWriteStretch()

QFont::Stretch fromDirectWriteStretch ( DWRITE_FONT_STRETCH stretch)
static

Definition at line 75 of file qwindowsdirectwritefontdatabase.cpp.

◆ fromDirectWriteStyle()

QFont::Style fromDirectWriteStyle ( DWRITE_FONT_STYLE style)
static

Definition at line 96 of file qwindowsdirectwritefontdatabase.cpp.

◆ fromDirectWriteWeight()

QFont::Weight fromDirectWriteWeight ( DWRITE_FONT_WEIGHT weight)
static

Definition at line 91 of file qwindowsdirectwritefontdatabase.cpp.

◆ populateBitmapFonts()

int QT_WIN_CALLBACK populateBitmapFonts ( const LOGFONT * logFont,
const TEXTMETRIC * textmetric,
DWORD type,
LPARAM lparam )
static

Definition at line 638 of file qwindowsdirectwritefontdatabase.cpp.

◆ qt_writing_system_for_script()

QT_BEGIN_NAMESPACE Q_GUI_EXPORT QFontDatabase::WritingSystem qt_writing_system_for_script ( int script)

Definition at line 423 of file qfontdatabase.cpp.