• Home
  • Raw
  • Download

Lines Matching refs:m_pCurLine

32   m_pCurLine->m_iStart = iLinePos;  in SetLineStartPos()
68 ASSERT(m_pFont && m_pCurLine); in AppendChar()
72 m_pCurLine->m_LineChars.emplace_back(wch, dwProps, m_iHorizontalScale, in AppendChar()
74 CFX_Char* pCurChar = &m_pCurLine->m_LineChars.back(); in AppendChar()
83 m_pCurLine->GetLineEnd() > m_iLineWidth + m_iTolerance && in AppendChar()
86 int32_t iCount = m_pCurLine->CountChars(); in AppendChar()
88 pCurChar = &m_pCurLine->m_LineChars[iCount - 1]; in AppendChar()
138 m_pCurLine->m_iWidth += iCharWidth; in AppendChar_Combination()
145 int32_t& iLineWidth = m_pCurLine->m_iWidth; in AppendChar_Tab()
189 m_pCurLine->m_iWidth -= pLastChar->m_iCharWidth; in AppendChar_Arabic()
202 m_pCurLine->m_iWidth += iCharWidth; in AppendChar_Arabic()
217 m_pCurLine->m_iWidth += iCharWidth; in AppendChar_Arabic()
218 m_pCurLine->m_iArabicChars++; in AppendChar_Arabic()
220 if (m_pCurLine->GetLineEnd() > m_iLineWidth + m_iTolerance) in AppendChar_Arabic()
237 m_pCurLine->m_iWidth += iCharWidth; in AppendChar_Others()
239 m_pCurLine->GetLineEnd() > m_iLineWidth + m_iTolerance) { in AppendChar_Others()
249 if (!m_pCurLine->m_LinePieces.empty()) { in EndBreak()
251 m_pCurLine->m_LinePieces.back().m_dwStatus = dwStatus; in EndBreak()
252 return m_pCurLine->m_LinePieces.back().m_dwStatus; in EndBreak()
264 int32_t iCount = m_pCurLine->CountChars(); in EndBreak()
268 CFX_Char* tc = m_pCurLine->GetChar(iCount - 1); in EndBreak()
273 m_iReadyLineIndex = m_pCurLine == &m_Line[0] ? 0 : 1; in EndBreak()
284 m_pCurLine = pNextLine; in EndBreak()
285 m_pCurLine->m_iStart = m_iLineStart; in EndBreak()
296 if (m_pCurLine->GetLineEnd() > m_iLineWidth + m_iTolerance) { in EndBreak_SplitLine()
297 const CFX_Char* tc = m_pCurLine->GetChar(m_pCurLine->CountChars() - 1); in EndBreak_SplitLine()
304 SplitTextLine(m_pCurLine, pNextLine, !m_bPagination && bAllChars); in EndBreak_SplitLine()
312 int32_t endPos = m_pCurLine->GetLineEnd(); in EndBreak_SplitLine()
313 GetBreakPos(m_pCurLine->m_LineChars, endPos, bAllChars, true); in EndBreak_SplitLine()
318 const CFX_Char* pCurChars = m_pCurLine->m_LineChars.data(); in EndBreak_SplitLine()
320 tp.m_pChars = &m_pCurLine->m_LineChars; in EndBreak_SplitLine()
323 int32_t iLast = m_pCurLine->CountChars() - 1; in EndBreak_SplitLine()
351 m_pCurLine->m_LinePieces.push_back(tp); in EndBreak_SplitLine()
364 std::vector<CFX_Char>& chars = m_pCurLine->m_LineChars; in EndBreak_BidiLine()
365 int32_t iCount = m_pCurLine->CountChars(); in EndBreak_BidiLine()
366 if (!m_bPagination && m_pCurLine->m_iArabicChars > 0) { in EndBreak_BidiLine()
390 tp.m_iStartPos = m_pCurLine->m_iStart; in EndBreak_BidiLine()
418 m_pCurLine->m_LinePieces.push_back(tp); in EndBreak_BidiLine()
437 m_pCurLine->m_LinePieces.push_back(tp); in EndBreak_BidiLine()
445 int32_t iStartPos = m_pCurLine->m_iStart; in EndBreak_BidiLine()
447 CFX_BreakPiece& ttp = m_pCurLine->m_LinePieces[it.index]; in EndBreak_BidiLine()
456 int32_t iNetWidth = m_pCurLine->m_iWidth; in EndBreak_Alignment()
460 CFX_BreakPiece& ttp = m_pCurLine->m_LinePieces[it->index]; in EndBreak_Alignment()
498 CFX_BreakPiece& ttp = m_pCurLine->m_LinePieces[tpo.index]; in EndBreak_Alignment()
524 for (auto& ttp : m_pCurLine->m_LinePieces) in EndBreak_Alignment()