C# Class AvalonStudio.TextEditor.Rendering.VisualLineGeometryBuilder

Afficher le fichier Open project: VitalElement/AvalonStudio Class Usage Examples

Méthodes publiques

Méthode Description
GetDocumentTextPosition ( TextView textView, int offset ) : Avalonia.Rect
GetLinesForSegmentInDocument ( TextDocument textDocument, ISegment segment, bool extendToFullWidthAtLineEnd = false ) : IEnumerable
GetLinesForSegmentOnScreen ( TextView textView, ISegment segment, bool extendToFullWidthAtLineEnd = false ) : IEnumerable
GetRectsForSegment ( TextView textView, ISegment segment, bool extendToFullWidthAtLineEnd = false ) : IEnumerable
GetTextPositionInViewPort ( TextView textView, TextViewPosition position ) : Avalonia.Rect
GetTextViewPosition ( TextView textView, int offset ) : Avalonia.Rect
GetViewPortPosition ( TextView textView, int offset ) : Avalonia.Rect

Private Methods

Méthode Description
GetOffsetForLinesInSegmentInDocument ( TextDocument textDocument, ISegment segment, bool extendToFullWidthAtLineEnd = false ) : int>>.IEnumerable
GetOffsetForLinesInSegmentOnScreen ( TextView textView, ISegment segment, bool extendToFullWidthAtLineEnd = false ) : int>>.IEnumerable

Method Details

GetDocumentTextPosition() public static méthode

public static GetDocumentTextPosition ( TextView textView, int offset ) : Avalonia.Rect
textView TextView
offset int
Résultat Avalonia.Rect

GetLinesForSegmentInDocument() public static méthode

public static GetLinesForSegmentInDocument ( TextDocument textDocument, ISegment segment, bool extendToFullWidthAtLineEnd = false ) : IEnumerable
textDocument AvalonStudio.TextEditor.Document.TextDocument
segment ISegment
extendToFullWidthAtLineEnd bool
Résultat IEnumerable

GetLinesForSegmentOnScreen() public static méthode

public static GetLinesForSegmentOnScreen ( TextView textView, ISegment segment, bool extendToFullWidthAtLineEnd = false ) : IEnumerable
textView TextView
segment ISegment
extendToFullWidthAtLineEnd bool
Résultat IEnumerable

GetRectsForSegment() public static méthode

public static GetRectsForSegment ( TextView textView, ISegment segment, bool extendToFullWidthAtLineEnd = false ) : IEnumerable
textView TextView
segment ISegment
extendToFullWidthAtLineEnd bool
Résultat IEnumerable

GetTextPositionInViewPort() public static méthode

public static GetTextPositionInViewPort ( TextView textView, TextViewPosition position ) : Avalonia.Rect
textView TextView
position TextViewPosition
Résultat Avalonia.Rect

GetTextViewPosition() public static méthode

public static GetTextViewPosition ( TextView textView, int offset ) : Avalonia.Rect
textView TextView
offset int
Résultat Avalonia.Rect

GetViewPortPosition() public static méthode

public static GetViewPortPosition ( TextView textView, int offset ) : Avalonia.Rect
textView TextView
offset int
Résultat Avalonia.Rect