C# Class AlphaTab.Rendering.Layout.ScoreLayout

This is the base public class for creating new layouting engines for the score renderer.
Show file Open project: CoderLine/alphaTab Class Usage Examples

Protected Properties

Property Type Description
ScoreInfoGlyphs TextGlyph>.FastDictionary
TuningGlyph AlphaTab.Rendering.Glyphs.TuningGlyph

Public Methods

Method Description
GetRendererForBar ( string key, Bar bar ) : BarRendererBase
LayoutAndRender ( ) : void
RegisterBarRenderer ( string key, BarRendererBase renderer ) : void
RenderAnnotation ( ) : void
Resize ( ) : void
UnregisterBarRenderer ( string key, BarRendererBase renderer ) : void

Protected Methods

Method Description
CreateEmptyStaveGroup ( ) : StaveGroup
DoLayoutAndRender ( ) : void
ScoreLayout ( ScoreRenderer renderer ) : System

Private Methods

Method Description
CreateScoreInfoGlyphs ( ) : void
GetBarRendererId ( int trackId, int barId ) : string

Method Details

CreateEmptyStaveGroup() protected method

protected CreateEmptyStaveGroup ( ) : StaveGroup
return AlphaTab.Rendering.Staves.StaveGroup

DoLayoutAndRender() protected abstract method

protected abstract DoLayoutAndRender ( ) : void
return void

GetRendererForBar() public method

public GetRendererForBar ( string key, Bar bar ) : BarRendererBase
key string
bar AlphaTab.Model.Bar
return BarRendererBase

LayoutAndRender() public method

public LayoutAndRender ( ) : void
return void

RegisterBarRenderer() public method

public RegisterBarRenderer ( string key, BarRendererBase renderer ) : void
key string
renderer BarRendererBase
return void

RenderAnnotation() public method

public RenderAnnotation ( ) : void
return void

Resize() public abstract method

public abstract Resize ( ) : void
return void

ScoreLayout() protected method

protected ScoreLayout ( ScoreRenderer renderer ) : System
renderer ScoreRenderer
return System

UnregisterBarRenderer() public method

public UnregisterBarRenderer ( string key, BarRendererBase renderer ) : void
key string
renderer BarRendererBase
return void

Property Details

ScoreInfoGlyphs protected property

protected FastDictionary ScoreInfoGlyphs
return TextGlyph>.FastDictionary

TuningGlyph protected property

protected TuningGlyph,AlphaTab.Rendering.Glyphs TuningGlyph
return AlphaTab.Rendering.Glyphs.TuningGlyph