2 overrides of GetCharacterHitFromDistance
PresentationCore (2)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (1)
879public override CharacterHit GetCharacterHitFromDistance(
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (1)
657public override CharacterHit GetCharacterHitFromDistance(
9 references to GetCharacterHitFromDistance
PresentationFramework (9)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (1)
297return _line.GetCharacterHitFromDistance(distance - delta);
src\Framework\MS\Internal\PtsHost\Line.cs (4)
570return line.GetCharacterHitFromDistance(TextDpi.FromTextDpi(urDistance)); 572return _line.GetCharacterHitFromDistance(TextDpi.FromTextDpi(urDistance - delta)); 602charIndex = line.GetCharacterHitFromDistance(TextDpi.FromTextDpi(urOffset)); 607charIndex = _line.GetCharacterHitFromDistance(TextDpi.FromTextDpi(urOffset - delta));
src\Framework\MS\Internal\Text\ComplexLine.cs (2)
284charHit = line.GetCharacterHitFromDistance(offset); 289charHit = _line.GetCharacterHitFromDistance(offset - delta);
src\Framework\MS\Internal\Text\Line.cs (2)
216return line.GetCharacterHitFromDistance(distance); 218return _line.GetCharacterHitFromDistance(distance - delta);