Lines Matching refs:nCharArray
300 FX_INT32 nCharArray = m_pEdit->GetCharArray();
302 if (nCharArray > 0)
311 for (FX_INT32 i=1;i<nCharArray;i++)
313 sLine << rcClient.left + ((rcClient.right - rcClient.left)/nCharArray)*i << " "
315 << rcClient.left + ((rcClient.right - rcClient.left)/nCharArray)*i << " "
330 for (FX_INT32 i=1;i<nCharArray;i++)
332 sLine << rcClient.left + ((rcClient.right - rcClient.left)/nCharArray)*i << " "
334 << rcClient.left + ((rcClient.right - rcClient.left)/nCharArray)*i << " "
413 FX_INT32 nCharArray = m_pEdit->GetCharArray();
415 if (nCharArray > 0)
425 path.SetPointCount((nCharArray-1)*2);
427 for (FX_INT32 i=0; i<nCharArray-1; i++)
429 path.SetPoint(i*2, rcClient.left + ((rcClient.right - rcClient.left)/nCharArray)*(i+1),
431 path.SetPoint(i*2+1, rcClient.left + ((rcClient.right - rcClient.left)/nCharArray)*(i+1),
450 path.SetPointCount((nCharArray-1)*2);
452 for (FX_INT32 i=0; i<nCharArray-1; i++)
454 path.SetPoint(i*2, rcClient.left + ((rcClient.right - rcClient.left)/nCharArray)*(i+1),
456 path.SetPoint(i*2+1, rcClient.left + ((rcClient.right - rcClient.left)/nCharArray)*(i+1),
820 FX_FLOAT CPWL_Edit::GetCharArrayAutoFontSize(CPDF_Font* pFont, const CPDF_Rect& rcPlate, FX_INT32 nCharArray)
828 FX_FLOAT xdiv = rcCell.Width() / nCharArray * 1000.0f / rcBBox.Width();
837 void CPWL_Edit::SetCharArray(FX_INT32 nCharArray)
839 if (HasFlag(PES_CHARARRAY) && nCharArray > 0)
841 m_pEdit->SetCharArray(nCharArray);
848 FX_FLOAT fFontSize = GetCharArrayAutoFontSize(pFontMap->GetPDFFont(0), GetClientRect(), nCharArray);