Home
last modified time | relevance | path

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

12

/external/pdfium/xfa/fgas/layout/
Dfgas_textbreak.cpp1142 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 …]
Dfgas_rtfbreak.cpp863 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/
Dfx_apple_platform.cpp30 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/
DBC_OnedUPCAWriter.cpp136 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 …]
DBC_OnedEAN13Writer.cpp185 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 …]
DBC_OnedEAN8Writer.cpp183 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()
DBC_OneDimWriter.cpp204 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()
DBC_OneDimWriter.h80 FXTEXT_CHARPOS* pCharPos,
88 FXTEXT_CHARPOS* pCharPos,
/external/pdfium/xfa/fxfa/app/
Dcxfa_textlayout.cpp578 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 …]
Dcxfa_textlayout.h107 FXTEXT_CHARPOS* pCharPos,
113 FXTEXT_CHARPOS* pCharPos,
116 FXTEXT_CHARPOS* pCharPos,
/external/pdfium/xfa/fde/
Dfde_gedevice.h44 const FXTEXT_CHARPOS* pCharPos,
105 const FXTEXT_CHARPOS* pCharPos,
111 const FXTEXT_CHARPOS* pCharPos,
Dcfde_txtedtpage.cpp151 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()
Dfde_gedevice.cpp125 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()
Dcfde_txtedttextset.cpp49 FXTEXT_CHARPOS* pCharPos, in GetDisplayPos() argument
72 return pBreak->GetDisplayPos(&tr, pCharPos, bCharCode, pWSForms); in GetDisplayPos()
Dcfde_txtedttextset.h31 FXTEXT_CHARPOS* pCharPos,
Difde_txtedtpage.h35 FXTEXT_CHARPOS*& pCharPos,
Dfde_visualset.h65 FXTEXT_CHARPOS* pCharPos,
Dcfde_txtedtpage.h39 FXTEXT_CHARPOS*& pCharPos,
/external/pdfium/core/fxge/win32/
Dfx_win32_print.cpp199 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()
Dcfx_psrenderer.h70 const FXTEXT_CHARPOS* pCharPos,
Dcfx_psrenderer.cpp632 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()
Dwin32_int.h257 const FXTEXT_CHARPOS* pCharPos,
316 const FXTEXT_CHARPOS* pCharPos,
/external/pdfium/core/fxge/
Dcfx_renderdevice.h204 const FXTEXT_CHARPOS* pCharPos,
211 const FXTEXT_CHARPOS* pCharPos,
Difx_renderdevicedriver.cpp68 const FXTEXT_CHARPOS* pCharPos, in DrawDeviceText() argument
/external/pdfium/core/fxge/ge/
Dcfx_renderdevice.cpp849 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()

12