• Home
  • Raw
  • Download

Lines Matching refs:pPiece

600       const CXFA_TextPiece* pPiece = pPieceLine->m_textPieces[j].get();  in DrawString()  local
601 int32_t iChars = pPiece->iChars; in DrawString()
629 for (const auto& pPiece : pPieceLine->m_textPieces) in UpdateAlign() local
630 pPiece->rtPiece.top += fHeight; in UpdateAlign()
936 CXFA_TextPiece* pPiece = pPieceLine->m_textPieces[iPieces - 1].get(); in DoTabstops() local
951 pPiece->rtPiece.width + pPiece->rtPiece.left - fRight; in DoTabstops()
957 fLeft = pPiece->rtPiece.width / 2.0f; in DoTabstops()
960 fLeft = pPiece->rtPiece.width; in DoTabstops()
962 int32_t iChars = pPiece->iChars; in DoTabstops()
964 if (pPiece->szText[i] == L'.') in DoTabstops()
967 fLeft += pPiece->Widths[i] / 20000.0f; in DoTabstops()
975 pPiece->rtPiece.left -= m_pTabstopContext->m_fLeft; in DoTabstops()
998 const CFX_BreakPiece* pPiece = m_pBreak->GetBreakPieceUnstable(i); in AppendTextLine() local
999 CFX_TextUserData* pUserData = pPiece->m_pUserData.Get(); in AppendTextLine()
1002 float fVerScale = pPiece->m_iVerticalScale / 100.0f; in AppendTextLine()
1005 pTP->iChars = pPiece->m_iChars; in AppendTextLine()
1006 pTP->szText = pPiece->GetString(); in AppendTextLine()
1007 pTP->Widths = pPiece->GetWidths(); in AppendTextLine()
1008 pTP->iBidiLevel = pPiece->m_iBidiLevel; in AppendTextLine()
1009 pTP->iHorScale = pPiece->m_iHorizontalScale; in AppendTextLine()
1010 pTP->iVerScale = pPiece->m_iVerticalScale; in AppendTextLine()
1019 pTP->rtPiece.left = pPiece->m_iStartPos / 20000.0f; in AppendTextLine()
1020 pTP->rtPiece.width = pPiece->m_iWidth / 20000.0f; in AppendTextLine()
1022 static_cast<float>(pPiece->m_iFontSize) * fVerScale / 20.0f; in AppendTextLine()
1050 const CFX_BreakPiece* pPiece = m_pBreak->GetBreakPieceUnstable(i); in AppendTextLine() local
1051 CFX_TextUserData* pUserData = pPiece->m_pUserData.Get(); in AppendTextLine()
1054 float fVerScale = pPiece->m_iVerticalScale / 100.0f; in AppendTextLine()
1061 static_cast<float>(pPiece->m_iFontSize) * fVerScale / 20.0f; in AppendTextLine()
1067 fLineWidth += pPiece->m_iWidth / 20000.0f; in AppendTextLine()
1119 const CXFA_TextPiece* pPiece = pPieceLine->m_textPieces[szPiece].get(); in RenderString() local
1120 size_t szCount = GetDisplayPos(pPiece, pCharPos); in RenderString()
1123 CFDE_TextOut::DrawString(pDevice, pPiece->dwColor, pPiece->pFont, span, in RenderString()
1124 pPiece->fFontSize, mtDoc2Device); in RenderString()
1134 CXFA_TextPiece* pPiece = pPieceLine->m_textPieces[szPiece].get(); in RenderPath() local
1135 bool bNoUnderline = pPiece->iUnderline < 1 || pPiece->iUnderline > 2; in RenderPath()
1136 bool bNoLineThrough = pPiece->iLineThrough < 1 || pPiece->iLineThrough > 2; in RenderPath()
1141 size_t szChars = GetDisplayPos(pPiece, pCharPos); in RenderPath()
1146 if (pPiece->iPeriod == XFA_AttributeValue::Word) { in RenderPath()
1147 for (int32_t i = 0; i < pPiece->iUnderline; i++) { in RenderPath()
1151 (*pCharPos)[j].m_FontCharWidth * pPiece->fFontSize / 1000.0f; in RenderPath()
1160 (*pCharPos)[szChars - 1].m_FontCharWidth * pPiece->fFontSize / in RenderPath()
1162 for (int32_t i = 0; i < pPiece->iUnderline; i++) { in RenderPath()
1168 fEndY = (*pCharPos)[0].m_Origin.y - pPiece->rtPiece.height * 0.25f; in RenderPath()
1172 (*pCharPos)[szChars - 1].m_FontCharWidth * pPiece->fFontSize / 1000.0f; in RenderPath()
1173 for (int32_t i = 0; i < pPiece->iLineThrough; i++) { in RenderPath()
1180 (bNoUnderline || pPiece->iPeriod != XFA_AttributeValue::All)) { in RenderPath()
1209 pPiece = pPieceLine->m_textPieces[szPiecePrev].get(); in RenderPath()
1210 szChars = GetDisplayPos(pPiece, pCharPos); in RenderPath()
1216 (*pCharPos)[szChars - 1].m_FontCharWidth * pPiece->fFontSize / 1000.0f; in RenderPath()
1217 pPiece = pPieceLine->m_textPieces[szPieceNext].get(); in RenderPath()
1218 szChars = GetDisplayPos(pPiece, pCharPos); in RenderPath()
1228 for (int32_t i = 0; i < pPiece->iUnderline; i++) { in RenderPath()
1234 fEndY = (*pCharPos)[0].m_Origin.y - pPiece->rtPiece.height * 0.25f; in RenderPath()
1235 for (int32_t i = 0; i < pPiece->iLineThrough; i++) { in RenderPath()
1249 pDevice->DrawPath(&path, &mtDoc2Device, &graphState, 0, pPiece->dwColor, 0); in RenderPath()
1252 size_t CXFA_TextLayout::GetDisplayPos(const CXFA_TextPiece* pPiece, in GetDisplayPos() argument
1254 if (!pPiece || pPiece->iChars < 1) in GetDisplayPos()
1256 return m_pBreak->GetDisplayPos(pPiece, pCharPos); in GetDisplayPos()