Lines Matching refs:pKernArray

214     sal_Int32* pKernArray;  member
226 pKernArray( _pKernArray ), in CalcLinePosData()
255 sal_Int32 nKernStart = nStart ? rData.pKernArray[ sal_uInt16( nStart - 1 ) ] : 0; in lcl_calcLinePos()
256 sal_Int32 nKernEnd = rData.pKernArray[ sal_uInt16( nEnd - 1 ) ]; in lcl_calcLinePos()
1020 sal_Int32* pKernArray = new sal_Int32[rInf.GetLen()]; in DrawText() local
1023 pPrinter->GetTextArray( rInf.GetText(), pKernArray, in DrawText()
1026 rInf.GetOut().GetTextArray( rInf.GetText(), pKernArray, in DrawText()
1029 long nWidthPerChar = pKernArray[ rInf.GetLen() - 1 ] / rInf.GetLen(); in DrawText()
1038 long nCharWidth = pKernArray[ 0 ]; in DrawText()
1063 long nScr = pKernArray[ j ] - pKernArray[ j - 1 ]; in DrawText()
1072 pKernArray[ j - 1 ] = nNextFix - ( nScr / 2 ); in DrawText()
1075 pKernArray[ j - 1 ] = nNextFix - nHalfWidth; in DrawText()
1078 pKernArray[ j - 1 ] = nNextFix + nHalfWidth - nScr; in DrawText()
1083 pKernArray[ rInf.GetLen() - 1 ] = rInf.GetWidth() - in DrawText()
1090 pKernArray, rInf.GetIdx(), rInf.GetLen() ); in DrawText()
1092 delete[] pKernArray; in DrawText()
1116 sal_Int32* pKernArray = new sal_Int32[rInf.GetLen()]; in DrawText() local
1119 pPrinter->GetTextArray( rInf.GetText(), pKernArray, in DrawText()
1122 rInf.GetOut().GetTextArray( rInf.GetText(), pKernArray, in DrawText()
1139 pSI->Compress( pKernArray,rInf.GetIdx(), rInf.GetLen(), in DrawText()
1152 pKernArray[ nI ] += nSpaceSum; in DrawText()
1162 pKernArray[i] += nGridAddSum; in DrawText()
1171 pKernArray[i] += nKernSum; in DrawText()
1182 pKernArray[0] = rInf.GetWidth() + nSpaceAdd; in DrawText()
1184 pKernArray, rInf.GetIdx(), 1 ); in DrawText()
1188 pKernArray[ rInf.GetLen() - 2] += nSpaceAdd; in DrawText()
1190 pKernArray, rInf.GetIdx(), rInf.GetLen() ); in DrawText()
1196 pKernArray, rInf.GetIdx(), rInf.GetLen() ); in DrawText()
1214 pKernArray[i] = pKernArray[i] + nSpaceSum; in DrawText()
1215 aTmpPos.X() = aPos.X() + pKernArray[ i ] + nKernSum; in DrawText()
1231 pKernArray[i] += nGridAddSum; in DrawText()
1234 pKernArray, rInf.GetIdx(), rInf.GetLen() ); in DrawText()
1236 delete[] pKernArray; in DrawText()
1264 sal_Int32 *pKernArray = new sal_Int32[ rInf.GetLen() ]; in DrawText() local
1265 rInf.GetOut().GetTextArray( rInf.GetText(), pKernArray, in DrawText()
1271 long nDiff = rInf.GetWidth() - pKernArray[ nZwi ] in DrawText()
1289 pKernArray[ i ] += nSum; in DrawText()
1312 pSI->Compress( pKernArray, rInf.GetIdx(), rInf.GetLen(), in DrawText()
1328 pKernArray[ nI ] += nSpaceSum; in DrawText()
1343 pSI->KashidaJustify( pKernArray, 0, rInf.GetIdx(), in DrawText()
1361 SwScriptInfo::ThaiJustify( rInf.GetText(), pKernArray, 0, in DrawText()
1382 pKernArray[i] += nKernSum; in DrawText()
1394 pKernArray[0] = rInf.GetWidth() + nSpaceAdd; in DrawText()
1397 pKernArray, rInf.GetIdx(), 1 ); in DrawText()
1401 pKernArray[ rInf.GetLen() - 2 ] += nSpaceAdd; in DrawText()
1403 pKernArray, rInf.GetIdx(), rInf.GetLen() ); in DrawText()
1408 pKernArray, rInf.GetIdx(), rInf.GetLen() ); in DrawText()
1424 SwTwips nAdd = pKernArray[ i ] + nKernSum; in DrawText()
1434 delete[] pKernArray; in DrawText()
1477 sal_Int32 *pKernArray = new sal_Int32[ rInf.GetLen() ]; in DrawText() local
1496 pPrinter->GetTextArray( rInf.GetText(), pKernArray, rInf.GetIdx(), in DrawText()
1512 rInf.GetOut().GetTextArray( rInf.GetText(), pKernArray, in DrawText()
1538 pSI->Compress( pKernArray, rInf.GetIdx(), rInf.GetLen(), in DrawText()
1553 pKernArray[ nI ] += nSpaceSum; in DrawText()
1568 pSI->KashidaJustify( pKernArray, pScrArray, rInf.GetIdx(), in DrawText()
1583 SwScriptInfo::ThaiJustify( rInf.GetText(), pKernArray, in DrawText()
1631 pKernArray[0] = rInf.GetWidth() + in DrawText()
1642 pKernArray, rInf.GetIdx(), 1 ); in DrawText()
1644 rInf.GetOut().DrawTextArray( aPos, *pStr, pKernArray, in DrawText()
1689 lcl_Pos( 3, nScrPos, nScr, pKernArray[i-1], pKernArray[i] ); in DrawText()
1691 nScrPos = pKernArray[i-1] + nScr; in DrawText()
1705 lcl_Pos( 6, nScrPos, nScr, pKernArray[i-1], pKernArray[i] ); in DrawText()
1707 nScrPos = pKernArray[i-1] + nScr; in DrawText()
1714 lcl_Pos( 6, nScrPos, nScr, pKernArray[i-1], pKernArray[i] ); in DrawText()
1716 nScrPos = pKernArray[i-1] + nScr; in DrawText()
1721 lcl_Pos( 0, nScrPos, nScr, pKernArray[i-1], pKernArray[i] ); in DrawText()
1724 nScrPos = ( nMul * nScrPos + pKernArray[i] ) / nDiv; in DrawText()
1729 pKernArray[i-1] = nScrPos - nScr + nKernSum + nSpaceSum; in DrawText()
1735 pKernArray[i-1] = pKernArray[i-1] - nSpaceAdd; in DrawText()
1739 pKernArray[ rInf.GetLen() - 1 ] += nKernSum + nSpaceSum; in DrawText()
1762 long nKernVal = pKernArray[ sal_uInt16( rInf.GetLen() - 1 ) ]; in DrawText()
1820 nHalfSpace, pKernArray, bBidiPor); in DrawText()
1841 aPos.X() + pKernArray[ nOffs ] < rInf.GetLeft() ) in DrawText()
1847 aPos.X() + pKernArray[ nLen ] > rInf.GetRight() ) in DrawText()
1855 long nDiff = pKernArray[ nOffs - 1 ]; in DrawText()
1858 pKernArray[ nX ] -= nDiff; in DrawText()
1878 rInf.GetOut().DrawTextArray( aPos, *pStr, pKernArray + nOffs, in DrawText()
1883 delete[] pKernArray; in DrawText()
2015 sal_Int32 *pKernArray = new sal_Int32[nLn]; in GetTextSize() local
2021 pPrinter->GetTextArray( rInf.GetText(), pKernArray, rInf.GetIdx(),nLn ); in GetTextSize()
2023 rInf.SetKanaDiff( rInf.GetScriptInfo()->Compress( pKernArray, in GetTextSize()
2030 nScrPos = pKernArray[ nLn - 1 ]; in GetTextSize()
2058 nScrPos = pKernArray[i-1]+nScr; in GetTextSize()
2062 nScrPos = pKernArray[i-1]+nScr; in GetTextSize()
2066 nScrPos = ( nMul * nScrPos + pKernArray[i] ) / nDiv; in GetTextSize()
2070 pKernArray[i-1] = nScrPos - nScr; in GetTextSize()
2075 delete[] pKernArray; in GetTextSize()
2084 sal_Int32 *pKernArray = new sal_Int32[nLn]; in GetTextSize() local
2085 rInf.GetOut().GetTextArray( rInf.GetText(), pKernArray, in GetTextSize()
2087 rInf.SetKanaDiff( rInf.GetScriptInfo()->Compress( pKernArray, in GetTextSize()
2090 aTxtSize.Width() = pKernArray[ nLn - 1 ]; in GetTextSize()
2091 delete[] pKernArray; in GetTextSize()
2123 sal_Int32 *pKernArray = new sal_Int32[ rInf.GetLen() ]; in GetCrsrOfst() local
2130 pPrinter->GetTextArray( rInf.GetText(), pKernArray, in GetCrsrOfst()
2134 rInf.GetOut().GetTextArray( rInf.GetText(), pKernArray, in GetCrsrOfst()
2147 pSI->Compress( pKernArray, rInf.GetIdx(), rInf.GetLen(), in GetCrsrOfst()
2162 pKernArray[ nI ] += nSpaceSum; in GetCrsrOfst()
2177 pSI->KashidaJustify( pKernArray, 0, rInf.GetIdx(), rInf.GetLen(), in GetCrsrOfst()
2190 SwScriptInfo::ThaiJustify( rInf.GetText(), pKernArray, 0, in GetCrsrOfst()
2216 long nWidthPerChar = pKernArray[ rInf.GetLen() - 1 ] / rInf.GetLen(); in GetCrsrOfst()
2228 delete[] pKernArray; in GetCrsrOfst()
2252 long nScr = pKernArray[ j ] + ( nSpaceAdd + nGridWidthAdd ) * ( j + 1 ); in GetCrsrOfst()
2259 delete[] pKernArray; in GetCrsrOfst()
2300 nRight = pKernArray[ nIdx - rInf.GetIdx() - 1 ] + nKernSum + nSpaceSum; in GetCrsrOfst()
2318 delete[] pKernArray; in GetCrsrOfst()
2476 sal_Int32* pKernArray = new sal_Int32[rInf.GetLen()]; in GetTxtBreak() local
2477 rInf.GetOut().GetTextArray( rInf.GetText(), pKernArray, in GetTxtBreak()
2480 long nWidthPerChar = pKernArray[ rInf.GetLen() - 1 ] / rInf.GetLen(); in GetTxtBreak()
2495 delete[] pKernArray; in GetTxtBreak()
2516 sal_Int32* pKernArray = new sal_Int32[rInf.GetLen()]; in GetTxtBreak() local
2517 rInf.GetOut().GetTextArray( rInf.GetText(), pKernArray, in GetTxtBreak()
2519 long nCurrPos = pKernArray[nTxtBreak] + nGridWidthAdd; in GetTxtBreak()
2523 nCurrPos = pKernArray[nTxtBreak] + nGridWidthAdd * ( nTxtBreak + 1 ); in GetTxtBreak()
2525 delete[] pKernArray; in GetTxtBreak()
2608 sal_Int32 *pKernArray = new sal_Int32[ nLn ]; in GetTxtBreak() local
2609 rInf.GetOut().GetTextArray( rInf.GetText(), pKernArray, in GetTxtBreak()
2611 if( rInf.GetScriptInfo()->Compress( pKernArray, rInf.GetIdx(), nLn, in GetTxtBreak()
2618 while( nTxtBreak<nLn && nTextWidth >= pKernArray[nTxtBreak] +nKern ) in GetTxtBreak()
2626 delete[] pKernArray; in GetTxtBreak()