Lines Matching refs:dwBreakStatus
213 CFX_BreakType dwBreakStatus = CFX_BreakType::None; in CalcLogicSize() local
220 dwBreakStatus = m_pTxtBreak->AppendChar(wch); in CalcLogicSize()
221 if (!CFX_BreakTypeNoneOrPiece(dwBreakStatus)) in CalcLogicSize()
222 RetrieveLineWidth(dwBreakStatus, &fStartPos, &fWidth, &fHeight); in CalcLogicSize()
225 dwBreakStatus = m_pTxtBreak->EndBreak(CFX_BreakType::Paragraph); in CalcLogicSize()
226 if (!CFX_BreakTypeNoneOrPiece(dwBreakStatus)) in CalcLogicSize()
227 RetrieveLineWidth(dwBreakStatus, &fStartPos, &fWidth, &fHeight); in CalcLogicSize()
244 bool CFDE_TextOut::RetrieveLineWidth(CFX_BreakType dwBreakStatus, in RetrieveLineWidth() argument
248 if (CFX_BreakTypeNoneOrPiece(dwBreakStatus)) in RetrieveLineWidth()
261 if (dwBreakStatus == CFX_BreakType::Paragraph) in RetrieveLineWidth()
263 if (!m_Styles.line_wrap_ && dwBreakStatus == CFX_BreakType::Line) { in RetrieveLineWidth()
332 CFX_BreakType dwBreakStatus; in LoadText() local
335 dwBreakStatus = m_pTxtBreak->AppendChar(wch); in LoadText()
336 if (CFX_BreakTypeNoneOrPiece(dwBreakStatus)) in LoadText()
340 RetrievePieces(dwBreakStatus, false, rect, &iStartChar, &iPieceWidths); in LoadText()
342 (m_Styles.line_wrap_ || dwBreakStatus == CFX_BreakType::Paragraph || in LoadText()
343 dwBreakStatus == CFX_BreakType::Page)) { in LoadText()
356 dwBreakStatus = m_pTxtBreak->EndBreak(CFX_BreakType::Paragraph); in LoadText()
357 if (!CFX_BreakTypeNoneOrPiece(dwBreakStatus) && !bRet) in LoadText()
358 RetrievePieces(dwBreakStatus, false, rect, &iStartChar, &iPieceWidths); in LoadText()
364 bool CFDE_TextOut::RetrievePieces(CFX_BreakType dwBreakStatus, in RetrievePieces() argument
414 dwBreakStatus == CFX_BreakType::Paragraph; in RetrievePieces()
461 CFX_BreakType dwBreakStatus = CFX_BreakType::None; in ReloadLinePiece() local
467 dwBreakStatus = m_pTxtBreak->AppendChar(text_span[iStart]); in ReloadLinePiece()
468 if (!CFX_BreakTypeNoneOrPiece(dwBreakStatus)) in ReloadLinePiece()
469 RetrievePieces(dwBreakStatus, true, rect, &iStartChar, &iPieceWidths); in ReloadLinePiece()
477 dwBreakStatus = m_pTxtBreak->EndBreak(CFX_BreakType::Paragraph); in ReloadLinePiece()
478 if (!CFX_BreakTypeNoneOrPiece(dwBreakStatus)) in ReloadLinePiece()
479 RetrievePieces(dwBreakStatus, true, rect, &iStartChar, &iPieceWidths); in ReloadLinePiece()