Home
last modified time | relevance | path

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

12

/external/pdfium/xfa/src/fgas/src/layout/
Dfx_textbreak.cpp1169 FXTEXT_CHARPOS* pCharPos, in GetDisplayPos() argument
1359 if (pCharPos == NULL) { in GetDisplayPos()
1393 pCharPos->m_GlyphIndex = in GetDisplayPos()
1395 pCharPos->m_ExtGID = pCharPos->m_GlyphIndex; in GetDisplayPos()
1396 pCharPos->m_FontCharWidth = iCharWidth; in GetDisplayPos()
1417 pCharPos->m_OriginX = fX; in GetDisplayPos()
1418 pCharPos->m_OriginY = fY; in GetDisplayPos()
1424 pCharPos->m_OriginY += fOffset; in GetDisplayPos()
1426 pCharPos->m_OriginX += fOffset; in GetDisplayPos()
1433 pCharPos->m_OriginY = in GetDisplayPos()
[all …]
Dfx_rtfbreak.cpp1178 FXTEXT_CHARPOS* pCharPos, in GetDisplayPos() argument
1257 if (pCharPos != NULL) { in GetDisplayPos()
1287 pCharPos->m_GlyphIndex = wch; in GetDisplayPos()
1289 pCharPos->m_GlyphIndex = pFont->GetGlyphIndex(wForm, bMBCSCode); in GetDisplayPos()
1290 if (pCharPos->m_GlyphIndex == 0xFFFF) { in GetDisplayPos()
1291 pCharPos->m_GlyphIndex = pFont->GetGlyphIndex(wch, bMBCSCode); in GetDisplayPos()
1294 pCharPos->m_ExtGID = pCharPos->m_GlyphIndex; in GetDisplayPos()
1295 pCharPos->m_FontCharWidth = iCharWidth; in GetDisplayPos()
1331 pCharPos->m_OriginX = fX + ptOffset.x; in GetDisplayPos()
1332 pCharPos->m_OriginY = fY - ptOffset.y; in GetDisplayPos()
[all …]
/external/pdfium/core/src/fxge/apple/
Dfx_apple_platform.cpp44 const FXTEXT_CHARPOS* pCharPos, in _CGDrawGlyphRun() argument
60 FX_FLOAT ori_x = pCharPos[0].m_OriginX, ori_y = pCharPos[0].m_OriginY; in _CGDrawGlyphRun()
80 glyph_indices[i] = pCharPos[i].m_ExtGID; in _CGDrawGlyphRun()
82 glyph_positions[i].x = -pCharPos[i].m_OriginX; in _CGDrawGlyphRun()
84 glyph_positions[i].x = pCharPos[i].m_OriginX; in _CGDrawGlyphRun()
86 glyph_positions[i].y = pCharPos[i].m_OriginY; in _CGDrawGlyphRun()
101 const FXTEXT_CHARPOS* pCharPos, in DrawDeviceText() argument
119 if (pCharPos[i].m_bGlyphAdjust) { in DrawDeviceText()
156 _CGDrawGlyphRun(ctx, nChars, pCharPos, pFont, pCache, pObject2Device, in DrawDeviceText()
Dfx_quartz_device.cpp739 const FXTEXT_CHARPOS* pCharPos, in CG_DrawGlypRun() argument
766 glyph_indices[i] = pCharPos[i].m_ExtGID; in CG_DrawGlypRun()
767 glyph_positions[i].x = pCharPos[i].m_OriginX; in CG_DrawGlypRun()
768 glyph_positions[i].y = pCharPos[i].m_OriginY; in CG_DrawGlypRun()
805 const FXTEXT_CHARPOS* pCharPos, in DrawDeviceText() argument
827 if (pCharPos[i].m_bGlyphAdjust || font_size < 0) { in DrawDeviceText()
829 ret = CG_DrawGlypRun(i, pCharPos, pFont, pCache, NULL, pObject2Device, in DrawDeviceText()
836 const FXTEXT_CHARPOS* char_pos = pCharPos + i; in DrawDeviceText()
854 pCharPos += i; in DrawDeviceText()
862 ret = CG_DrawGlypRun(i, pCharPos, pFont, pCache, NULL, pObject2Device, in DrawDeviceText()
Dapple_int.h166 const FXTEXT_CHARPOS* pCharPos,
186 const FXTEXT_CHARPOS* pCharPos,
/external/pdfium/xfa/src/fxbarcode/oned/
DBC_OnedUPCAWriter.cpp127 FXTEXT_CHARPOS* pCharPos = FX_Alloc(FXTEXT_CHARPOS, iLen); in ShowChars() local
128 FXSYS_memset(pCharPos, 0, sizeof(FXTEXT_CHARPOS) * iLen); in ShowChars()
181 CalcTextInfo(tempStr, pCharPos + 1, m_pFont, strWidth, iFontSize, blank); in ShowChars()
187 ge.DrawNormalText(iLen, pCharPos + 1, m_pFont, in ShowChars()
199 device->DrawNormalText(iLen, pCharPos + 1, m_pFont, in ShowChars()
207 CalcTextInfo(tempStr, pCharPos + 6, m_pFont, strWidth, iFontSize, blank); in ShowChars()
211 ge.DrawNormalText(iLen, pCharPos + 6, m_pFont, in ShowChars()
225 device->DrawNormalText(iLen, pCharPos + 6, m_pFont, in ShowChars()
236 CalcTextInfo(tempStr, pCharPos, m_pFont, strWidth, iFontSize, blank); in ShowChars()
241 ge.DrawNormalText(iLen, pCharPos, m_pFont, in ShowChars()
[all …]
DBC_OnedEAN13Writer.cpp171 FXTEXT_CHARPOS* pCharPos = FX_Alloc(FXTEXT_CHARPOS, iLen); in ShowChars() local
172 FXSYS_memset(pCharPos, 0, sizeof(FXTEXT_CHARPOS) * iLen); in ShowChars()
215 CalcTextInfo(tempStr, pCharPos + 1, m_pFont, (FX_FLOAT)strWidth, iFontSize, in ShowChars()
223 ge.DrawNormalText(iLen, pCharPos + 1, m_pFont, in ShowChars()
235 device->DrawNormalText(iLen, pCharPos + 1, m_pFont, in ShowChars()
243 CalcTextInfo(tempStr, pCharPos + 7, m_pFont, (FX_FLOAT)strWidth, iFontSize, in ShowChars()
248 ge.DrawNormalText(iLen, pCharPos + 7, m_pFont, in ShowChars()
262 device->DrawNormalText(iLen, pCharPos + 7, m_pFont, in ShowChars()
273 CalcTextInfo(tempStr, pCharPos, m_pFont, (FX_FLOAT)strWidth, iFontSize, in ShowChars()
279 ge.DrawNormalText(iLen, pCharPos, m_pFont, in ShowChars()
[all …]
DBC_OnedEAN8Writer.cpp175 FXTEXT_CHARPOS* pCharPos = FX_Alloc(FXTEXT_CHARPOS, iLength); in ShowChars() local
176 FXSYS_memset(pCharPos, 0, sizeof(FXTEXT_CHARPOS) * iLength); in ShowChars()
211 CalcTextInfo(tempStr, pCharPos, m_pFont, (FX_FLOAT)strWidth, iFontSize, in ShowChars()
219 ge.DrawNormalText(iLen, pCharPos, m_pFont, in ShowChars()
229 device->DrawNormalText(iLen, pCharPos, m_pFont, in ShowChars()
237 CalcTextInfo(tempStr, pCharPos + 4, m_pFont, (FX_FLOAT)strWidth, iFontSize, in ShowChars()
243 ge.DrawNormalText(iLen, pCharPos + 4, m_pFont, in ShowChars()
257 device->DrawNormalText(iLen, pCharPos + 4, m_pFont, in ShowChars()
262 FX_Free(pCharPos); in ShowChars()
DBC_OneDimWriter.cpp185 FXTEXT_CHARPOS* pCharPos, in ShowDeviceChars() argument
204 device->DrawNormalText(str.GetLength(), pCharPos, m_pFont, in ShowDeviceChars()
212 FXTEXT_CHARPOS* pCharPos, in ShowBitmapChars() argument
223 ge.DrawNormalText(str.GetLength(), pCharPos, m_pFont, in ShowBitmapChars()
247 FXTEXT_CHARPOS* pCharPos = FX_Alloc(FXTEXT_CHARPOS, iLen); in ShowChars() local
248 FXSYS_memset(pCharPos, 0, sizeof(FXTEXT_CHARPOS) * iLen); in ShowChars()
260 CalcTextInfo(str, pCharPos, m_pFont, geWidth, iFontSize, charsLen); in ShowChars()
290 ShowDeviceChars(device, matrix, str, geWidth, pCharPos, (FX_FLOAT)locX, in ShowChars()
293 ShowBitmapChars(pOutBitmap, str, geWidth, pCharPos, (FX_FLOAT)locX, in ShowChars()
296 FX_Free(pCharPos); in ShowChars()
DBC_OneDimWriter.h99 FXTEXT_CHARPOS* pCharPos,
107 FXTEXT_CHARPOS* pCharPos,
/external/pdfium/xfa/src/fdp/src/fde/
Dfde_gdidevice.cpp144 const FXTEXT_CHARPOS* pCharPos, in DrawString() argument
148 FXSYS_assert(pBrush != NULL && pFont != NULL && pCharPos != NULL); in DrawString()
162 if (pCharPos->m_bGlyphAdjust) { in DrawString()
164 ma * -pCharPos->m_AdjustMatrix[0] + mb * pCharPos->m_AdjustMatrix[2]; in DrawString()
166 -ma * pCharPos->m_AdjustMatrix[1] + mb * pCharPos->m_AdjustMatrix[3]; in DrawString()
168 mc * -pCharPos->m_AdjustMatrix[0] + md * pCharPos->m_AdjustMatrix[2]; in DrawString()
170 -mc * pCharPos->m_AdjustMatrix[1] + md * pCharPos->m_AdjustMatrix[3]; in DrawString()
190 FX_DWORD dwSize = pGdiFont->GetGlyphDIBits(pCharPos->m_GlyphIndex, argb, in DrawString()
200 pGdiFont->GetGlyphDIBits(pCharPos->m_GlyphIndex, argb, &mat2, gm, in DrawString()
205 fx = pMatrix->a * pCharPos->m_OriginX + in DrawString()
[all …]
Dfde_gedevice.h35 const FXTEXT_CHARPOS* pCharPos,
107 const FXTEXT_CHARPOS* pCharPos,
113 const FXTEXT_CHARPOS* pCharPos,
Dfde_gedevice.cpp135 const FXTEXT_CHARPOS* pCharPos, in DrawString() argument
139 FXSYS_assert(pBrush != NULL && pFont != NULL && pCharPos != NULL && in DrawString()
148 FXTEXT_CHARPOS* pCP = (FXTEXT_CHARPOS*)pCharPos; in DrawString()
158 FXTEXT_CHARPOS* pCP = (FXTEXT_CHARPOS*)pCharPos; in DrawString()
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_textlayout.cpp1249 FXTEXT_CHARPOS* pCharPos = NULL; in DrawString() local
1274 FX_Free(pCharPos); in DrawString()
1275 pCharPos = FX_Alloc(FXTEXT_CHARPOS, iChars); in DrawString()
1278 FXSYS_memset(pCharPos, 0, iCharCount * sizeof(FXTEXT_CHARPOS)); in DrawString()
1279 RenderString(pDevice, pSolidBrush, pPieceLine, j, pCharPos, tmDoc2Device); in DrawString()
1282 RenderPath(pDevice, pPen, pPieceLine, j, pCharPos, tmDoc2Device); in DrawString()
1286 FX_Free(pCharPos); in DrawString()
1868 FXTEXT_CHARPOS* pCharPos, in RenderString() argument
1871 int32_t iCount = GetDisplayPos(pPiece, pCharPos); in RenderString()
1874 pDevice->DrawString(pBrush, pPiece->pFont, pCharPos, iCount, in RenderString()
[all …]
Dxfa_textlayout.h377 FXTEXT_CHARPOS* pCharPos,
383 FXTEXT_CHARPOS* pCharPos,
386 FXTEXT_CHARPOS* pCharPos,
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_text.cpp515 FX_FLOAT* pCharPos,
530 FX_FLOAT* pCharPos, in Load() argument
557 charpos.m_OriginX = iChar ? pCharPos[iChar - 1] : 0; in Load()
589 FX_FLOAT* pCharPos, in DrawTextPath() argument
603 CharPosList.Load(nChars, pCharCodes, pCharPos, pFont, font_size); in DrawTextPath()
645 FX_FLOAT* pCharPos; in DrawTextString() local
649 pCharPos = NULL; in DrawTextString()
652 pCharPos = FX_Alloc(FX_FLOAT, nChars - 1); in DrawTextString()
657 pCharPos[i - 1] = cur_pos; in DrawTextString()
671 DrawNormalText(pDevice, nChars, pCharCodes, pCharPos, pFont, font_size, in DrawTextString()
[all …]
/external/pdfium/core/include/fpdfapi/
Dfpdf_render.h187 FX_FLOAT* pCharPos,
201 FX_FLOAT* pCharPos,
211 FX_FLOAT* pCharPos,
Dfpdf_pageobj.h453 FX_FLOAT* pCharPos,
457 void GetData(int& nChars, FX_DWORD*& pCharCodes, FX_FLOAT*& pCharPos) { in GetData() argument
460 pCharPos = m_pCharPos; in GetData()
/external/pdfium/xfa/src/fee/src/fee/
Dfde_txtedtpage.cpp64 FXTEXT_CHARPOS* pCharPos, in GetDisplayPos() argument
92 return pBreak->GetDisplayPos(&tr, pCharPos, bCharCode, pWSForms); in GetDisplayPos()
290 FXTEXT_CHARPOS*& pCharPos, in GetDisplayPos() argument
292 pCharPos = FX_Alloc(FXTEXT_CHARPOS, m_nCharCount); in GetDisplayPos()
296 FXTEXT_CHARPOS* pos = pCharPos; in GetDisplayPos()
310 FXSYS_memcpy(pTemp, pCharPos, sizeof(FXTEXT_CHARPOS) * nCharPosCount); in GetDisplayPos()
311 FX_Free(pCharPos); in GetDisplayPos()
312 pCharPos = pTemp; in GetDisplayPos()
Dfde_txtedtpage.h77 FXTEXT_CHARPOS* pCharPos,
111 FXTEXT_CHARPOS*& pCharPos,
/external/pdfium/xfa/src/fee/include/
Difde_txtedtpage.h30 FXTEXT_CHARPOS*& pCharPos,
/external/pdfium/core/include/fxge/
Dfx_ge.h379 const FXTEXT_CHARPOS* pCharPos,
390 const FXTEXT_CHARPOS* pCharPos,
593 const FXTEXT_CHARPOS* pCharPos,
683 const FXTEXT_CHARPOS* pCharPos,
/external/pdfium/core/src/fxge/ge/
Dfx_ge_ps.cpp643 const FXTEXT_CHARPOS* pCharPos, in DrawText() argument
674 FindPSFontGlyph(pFaceCache, pFont, pCharPos[i], ps_fontnum, ps_glyphindex); in DrawText()
679 buf << pCharPos[i].m_OriginX << " " << pCharPos[i].m_OriginY << " m"; in DrawText()
/external/pdfium/core/src/fxge/skia/
Dfx_skia_device.h115 const FXTEXT_CHARPOS* pCharPos,
/external/pdfium/core/src/fxge/agg/include/
Dfx_agg_driver.h116 const FXTEXT_CHARPOS* pCharPos,

12