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.cpp32 const FXTEXT_CHARPOS* pCharPos, in CGDrawGlyphRun() argument
64 pCharPos[i].m_ExtGID ? pCharPos[i].m_ExtGID : pCharPos[i].m_GlyphIndex; in CGDrawGlyphRun()
66 glyph_positions[i].x = -pCharPos[i].m_Origin.x; in CGDrawGlyphRun()
68 glyph_positions[i].x = pCharPos[i].m_Origin.x; in CGDrawGlyphRun()
69 glyph_positions[i].y = pCharPos[i].m_Origin.y; in CGDrawGlyphRun()
104 const FXTEXT_CHARPOS* pCharPos, in DrawDeviceText() argument
119 if (pCharPos[i].m_bGlyphAdjust) in DrawDeviceText()
154 bool ret = CGDrawGlyphRun(ctx, nChars, pCharPos, pFont, pObject2Device, in DrawDeviceText()
/external/pdfium/xfa/fgas/layout/
Dcfx_rtfbreak.cpp666 FXTEXT_CHARPOS* pCharPos, in GetDisplayPos() argument
711 if (pCharPos) { in GetDisplayPos()
730 pCharPos->m_GlyphIndex = wch; in GetDisplayPos()
732 pCharPos->m_GlyphIndex = pFont->GetGlyphIndex(wForm); in GetDisplayPos()
733 if (pCharPos->m_GlyphIndex == 0xFFFF) in GetDisplayPos()
734 pCharPos->m_GlyphIndex = pFont->GetGlyphIndex(wch); in GetDisplayPos()
737 pCharPos->m_ExtGID = pCharPos->m_GlyphIndex; in GetDisplayPos()
739 pCharPos->m_FontCharWidth = iCharWidth; in GetDisplayPos()
747 pCharPos->m_Origin = CFX_PointF(fX, fY); in GetDisplayPos()
752 pCharPos->m_bGlyphAdjust = true; in GetDisplayPos()
[all …]
Dcfx_txtbreak.cpp646 FXTEXT_CHARPOS* pCharPos) const { in GetDisplayPos()
795 if (!pCharPos) { in GetDisplayPos()
830 pCharPos->m_GlyphIndex = pFont->GetGlyphIndex(wForm); in GetDisplayPos()
832 pCharPos->m_ExtGID = pCharPos->m_GlyphIndex; in GetDisplayPos()
834 pCharPos->m_FontCharWidth = iCharWidth; in GetDisplayPos()
842 pCharPos->m_Origin = CFX_PointF(fX, fY); in GetDisplayPos()
848 pCharPos->m_Origin.x += fOffset; in GetDisplayPos()
854 pCharPos->m_Origin.y = in GetDisplayPos()
864 pCharPos->m_Origin.y -= fFontSize * rtBox.height / iMaxHeight; in GetDisplayPos()
873 pCharPos->m_bGlyphAdjust = true; in GetDisplayPos()
[all …]
Dcfx_rtfbreak.h61 FXTEXT_CHARPOS* pCharPos,
Dcfx_txtbreak.h68 FXTEXT_CHARPOS* pCharPos) const;
/external/pdfium/xfa/fxfa/
Dcxfa_textlayout.cpp566 FXTEXT_CHARPOS* pCharPos = nullptr; in DrawString() local
592 FX_Free(pCharPos); in DrawString()
593 pCharPos = FX_Alloc(FXTEXT_CHARPOS, iChars); in DrawString()
596 memset(pCharPos, 0, iCharCount * sizeof(FXTEXT_CHARPOS)); in DrawString()
597 RenderString(pFxDevice, pPieceLine, j, pCharPos, tmDoc2Device); in DrawString()
600 RenderPath(pFxDevice, pPieceLine, j, pCharPos, tmDoc2Device); in DrawString()
603 FX_Free(pCharPos); in DrawString()
1140 FXTEXT_CHARPOS* pCharPos, in RenderString() argument
1143 int32_t iCount = GetDisplayPos(pPiece, pCharPos); in RenderString()
1145 CFDE_TextOut::DrawString(pDevice, pPiece->dwColor, pPiece->pFont, pCharPos, in RenderString()
[all …]
Dcxfa_textlayout.h99 FXTEXT_CHARPOS* pCharPos,
104 FXTEXT_CHARPOS* pCharPos,
107 FXTEXT_CHARPOS* pCharPos,
/external/pdfium/xfa/fde/
Dcfde_textout.cpp39 FXTEXT_CHARPOS* pCharPos, in DrawString() argument
43 ASSERT(pFont && pCharPos && iCount > 0); in DrawString()
49 float* pAM = pCharPos->m_AdjustMatrix; in DrawString()
52 ++pCharPos; in DrawString()
72 pFont->GetSubstFont(static_cast<int32_t>(pCharPos->m_GlyphIndex)); in DrawString()
73 pCharPos->m_GlyphIndex &= 0x00FFFFFF; in DrawString()
74 pCharPos->m_bFontStyle = false; in DrawString()
91 pCurCP = pCharPos; in DrawString()
96 ++pCharPos; in DrawString()
Dcfde_textout.h30 FXTEXT_CHARPOS* pCharPos,
/external/pdfium/core/fxge/win32/
Dfx_win32_print.cpp200 const FXTEXT_CHARPOS* pCharPos, in DrawDeviceText() argument
296 const FXTEXT_CHARPOS& charpos = pCharPos[i]; in DrawDeviceText()
486 const FXTEXT_CHARPOS* pCharPos, in DrawDeviceText() argument
491 return m_PSRenderer.DrawText(nChars, pCharPos, pFont, pObject2Device, in DrawDeviceText()
595 const FXTEXT_CHARPOS* pCharPos, in DrawDeviceText() argument
628 const FXTEXT_CHARPOS& charpos = pCharPos[i]; in DrawDeviceText()
Dwin32_int.h260 const FXTEXT_CHARPOS* pCharPos,
319 const FXTEXT_CHARPOS* pCharPos,
382 const FXTEXT_CHARPOS* pCharPos,
Dcfx_psrenderer.cpp642 const FXTEXT_CHARPOS* pCharPos, in DrawText() argument
672 FindPSFontGlyph(pFaceCache, pFont, pCharPos[i], &ps_fontnum, in DrawText()
678 buf << pCharPos[i].m_Origin.x << " " << pCharPos[i].m_Origin.y << " m"; in DrawText()
Dcfx_psrenderer.h71 const FXTEXT_CHARPOS* pCharPos,
/external/pdfium/core/fxge/
Dcfx_renderdevice.h211 const FXTEXT_CHARPOS* pCharPos,
218 const FXTEXT_CHARPOS* pCharPos,
Difx_renderdevicedriver.cpp65 const FXTEXT_CHARPOS* pCharPos, in DrawDeviceText() argument
Dcfx_renderdevice.cpp868 const FXTEXT_CHARPOS* pCharPos, in DrawNormalText() argument
878 m_pDeviceDriver->DrawDeviceText(nChars, pCharPos, pFont, pText2Device, in DrawNormalText()
887 m_pDeviceDriver->DrawDeviceText(nChars, pCharPos, pFont, pText2Device, in DrawNormalText()
906 return DrawTextPath(nChars, pCharPos, pFont, font_size, pText2Device, in DrawNormalText()
947 const FXTEXT_CHARPOS& charpos = pCharPos[i]; in DrawNormalText()
1087 const FXTEXT_CHARPOS* pCharPos, in DrawTextPath() argument
1098 const FXTEXT_CHARPOS& charpos = pCharPos[iChar]; in DrawTextPath()
Difx_renderdevicedriver.h92 const FXTEXT_CHARPOS* pCharPos,
/external/pdfium/fxbarcode/oned/
DBC_OneDimWriter.cpp182 FXTEXT_CHARPOS* pCharPos, in ShowDeviceChars() argument
200 device->DrawNormalText(str.GetLength(), pCharPos, m_pFont.Get(), in ShowDeviceChars()
DBC_OneDimWriter.h72 FXTEXT_CHARPOS* pCharPos,
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.h95 const FXTEXT_CHARPOS* pCharPos,
Dfx_agg_driver.cpp1136 const FXTEXT_CHARPOS* pCharPos, in DrawDeviceText() argument
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp794 const FXTEXT_CHARPOS* pCharPos, in HasRSX() argument
801 const FXTEXT_CHARPOS& cp = pCharPos[index]; in HasRSX()
826 const FXTEXT_CHARPOS* pCharPos, in DrawText() argument
836 bool hasRSX = HasRSX(nChars, pCharPos, &scaleX, &oneAtATime); in DrawText()
870 const FXTEXT_CHARPOS& cp = pCharPos[index]; in DrawText()
886 const FXTEXT_CHARPOS& cp = pCharPos[index]; in DrawText()
1556 const FXTEXT_CHARPOS* pCharPos, in DrawDeviceText() argument
1561 if (m_pCache->DrawText(nChars, pCharPos, pFont, pObject2Device, font_size, in DrawDeviceText()
1588 const FXTEXT_CHARPOS& cp = pCharPos[index]; in DrawDeviceText()
1620 const FXTEXT_CHARPOS& cp = pCharPos[index]; in DrawDeviceText()
[all …]
Dfx_skia_device.h133 const FXTEXT_CHARPOS* pCharPos,