Lines Matching refs:i
293 int i = mnCharCount; in AdjustLayout() local
294 while( (--i >= 0) && IsSpacingGlyph( rArgs.mpStr[mnMinCharPos+i]|GF_ISCHAR ) ) {} in AdjustLayout()
295 if( i < 0 ) // nothing to do if the text is all spaces in AdjustLayout()
299 if( i > 0 ) in AdjustLayout()
300 mnTrailingSpaceWidth -= rArgs.mpDXArray[ i-1 ]; in AdjustLayout()
302 mnTrailingSpaceWidth -= Fixed2Vcl( mpCharWidths[i] ); in AdjustLayout()
493 for( int i = 0; i < nStart; ++i ) in GetNextGlyphs() local
494 nXOffset += mpGlyphAdvances[ i ]; in GetNextGlyphs()
634 for( ItemCount i = 0; i < nBoundsCount; ++i ) in GetTextWidth() local
636 const ATSTrapezoid& rTrap = aTrapezoidVector[i]; in GetTextWidth()
637 if( (i == 0) || (nLeftBound < rTrap.lowerLeft.x) ) in GetTextWidth()
639 if( (i == 0) || (nRightBound > rTrap.lowerRight.x) ) in GetTextWidth()
678 for( int i = 0; i < mnCharCount; ++i ) in FillDXArray() local
681 mnCachedWidth += mpCharWidths[i]; in FillDXArray()
684 pDXArray[i] = nPixWidth - nOldPixWidth; in FillDXArray()
719 for( int i = 0; i < mnCharCount; ++i ) in GetTextBreak() local
721 nATSUSumWidth += mpCharWidths[i]; in GetTextBreak()
723 return (mnMinCharPos + i); in GetTextBreak()
726 if( i+1 < mnCharCount ) in GetTextBreak()
727 return (mnMinCharPos + i); in GetTextBreak()
795 for( int i = 0; i < nMaxIndex; ++i ) in GetCaretPositions() local
796 pCaretXArray[ i ] = -1; in GetCaretPositions()
901 for( ItemCount i = 0; i < iLayoutDataCount; ++i ) in InitGIA() local
903 const ATSLayoutRecord& rALR = pALR[i]; in InitGIA()
907 if( i+1 < iLayoutDataCount ) in InitGIA()
908 mpCharWidths[ nRelativeIdx ] += pALR[i+1].realPos - rALR.realPos; in InitGIA()
955 for( int i = 0; i < mnCharCount; ++i ) in InitGIA() local
958 nSumCharWidths += mpCharWidths[i]; in InitGIA()
961 const Fixed nNextXPos = Vcl2Fixed(pArgs->mpDXArray[i]); in InitGIA()
967 int j = i; in InitGIA()
1020 for( int i = 0;i < mnGlyphCount;++i ) in GetIdealX() local
1021 mpGlyphOrigAdvs[i] = FloatToFixed( aIdealMetrics[i].advance.x ); in GetIdealX()
1153 for( int i = 0; i < mnPointCount; ++i )
1155 mpNewPoints[ i ] = mpPointAry[ i ];
1156 mpNewFlags[ i ] = mpFlagAry[ i ];