Home | History | Annotate | Download | only in fpdf_render

Lines Matching refs:nChars

524     void				Load(int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pCharPos, CPDF_Font* pFont, FX_FLOAT font_size);

539 void CPDF_CharPosList::Load(int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pCharPos, CPDF_Font* pFont,
542 m_pCharPos = FX_Alloc(FXTEXT_CHARPOS, nChars);
543 FXSYS_memset32(m_pCharPos, 0, sizeof(FXTEXT_CHARPOS) * nChars);
547 for (int iChar = 0; iChar < nChars; iChar ++) {
548 FX_DWORD CharCode = nChars == 1 ? (FX_DWORD)(FX_UINTPTR)pCharCodes : pCharCodes[iChar];
593 FX_BOOL CPDF_TextRenderer::DrawTextPath(CFX_RenderDevice* pDevice, int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pCharPos,
601 CharPosList.Load(nChars, pCharCodes, pCharPos, pFont, font_size);
621 int nChars = pFont->CountChar(str, str.GetLength());
622 if (nChars == 0) {
629 if (nChars == 1) {
634 pCharCodes = FX_Alloc(FX_DWORD, nChars);
635 pCharPos = FX_Alloc(FX_FLOAT, nChars - 1);
637 for (int i = 0; i < nChars; i ++) {
654 DrawNormalText(pDevice, nChars, pCharCodes, pCharPos, pFont, font_size, &matrix, fill_argb, pOptions);
656 DrawTextPath(pDevice, nChars, pCharCodes, pCharPos, pFont, font_size, &matrix, NULL, pGraphState,
658 if (nChars > 1) {
663 FX_BOOL CPDF_TextRenderer::DrawNormalText(CFX_RenderDevice* pDevice, int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pCharPos,
670 CharPosList.Load(nChars, pCharCodes, pCharPos, pFont, font_size);