C# Class AlphaTab.Rendering.TabBarRenderer

This BarRenderer renders a bar using guitar tablature notation
Inheritance: BarRendererBase
Show file Open project: CoderLine/alphaTab Class Usage Examples

Public Methods

Method Description
DoLayout ( ) : void
GetNoteX ( Note note, bool onEnd = true ) : float
GetNoteY ( Note note ) : float
GetTabY ( int line, float correction ) : float

Gets the relative y position of the given steps relative to first line.

TabBarRenderer ( Bar bar ) : AlphaTab.Model

Protected Methods

Method Description
CreateBeatGlyphs ( ) : void
CreatePostBeatGlyphs ( ) : void
CreatePreBeatGlyphs ( ) : void
PaintBackground ( float cx, float cy, ICanvas canvas ) : void

Private Methods

Method Description
CreateVoiceGlyphs ( Voice v ) : void

Method Details

CreateBeatGlyphs() protected method

protected CreateBeatGlyphs ( ) : void
return void

CreatePostBeatGlyphs() protected method

protected CreatePostBeatGlyphs ( ) : void
return void

CreatePreBeatGlyphs() protected method

protected CreatePreBeatGlyphs ( ) : void
return void

DoLayout() public method

public DoLayout ( ) : void
return void

GetNoteX() public method

public GetNoteX ( Note note, bool onEnd = true ) : float
note AlphaTab.Model.Note
onEnd bool
return float

GetNoteY() public method

public GetNoteY ( Note note ) : float
note AlphaTab.Model.Note
return float

GetTabY() public method

Gets the relative y position of the given steps relative to first line.
public GetTabY ( int line, float correction ) : float
line int the amount of steps while 2 steps are one line
correction float
return float

PaintBackground() protected method

protected PaintBackground ( float cx, float cy, ICanvas canvas ) : void
cx float
cy float
canvas ICanvas
return void

TabBarRenderer() public method

public TabBarRenderer ( Bar bar ) : AlphaTab.Model
bar AlphaTab.Model.Bar
return AlphaTab.Model