C# Class ICSharpCode.AvalonEdit.Rendering.SingleCharacterElementGenerator.SpecialCharacterTextRun

Inheritance: ICSharpCode.AvalonEdit.Rendering.FormattedTextRun
Show file Open project: kjk/kjkpub

Public Methods

Method Description
ComputeBoundingBox ( bool rightToLeft, bool sideways ) : Rect
Draw ( System.Windows.Media.DrawingContext drawingContext, Point origin, bool rightToLeft, bool sideways ) : void
Format ( double remainingParagraphWidth ) : System.Windows.Media.TextFormatting.TextEmbeddedObjectMetrics
SpecialCharacterTextRun ( ICSharpCode.AvalonEdit.Rendering.FormattedTextElement element, System.Windows.Media.TextFormatting.TextRunProperties properties ) : System

Method Details

ComputeBoundingBox() public method

public ComputeBoundingBox ( bool rightToLeft, bool sideways ) : Rect
rightToLeft bool
sideways bool
return System.Windows.Rect

Draw() public method

public Draw ( System.Windows.Media.DrawingContext drawingContext, Point origin, bool rightToLeft, bool sideways ) : void
drawingContext System.Windows.Media.DrawingContext
origin Point
rightToLeft bool
sideways bool
return void

Format() public method

public Format ( double remainingParagraphWidth ) : System.Windows.Media.TextFormatting.TextEmbeddedObjectMetrics
remainingParagraphWidth double
return System.Windows.Media.TextFormatting.TextEmbeddedObjectMetrics

SpecialCharacterTextRun() public method

public SpecialCharacterTextRun ( ICSharpCode.AvalonEdit.Rendering.FormattedTextElement element, System.Windows.Media.TextFormatting.TextRunProperties properties ) : System
element ICSharpCode.AvalonEdit.Rendering.FormattedTextElement
properties System.Windows.Media.TextFormatting.TextRunProperties
return System