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
TextCharPos Class Reference

#include <text_char_pos.h>

Collaboration diagram for TextCharPos:

Public Member Functions

 TextCharPos ()
 TextCharPos (const TextCharPos &)
 ~TextCharPos ()
CFX_Matrix GetEffectiveMatrix (const CFX_Matrix &matrix) const

Public Attributes

CFX_PointF m_Origin
uint32_t m_Unicode = 0
uint32_t m_GlyphIndex = 0
int m_FontCharWidth = 0
int32_t m_FallbackFontPosition = 0
bool m_bGlyphAdjust = false
bool m_bFontStyle = false
std::array< float, 4 > m_AdjustMatrix = {}

Detailed Description

Definition at line 15 of file text_char_pos.h.

Constructor & Destructor Documentation

◆ TextCharPos() [1/2]

TextCharPos::TextCharPos ( )
default

◆ TextCharPos() [2/2]

TextCharPos::TextCharPos ( const TextCharPos & )
default

◆ ~TextCharPos()

TextCharPos::~TextCharPos ( )
default

Member Function Documentation

◆ GetEffectiveMatrix()

CFX_Matrix TextCharPos::GetEffectiveMatrix ( const CFX_Matrix & matrix) const

Definition at line 15 of file text_char_pos.cpp.

References CFX_Matrix::Concat(), and m_bGlyphAdjust.

Referenced by CFX_RenderDevice::DrawNormalText().

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

Member Data Documentation

◆ m_AdjustMatrix

std::array<float, 4> TextCharPos::m_AdjustMatrix = {}

Definition at line 33 of file text_char_pos.h.

◆ m_bFontStyle

bool TextCharPos::m_bFontStyle = false

Definition at line 32 of file text_char_pos.h.

Referenced by CFX_RenderDevice::DrawNormalText(), and GetCharPosList().

◆ m_bGlyphAdjust

◆ m_FallbackFontPosition

int32_t TextCharPos::m_FallbackFontPosition = 0

Definition at line 30 of file text_char_pos.h.

Referenced by GetCharPosList().

◆ m_FontCharWidth

int TextCharPos::m_FontCharWidth = 0

◆ m_GlyphIndex

uint32_t TextCharPos::m_GlyphIndex = 0

◆ m_Origin

CFX_PointF TextCharPos::m_Origin

Definition at line 23 of file text_char_pos.h.

◆ m_Unicode

uint32_t TextCharPos::m_Unicode = 0

Definition at line 24 of file text_char_pos.h.


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