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