Home | History | Annotate | Download | only in fpdf_page

Lines Matching refs:nChars

286 void CPDF_TextObject::SetText(int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pKernings)

298 for (i = 0; i < nChars - 1; i ++)
302 m_nChars = nChars + nKernings;
307 for (int i = 0; i < nChars; i ++) {
309 if (pKernings[i] != 0 && i != nChars - 1) {
582 void CPDF_TextObject::SetData(int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pCharPos, FX_FLOAT x, FX_FLOAT y)
585 m_nChars = nChars;
588 if (nChars == 0) {
591 if (nChars == 1) {
594 m_pCharCodes = FX_Alloc(FX_DWORD, nChars);
595 FXSYS_memcpy32(m_pCharCodes, pCharCodes, sizeof(FX_DWORD)*nChars);
596 m_pCharPos = FX_Alloc(FX_FLOAT, nChars - 1);
597 FXSYS_memcpy32(m_pCharPos, pCharPos, sizeof(FX_FLOAT) * (nChars - 1));