Lines Matching refs:nIndex
152 Rectangle ControlLayoutData::GetCharacterBounds( long nIndex ) const in GetCharacterBounds()
154 …return (nIndex >= 0 && nIndex < (long) m_aUnicodeBoundRects.size()) ? m_aUnicodeBoundRects[ nIndex… in GetCharacterBounds()
160 Rectangle Control::GetCharacterBounds( long nIndex ) const in GetCharacterBounds()
164 …return mpControlData->mpLayoutData ? mpControlData->mpLayoutData->GetCharacterBounds( nIndex ) : R… in GetCharacterBounds()
171 long nIndex = -1; in GetIndexForPoint() local
176 nIndex = i; in GetIndexForPoint()
180 return nIndex; in GetIndexForPoint()
247 long ControlLayoutData::ToRelativeLineIndex( long nIndex ) const in ToRelativeLineIndex()
250 if( nIndex >= 0 && nIndex < m_aDisplayText.Len() ) in ToRelativeLineIndex()
260 if( m_aLineIndices[nLine] <= nIndex ) in ToRelativeLineIndex()
262 nIndex -= m_aLineIndices[nLine]; in ToRelativeLineIndex()
269 nIndex = -1; in ToRelativeLineIndex()
274 nIndex = -1; in ToRelativeLineIndex()
276 return nIndex; in ToRelativeLineIndex()
281 long Control::ToRelativeLineIndex( long nIndex ) const in ToRelativeLineIndex()
285 …return mpControlData->mpLayoutData ? mpControlData->mpLayoutData->ToRelativeLineIndex( nIndex ) : … in ToRelativeLineIndex()