Lines Matching refs:nStart
187 virtual void MoveGlyph( int nStart, long nNewXPos );
188 virtual void DropGlyph( int nStart );
580 int SimpleWinLayout::GetNextGlyphs( int nLen, sal_GlyphId* pGlyphIds, Point& rPos, int& nStart, argument
584 if( nStart >= mnGlyphCount )
590 for( int i = 0; i < nStart; ++i )
601 sal_GlyphId aGlyphId = mpOutGlyphs[ nStart ];
622 *(pGlyphAdvances++) = mpGlyphAdvances[ nStart ];
627 nCharPos = nStart + mnMinCharPos;
629 nCharPos = mpGlyphs2Chars[nStart];
634 if( ++nStart >= mnGlyphCount )
639 if( mpGlyphAdvances[nStart-1] != mpGlyphOrigAdvs[nStart-1] )
906 void SimpleWinLayout::MoveGlyph( int nStart, long nNewXPos ) argument
908 if( nStart > mnGlyphCount )
914 for( int i = 0; i < nStart; ++i )
926 if( nStart > 0 )
927 mpGlyphAdvances[ nStart-1 ] += nDelta;
934 void SimpleWinLayout::DropGlyph( int nStart ) argument
936 mpOutGlyphs[ nStart ] = DROPPED_OUTGLYPH;
1063 virtual void MoveGlyph( int nStart, long nNewXPos );
1064 virtual void DropGlyph( int nStart );
1762 int nStart = nStartx8 >> 8; local
1765 if( nStart > mnGlyphCount ) // nStart>MAX means no more glyphs
1771 if( nStart <= 0 ) // nStart<=0 requests the first visible glyph
1780 nStart = pVI->mnMinGlyphPos;
1784 --nStart;
1788 if( (nStart >= pVI->mnMinGlyphPos)
1789 && (nStart < pVI->mnEndGlyphPos) )
1794 if( (nItem >= mnItemCount) || (nStart < 0) )
1821 if( nStart < nMinGlyphPos )
1822 nStart = nMinGlyphPos;
1829 for( int i = nMinGlyphPos; i < nStart; ++i )
1852 nXOffset += mpJustifications[ nStart ] - mpGlyphAdvances[ nStart ];
1890 const GOFFSET aGOffset = mpGlyphOffsets[ nStart ];
1899 sal_GlyphId aGlyphId = mpOutGlyphs[ nStart ];
1900 int nGlyphWidth = pGlyphWidths[ nStart ];
1903 nCharPos = mpGlyphs2Chars[ nStart ];
1909 && mpVisualAttrs[nStart].uJustification >= SCRIPT_JUSTIFY_ARABIC_NORMAL )
1914 nGlyphWidth = mpGlyphAdvances[ nStart ];
1915 const int nExtraWidth = mpJustifications[ nStart ] - nGlyphWidth;
1965 if( ++nStart >= nEndGlyphPos )
1967 nStart = nNextItemStart;
1978 if( (mpGlyphOffsets && (mpGlyphOffsets[nStart].du != aGOffset.du) )
1979 || (mpJustifications && (mpJustifications[nStart] != mpGlyphAdvances[nStart]) ) )
1983 if( mpGlyphOffsets && (mpGlyphOffsets[nStart].dv != aGOffset.dv) )
1987 ++nStart;
1988 nStartx8 = (nStart << 8) + nSubIter;
1997 int nStart = nStartx8 >> 8; local
1998 if( nStart > mnGlyphCount )
2003 if( nStart == 0 ) // nStart==0 for first visible glyph
2008 nStart = nMinGlyphPos;
2009 DBG_ASSERT( nStart <= mnGlyphCount, "USPLayout::MoveG overflow" );
2013 --nStart;
2015 if( (nStart >= pVI->mnMinGlyphPos) && (nStart < pVI->mnEndGlyphPos) )
2023 if( nStart > nMinGlyphPos )
2027 for( i = nMinGlyphPos; i < nStart; ++i )
2064 int nStart = nStartx8 >> 8; local
2065 DBG_ASSERT( nStart<=mnGlyphCount, "USPLayout::MoveG nStart overflow" );
2067 if( nStart > 0 ) // nStart>0 means absolute glyph pos + 1
2068 --nStart;
2073 if( GetItemSubrange( *pVI, nStart, nDummy ) )
2075 DBG_ASSERT( nStart <= mnGlyphCount, "USPLayout::DropG overflow" );
2079 if (j == nStart)
2081 pVI->mnXOffset += ((mpJustifications)? mpJustifications[nStart] : mpGlyphAdvances[nStart]);
2085 mpOutGlyphs[ nStart ] = DROPPED_OUTGLYPH;
2837 virtual void MoveGlyph( int nStart, long nNewXPos );
2838 virtual void DropGlyph( int nStart );