Home
last modified time | relevance | path

Searched refs:pCharPos (Results 1 – 23 of 23) sorted by relevance

/external/pdfium/core/fxge/apple/
Dfx_apple_platform.cpp37 const TextCharPos* pCharPos, in CGDrawGlyphRun() argument
66 pCharPos[i].m_ExtGID ? pCharPos[i].m_ExtGID : pCharPos[i].m_GlyphIndex; in CGDrawGlyphRun()
68 glyph_positions[i].x = -pCharPos[i].m_Origin.x; in CGDrawGlyphRun()
70 glyph_positions[i].x = pCharPos[i].m_Origin.x; in CGDrawGlyphRun()
71 glyph_positions[i].y = pCharPos[i].m_Origin.y; in CGDrawGlyphRun()
106 const TextCharPos* pCharPos, in DrawDeviceText() argument
121 if (pCharPos[i].m_bGlyphAdjust) in DrawDeviceText()
156 bool ret = CGDrawGlyphRun(ctx, nChars, pCharPos, pFont, mtObject2Device, in DrawDeviceText()
/external/pdfium/xfa/fgas/layout/
Dcfx_txtbreak.cpp662 TextCharPos* pCharPos) const { in GetDisplayPos()
811 if (!pCharPos) { in GetDisplayPos()
846 pCharPos->m_GlyphIndex = pFont->GetGlyphIndex(wForm); in GetDisplayPos()
848 pCharPos->m_ExtGID = pCharPos->m_GlyphIndex; in GetDisplayPos()
852 pCharPos->m_FontCharWidth = iCharWidth; in GetDisplayPos()
860 pCharPos->m_Origin = CFX_PointF(fX, fY); in GetDisplayPos()
866 pCharPos->m_Origin.x += fOffset; in GetDisplayPos()
872 pCharPos->m_Origin.y = in GetDisplayPos()
879 pCharPos->m_Origin.y -= fFontSize * rtBox.Height() / iMaxHeight; in GetDisplayPos()
888 pCharPos->m_bGlyphAdjust = true; in GetDisplayPos()
[all …]
Dcfx_rtfbreak.h46 std::vector<TextCharPos>* pCharPos) const;
Dcfx_txtbreak.h72 size_t GetDisplayPos(const Run* pTxtRun, TextCharPos* pCharPos) const;
Dcfx_rtfbreak.cpp720 std::vector<TextCharPos>* pCharPos) const { in GetDisplayPos()
749 TextCharPos& current_char_pos = (*pCharPos)[szCount]; in GetDisplayPos()
/external/pdfium/xfa/fxfa/
Dcxfa_textlayout.cpp1117 std::vector<TextCharPos>* pCharPos, in RenderString() argument
1120 size_t szCount = GetDisplayPos(pPiece, pCharPos); in RenderString()
1122 auto span = pdfium::make_span(pCharPos->data(), szCount); in RenderString()
1132 std::vector<TextCharPos>* pCharPos, in RenderPath() argument
1141 size_t szChars = GetDisplayPos(pPiece, pCharPos); in RenderPath()
1145 float fEndY = (*pCharPos)[0].m_Origin.y + 1.05f; in RenderPath()
1149 pt1.x = (*pCharPos)[j].m_Origin.x; in RenderPath()
1151 (*pCharPos)[j].m_FontCharWidth * pPiece->fFontSize / 1000.0f; in RenderPath()
1158 pt1.x = (*pCharPos)[0].m_Origin.x; in RenderPath()
1159 pt2.x = (*pCharPos)[szChars - 1].m_Origin.x + in RenderPath()
[all …]
Dcxfa_textlayout.h107 std::vector<TextCharPos>* pCharPos,
112 std::vector<TextCharPos>* pCharPos,
115 std::vector<TextCharPos>* pCharPos);
/external/pdfium/core/fxge/win32/
Dfx_win32_print.cpp203 const TextCharPos* pCharPos, in DrawDeviceText() argument
298 const TextCharPos& charpos = pCharPos[i]; in DrawDeviceText()
507 const TextCharPos* pCharPos, in DrawDeviceText() argument
512 return m_PSRenderer.DrawText(nChars, pCharPos, pFont, mtObject2Device, in DrawDeviceText()
620 const TextCharPos* pCharPos, in DrawDeviceText() argument
653 const TextCharPos& charpos = pCharPos[i]; in DrawDeviceText()
Dwin32_int.h211 const TextCharPos* pCharPos,
274 const TextCharPos* pCharPos,
338 const TextCharPos* pCharPos,
Dcfx_psrenderer.cpp575 const TextCharPos* pCharPos, in DrawText() argument
609 FindPSFontGlyph(pGlyphCache.Get(), pFont, pCharPos[i], &ps_fontnum, in DrawText()
615 buf << pCharPos[i].m_Origin.x << " " << pCharPos[i].m_Origin.y << " m"; in DrawText()
Dcfx_psrenderer.h94 const TextCharPos* pCharPos,
/external/pdfium/xfa/fde/
Dcfde_textout.cpp44 pdfium::span<TextCharPos> pCharPos, in DrawString() argument
48 ASSERT(!pCharPos.empty()); in DrawString()
52 for (auto& pos : pCharPos) { in DrawString()
73 for (auto& pos : pCharPos) { in DrawString()
Dcfde_textout.h41 pdfium::span<TextCharPos> pCharPos,
/external/pdfium/core/fxge/
Drenderdevicedriver_iface.cpp63 const TextCharPos* pCharPos, in DrawDeviceText() argument
Dcfx_renderdevice.h159 const TextCharPos* pCharPos,
166 const TextCharPos* pCharPos,
Dcfx_renderdevice.cpp853 const TextCharPos* pCharPos, in DrawNormalText() argument
864 nChars, pCharPos, pFont, mtText2Device, font_size, fill_color)) { in DrawNormalText()
872 m_pDeviceDriver->DrawDeviceText(nChars, pCharPos, pFont, mtText2Device, in DrawNormalText()
886 return DrawTextPath(nChars, pCharPos, pFont, font_size, mtText2Device, in DrawNormalText()
921 const TextCharPos& charpos = pCharPos[i]; in DrawNormalText()
1044 const TextCharPos* pCharPos, in DrawTextPath() argument
1055 const TextCharPos& charpos = pCharPos[iChar]; in DrawTextPath()
Drenderdevicedriver_iface.h100 const TextCharPos* pCharPos,
/external/pdfium/fxbarcode/oned/
DBC_OneDimWriter.cpp157 TextCharPos* pCharPos, in ShowDeviceChars() argument
175 device->DrawNormalText(str.GetLength(), pCharPos, m_pFont.Get(), in ShowDeviceChars()
DBC_OneDimWriter.h66 TextCharPos* pCharPos,
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.h97 const TextCharPos* pCharPos,
Dfx_agg_driver.cpp1160 const TextCharPos* pCharPos, in DrawDeviceText() argument
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp831 const TextCharPos* pCharPos, in HasRSX() argument
838 const TextCharPos& cp = pCharPos[index]; in HasRSX()
863 const TextCharPos* pCharPos, in DrawText() argument
873 bool hasRSX = HasRSX(nChars, pCharPos, &scaleX, &oneAtATime); in DrawText()
914 const TextCharPos& cp = pCharPos[index]; in DrawText()
937 const TextCharPos& cp = pCharPos[index]; in DrawText()
1656 const TextCharPos* pCharPos, in DrawDeviceText() argument
1661 if (m_pCache->DrawText(nChars, pCharPos, pFont, mtObject2Device, font_size, in DrawDeviceText()
1691 const TextCharPos& cp = pCharPos[index]; in DrawDeviceText()
1723 const TextCharPos& cp = pCharPos[index]; in DrawDeviceText()
[all …]
Dfx_skia_device.h135 const TextCharPos* pCharPos,