Home | History | Annotate | Download | only in reflow

Lines Matching refs:beginPos

834 void CPDF_LayoutProcessor_Reflow::Transform(const CFX_AffineMatrix* pMatrix, CRF_DataPtrArray* pDataArray, int beginPos, int count)
842 count += beginPos;
844 for(int i = beginPos; i < count; i++) {
1125 FX_FLOAT CPDF_LayoutProcessor_Reflow:: GetDatasWidth(int beginPos, int endpos)
1127 if(endpos < beginPos || !m_pTempLine) {
1133 CRF_Data* pBeginData = (*m_pTempLine)[beginPos];
1367 int beginPos = 0, endPos = m_pTempLine->GetSize() - 1;
1368 while(beginPos <= endPos) {
1369 int tempBeginPos = beginPos;
1371 FX_FLOAT all_width = GetDatasWidth( beginPos, endPos);
1373 CRF_CharData* pBeginData = (CRF_CharData*)(*m_pTempLine)[beginPos];
1375 Transform(&matrix, m_pTempLine, beginPos, endPos - beginPos + 1);
1376 AddTemp2CurrLine(beginPos, endPos - beginPos + 1);
1389 FX_FLOAT w = GetDatasWidth( beginPos, midPos);
1398 FX_FLOAT w = GetDatasWidth( beginPos, 1);
1412 for(i = midPos; i >= beginPos; i--) {
1429 if(f < beginPos) {
1435 CRF_CharData* pBeginData = (CRF_CharData*)(*m_pTempLine)[beginPos];
1437 Transform(&matrix, m_pTempLine, beginPos, f - beginPos + 1);
1439 AddTemp2CurrLine(beginPos, f - beginPos + 1);
1440 beginPos = i;
1446 if(f == -1 && i < beginPos) {
1489 CRF_CharData* pData = (CRF_CharData*)(*m_pTempLine)[beginPos];
1491 if(beginPos == midPos) {
1505 for(int m = beginPos; m <= midPos; m++) {
1512 beginPos = midPos + 1;