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
CPVT_VariableText::Provider Class Reference

#include <cpvt_variabletext.h>

+ Inheritance diagram for CPVT_VariableText::Provider:
+ Collaboration diagram for CPVT_VariableText::Provider:

Public Member Functions

 Provider (IPVT_FontMap *pFontMap)
 
virtual ~Provider ()
 
virtual int GetCharWidth (int32_t nFontIndex, uint16_t word)
 
virtual int32_t GetTypeAscent (int32_t nFontIndex)
 
virtual int32_t GetTypeDescent (int32_t nFontIndex)
 
virtual int32_t GetWordFontIndex (uint16_t word, FX_Charset charset, int32_t nFontIndex)
 
virtual int32_t GetDefaultFontIndex ()
 
IPVT_FontMapGetFontMap ()
 

Detailed Description

Definition at line 50 of file cpvt_variabletext.h.

Constructor & Destructor Documentation

◆ Provider()

CPVT_VariableText::Provider::Provider ( IPVT_FontMap * pFontMap)
explicit

Definition at line 33 of file cpvt_variabletext.cpp.

References Provider().

Referenced by Provider(), and CPWL_EditImpl::Provider::Provider().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ~Provider()

CPVT_VariableText::Provider::~Provider ( )
virtualdefault

Member Function Documentation

◆ GetCharWidth()

int CPVT_VariableText::Provider::GetCharWidth ( int32_t nFontIndex,
uint16_t word )
virtual

Reimplemented in CPWL_EditImpl::Provider, and CPWL_EditImpl::Provider.

Definition at line 40 of file cpvt_variabletext.cpp.

References CPDF_Font::kInvalidCharCode.

◆ GetDefaultFontIndex()

int32_t CPVT_VariableText::Provider::GetDefaultFontIndex ( )
virtual

Definition at line 77 of file cpvt_variabletext.cpp.

◆ GetFontMap()

IPVT_FontMap * CPVT_VariableText::Provider::GetFontMap ( )
inline

Definition at line 63 of file cpvt_variabletext.h.

Referenced by CPWL_EditImpl::Provider::GetCharWidth(), and CPWL_EditImpl::Provider::GetWordFontIndex().

+ Here is the caller graph for this function:

◆ GetTypeAscent()

int32_t CPVT_VariableText::Provider::GetTypeAscent ( int32_t nFontIndex)
virtual

Definition at line 53 of file cpvt_variabletext.cpp.

◆ GetTypeDescent()

int32_t CPVT_VariableText::Provider::GetTypeDescent ( int32_t nFontIndex)
virtual

Definition at line 58 of file cpvt_variabletext.cpp.

◆ GetWordFontIndex()

int32_t CPVT_VariableText::Provider::GetWordFontIndex ( uint16_t word,
FX_Charset charset,
int32_t nFontIndex )
virtual

Reimplemented in CPWL_EditImpl::Provider, and CPWL_EditImpl::Provider.

Definition at line 63 of file cpvt_variabletext.cpp.

References CPDF_Font::kInvalidCharCode.


The documentation for this class was generated from the following files: