/external/pdfium/xfa/fgas/layout/ |
D | fgas_textbreak.cpp | 1142 FXTEXT_CHARPOS* pCharPos, in GetDisplayPos() argument 1331 if (!pCharPos) { in GetDisplayPos() 1366 pCharPos->m_GlyphIndex = in GetDisplayPos() 1369 pCharPos->m_ExtGID = pCharPos->m_GlyphIndex; in GetDisplayPos() 1371 pCharPos->m_FontCharWidth = iCharWidth; in GetDisplayPos() 1393 pCharPos->m_Origin = CFX_PointF(fX, fY); in GetDisplayPos() 1399 pCharPos->m_Origin.y += fOffset; in GetDisplayPos() 1401 pCharPos->m_Origin.x += fOffset; in GetDisplayPos() 1407 pCharPos->m_Origin.y = in GetDisplayPos() 1417 pCharPos->m_Origin.y -= fFontSize * rtBox.height / iMaxHeight; in GetDisplayPos() [all …]
|
D | fgas_rtfbreak.cpp | 863 FXTEXT_CHARPOS* pCharPos, in GetDisplayPos() argument 920 if (pCharPos) { in GetDisplayPos() 939 pCharPos->m_GlyphIndex = wch; in GetDisplayPos() 941 pCharPos->m_GlyphIndex = pFont->GetGlyphIndex(wForm, false); in GetDisplayPos() 942 if (pCharPos->m_GlyphIndex == 0xFFFF) in GetDisplayPos() 943 pCharPos->m_GlyphIndex = pFont->GetGlyphIndex(wch, false); in GetDisplayPos() 946 pCharPos->m_ExtGID = pCharPos->m_GlyphIndex; in GetDisplayPos() 948 pCharPos->m_FontCharWidth = iCharWidth; in GetDisplayPos() 958 pCharPos->m_Origin = CFX_PointF(fX, fY); in GetDisplayPos() 963 pCharPos->m_bGlyphAdjust = true; in GetDisplayPos() [all …]
|
/external/pdfium/core/fxge/apple/ |
D | fx_apple_platform.cpp | 30 const FXTEXT_CHARPOS* pCharPos, in CGDrawGlyphRun() argument 62 pCharPos[i].m_ExtGID ? pCharPos[i].m_ExtGID : pCharPos[i].m_GlyphIndex; in CGDrawGlyphRun() 64 glyph_positions[i].x = -pCharPos[i].m_Origin.x; in CGDrawGlyphRun() 66 glyph_positions[i].x = pCharPos[i].m_Origin.x; in CGDrawGlyphRun() 67 glyph_positions[i].y = pCharPos[i].m_Origin.y; in CGDrawGlyphRun() 102 const FXTEXT_CHARPOS* pCharPos, in DrawDeviceText() argument 117 if (pCharPos[i].m_bGlyphAdjust) in DrawDeviceText() 152 bool ret = CGDrawGlyphRun(ctx, nChars, pCharPos, pFont, pObject2Device, in DrawDeviceText()
|
/external/pdfium/xfa/fxbarcode/oned/ |
D | BC_OnedUPCAWriter.cpp | 136 FXTEXT_CHARPOS* pCharPos = FX_Alloc(FXTEXT_CHARPOS, iLen); in ShowChars() local 137 FXSYS_memset(pCharPos, 0, sizeof(FXTEXT_CHARPOS) * iLen); in ShowChars() 189 CalcTextInfo(tempStr, pCharPos + 1, m_pFont, strWidth, iFontSize, blank); in ShowChars() 195 ge.DrawNormalText(iLen, pCharPos + 1, m_pFont, in ShowChars() 206 device->DrawNormalText(iLen, pCharPos + 1, m_pFont, in ShowChars() 212 CalcTextInfo(tempStr, pCharPos + 6, m_pFont, strWidth, iFontSize, blank); in ShowChars() 216 ge.DrawNormalText(iLen, pCharPos + 6, m_pFont, in ShowChars() 229 device->DrawNormalText(iLen, pCharPos + 6, m_pFont, in ShowChars() 239 CalcTextInfo(tempStr, pCharPos, m_pFont, strWidth, iFontSize, blank); in ShowChars() 244 ge.DrawNormalText(iLen, pCharPos, m_pFont, static_cast<FX_FLOAT>(iFontSize), in ShowChars() [all …]
|
D | BC_OnedEAN13Writer.cpp | 185 FXTEXT_CHARPOS* pCharPos = FX_Alloc(FXTEXT_CHARPOS, iLen); in ShowChars() local 186 FXSYS_memset(pCharPos, 0, sizeof(FXTEXT_CHARPOS) * iLen); in ShowChars() 228 CalcTextInfo(tempStr, pCharPos + 1, m_pFont, (FX_FLOAT)strWidth, iFontSize, in ShowChars() 236 ge.DrawNormalText(iLen, pCharPos + 1, m_pFont, in ShowChars() 247 device->DrawNormalText(iLen, pCharPos + 1, m_pFont, in ShowChars() 253 CalcTextInfo(tempStr, pCharPos + 7, m_pFont, (FX_FLOAT)strWidth, iFontSize, in ShowChars() 258 ge.DrawNormalText(iLen, pCharPos + 7, m_pFont, in ShowChars() 271 device->DrawNormalText(iLen, pCharPos + 7, m_pFont, in ShowChars() 281 CalcTextInfo(tempStr, pCharPos, m_pFont, (FX_FLOAT)strWidth, iFontSize, in ShowChars() 287 ge.DrawNormalText(iLen, pCharPos, m_pFont, static_cast<FX_FLOAT>(iFontSize), in ShowChars() [all …]
|
D | BC_OnedEAN8Writer.cpp | 183 FXTEXT_CHARPOS* pCharPos = FX_Alloc(FXTEXT_CHARPOS, iLength); in ShowChars() local 184 FXSYS_memset(pCharPos, 0, sizeof(FXTEXT_CHARPOS) * iLength); in ShowChars() 218 CalcTextInfo(tempStr, pCharPos, m_pFont, (FX_FLOAT)strWidth, iFontSize, in ShowChars() 226 ge.DrawNormalText(iLen, pCharPos, m_pFont, static_cast<FX_FLOAT>(iFontSize), in ShowChars() 234 device->DrawNormalText(iLen, pCharPos, m_pFont, in ShowChars() 240 CalcTextInfo(tempStr, pCharPos + 4, m_pFont, (FX_FLOAT)strWidth, iFontSize, in ShowChars() 246 ge.DrawNormalText(iLen, pCharPos + 4, m_pFont, in ShowChars() 259 device->DrawNormalText(iLen, pCharPos + 4, m_pFont, in ShowChars() 263 FX_Free(pCharPos); in ShowChars()
|
D | BC_OneDimWriter.cpp | 204 FXTEXT_CHARPOS* pCharPos, in ShowDeviceChars() argument 223 device->DrawNormalText(str.GetLength(), pCharPos, m_pFont, in ShowDeviceChars() 231 FXTEXT_CHARPOS* pCharPos, in ShowBitmapChars() argument 243 ge.DrawNormalText(str.GetLength(), pCharPos, m_pFont, in ShowBitmapChars() 268 FXTEXT_CHARPOS* pCharPos = FX_Alloc(FXTEXT_CHARPOS, iLen); in ShowChars() local 269 FXSYS_memset(pCharPos, 0, sizeof(FXTEXT_CHARPOS) * iLen); in ShowChars() 281 CalcTextInfo(str, pCharPos, m_pFont, geWidth, iFontSize, charsLen); in ShowChars() 311 ShowDeviceChars(device, matrix, str, geWidth, pCharPos, (FX_FLOAT)locX, in ShowChars() 314 ShowBitmapChars(pOutBitmap, str, geWidth, pCharPos, (FX_FLOAT)locX, in ShowChars() 317 FX_Free(pCharPos); in ShowChars()
|
D | BC_OneDimWriter.h | 80 FXTEXT_CHARPOS* pCharPos, 88 FXTEXT_CHARPOS* pCharPos,
|
/external/pdfium/xfa/fxfa/app/ |
D | cxfa_textlayout.cpp | 578 FXTEXT_CHARPOS* pCharPos = nullptr; in DrawString() local 604 FX_Free(pCharPos); in DrawString() 605 pCharPos = FX_Alloc(FXTEXT_CHARPOS, iChars); in DrawString() 608 FXSYS_memset(pCharPos, 0, iCharCount * sizeof(FXTEXT_CHARPOS)); in DrawString() 609 RenderString(pDevice.get(), pSolidBrush.get(), pPieceLine, j, pCharPos, in DrawString() 613 RenderPath(pDevice.get(), pPen.get(), pPieceLine, j, pCharPos, in DrawString() 618 FX_Free(pCharPos); in DrawString() 1160 FXTEXT_CHARPOS* pCharPos, in RenderString() argument 1163 int32_t iCount = GetDisplayPos(pPiece, pCharPos); in RenderString() 1166 pDevice->DrawString(pBrush, pPiece->pFont, pCharPos, iCount, in RenderString() [all …]
|
D | cxfa_textlayout.h | 107 FXTEXT_CHARPOS* pCharPos, 113 FXTEXT_CHARPOS* pCharPos, 116 FXTEXT_CHARPOS* pCharPos,
|
/external/pdfium/xfa/fde/ |
D | fde_gedevice.h | 44 const FXTEXT_CHARPOS* pCharPos, 105 const FXTEXT_CHARPOS* pCharPos, 111 const FXTEXT_CHARPOS* pCharPos,
|
D | cfde_txtedtpage.cpp | 151 FXTEXT_CHARPOS*& pCharPos, in GetDisplayPos() argument 153 pCharPos = FX_Alloc(FXTEXT_CHARPOS, m_nCharCount); in GetDisplayPos() 155 FXTEXT_CHARPOS* pos = pCharPos; in GetDisplayPos() 166 FXSYS_memcpy(pTemp, pCharPos, sizeof(FXTEXT_CHARPOS) * nCharPosCount); in GetDisplayPos() 167 FX_Free(pCharPos); in GetDisplayPos() 168 pCharPos = pTemp; in GetDisplayPos()
|
D | fde_gedevice.cpp | 125 const FXTEXT_CHARPOS* pCharPos, in DrawString() argument 129 ASSERT(pBrush && pFont && pCharPos && iCount > 0); in DrawString() 134 FXTEXT_CHARPOS* pCP = (FXTEXT_CHARPOS*)pCharPos; in DrawString() 144 FXTEXT_CHARPOS* pCP = (FXTEXT_CHARPOS*)pCharPos; in DrawString()
|
D | cfde_txtedttextset.cpp | 49 FXTEXT_CHARPOS* pCharPos, in GetDisplayPos() argument 72 return pBreak->GetDisplayPos(&tr, pCharPos, bCharCode, pWSForms); in GetDisplayPos()
|
D | cfde_txtedttextset.h | 31 FXTEXT_CHARPOS* pCharPos,
|
D | ifde_txtedtpage.h | 35 FXTEXT_CHARPOS*& pCharPos,
|
D | fde_visualset.h | 65 FXTEXT_CHARPOS* pCharPos,
|
D | cfde_txtedtpage.h | 39 FXTEXT_CHARPOS*& pCharPos,
|
/external/pdfium/core/fxge/win32/ |
D | fx_win32_print.cpp | 199 const FXTEXT_CHARPOS* pCharPos, in DrawDeviceText() argument 294 const FXTEXT_CHARPOS& charpos = pCharPos[i]; in DrawDeviceText() 483 const FXTEXT_CHARPOS* pCharPos, in DrawDeviceText() argument 488 return m_PSRenderer.DrawText(nChars, pCharPos, pFont, pObject2Device, in DrawDeviceText()
|
D | cfx_psrenderer.h | 70 const FXTEXT_CHARPOS* pCharPos,
|
D | cfx_psrenderer.cpp | 632 const FXTEXT_CHARPOS* pCharPos, in DrawText() argument 657 FindPSFontGlyph(pFaceCache, pFont, pCharPos[i], &ps_fontnum, in DrawText() 663 buf << pCharPos[i].m_Origin.x << " " << pCharPos[i].m_Origin.y << " m"; in DrawText()
|
D | win32_int.h | 257 const FXTEXT_CHARPOS* pCharPos, 316 const FXTEXT_CHARPOS* pCharPos,
|
/external/pdfium/core/fxge/ |
D | cfx_renderdevice.h | 204 const FXTEXT_CHARPOS* pCharPos, 211 const FXTEXT_CHARPOS* pCharPos,
|
D | ifx_renderdevicedriver.cpp | 68 const FXTEXT_CHARPOS* pCharPos, in DrawDeviceText() argument
|
/external/pdfium/core/fxge/ge/ |
D | cfx_renderdevice.cpp | 849 const FXTEXT_CHARPOS* pCharPos, in DrawNormalText() argument 859 m_pDeviceDriver->DrawDeviceText(nChars, pCharPos, pFont, pText2Device, in DrawNormalText() 868 m_pDeviceDriver->DrawDeviceText(nChars, pCharPos, pFont, pText2Device, in DrawNormalText() 887 return DrawTextPath(nChars, pCharPos, pFont, font_size, pText2Device, in DrawNormalText() 928 const FXTEXT_CHARPOS& charpos = pCharPos[i]; in DrawNormalText() 1068 const FXTEXT_CHARPOS* pCharPos, in DrawTextPath() argument 1079 const FXTEXT_CHARPOS& charpos = pCharPos[iChar]; in DrawTextPath()
|