Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cfgas_gefont.h>
Public Member Functions | |
uint32_t | GetFontStyles () const |
absl::optional< uint16_t > | GetCharWidth (wchar_t wUnicode) |
int32_t | GetGlyphIndex (wchar_t wUnicode) |
int32_t | GetAscent () const |
int32_t | GetDescent () const |
absl::optional< FX_RECT > | GetCharBBox (wchar_t wUnicode) |
RetainPtr< CFGAS_GEFont > | GetSubstFont (int32_t iGlyphIndex) |
CFX_Font * | GetDevFont () const |
void | SetLogicalFontStyle (uint32_t dwLogFontStyle) |
Public Member Functions inherited from fxcrt::Retainable | |
Retainable ()=default | |
bool | HasOneRef () const |
Static Public Member Functions | |
static RetainPtr< CFGAS_GEFont > | LoadFont (const wchar_t *pszFontFamily, uint32_t dwFontStyles, FX_CodePage wCodePage) |
static RetainPtr< CFGAS_GEFont > | LoadFont (RetainPtr< CPDF_Font > pFont) |
static RetainPtr< CFGAS_GEFont > | LoadFont (std::unique_ptr< CFX_Font > pFont) |
static RetainPtr< CFGAS_GEFont > | LoadStockFont (CPDF_Document *pDoc, const ByteString &font_family) |
Public Attributes | |
CONSTRUCT_VIA_MAKE_RETAIN | |
Private Member Functions | |
~CFGAS_GEFont () override | |
Additional Inherited Members | |
Protected Member Functions inherited from fxcrt::Retainable | |
virtual | ~Retainable ()=default |
Definition at line 30 of file cfgas_gefont.h.
|
overrideprivatedefault |
int32_t CFGAS_GEFont::GetAscent | ( | ) | const |
Definition at line 258 of file cfgas_gefont.cpp.
absl::optional< FX_RECT > CFGAS_GEFont::GetCharBBox | ( | wchar_t | wUnicode | ) |
Definition at line 178 of file cfgas_gefont.cpp.
absl::optional< uint16_t > CFGAS_GEFont::GetCharWidth | ( | wchar_t | wUnicode | ) |
Definition at line 153 of file cfgas_gefont.cpp.
int32_t CFGAS_GEFont::GetDescent | ( | ) | const |
Definition at line 262 of file cfgas_gefont.cpp.
|
inline |
Definition at line 50 of file cfgas_gefont.h.
uint32_t CFGAS_GEFont::GetFontStyles | ( | ) | const |
Definition at line 134 of file cfgas_gefont.cpp.
int32_t CFGAS_GEFont::GetGlyphIndex | ( | wchar_t | wUnicode | ) |
Definition at line 199 of file cfgas_gefont.cpp.
RetainPtr< CFGAS_GEFont > CFGAS_GEFont::GetSubstFont | ( | int32_t | iGlyphIndex | ) |
Definition at line 266 of file cfgas_gefont.cpp.
|
static |
Definition at line 24 of file cfgas_gefont.cpp.
References CFGAS_GEModule::Get(), CFGAS_FontMgr::GetFontByCodePage(), and CFGAS_GEModule::GetFontMgr().
|
static |
Definition at line 39 of file cfgas_gefont.cpp.
|
static |
Definition at line 48 of file cfgas_gefont.cpp.
|
static |
Definition at line 58 of file cfgas_gefont.cpp.
Referenced by CXFA_FontMgr::GetFont().
|
inline |
Definition at line 52 of file cfgas_gefont.h.
CFGAS_GEFont::CONSTRUCT_VIA_MAKE_RETAIN |
Definition at line 32 of file cfgas_gefont.h.