C# Class AlphaTab.Rendering.BarRendererBase

This is the base public class for creating blocks which can render bars.
Afficher le fichier Open project: CoderLine/alphaTab

Méthodes publiques

Méthode Description
ApplyLayoutingInfo ( ) : void
BarRendererBase ( Bar bar ) : System
BuildBoundingsLookup ( MasterBarBounds masterBarBounds, float cx, float cy ) : void
DoLayout ( ) : void
FinalizeRenderer ( ScoreLayout layout ) : void
GetBeatContainer ( Beat beat ) : BeatContainerGlyph
GetBeatX ( Beat beat, BeatXPosition requestedPosition = BeatXPosition.PreNotes ) : float
GetNoteX ( Note note, bool onEnd = true ) : float
GetNoteY ( Note note ) : float
GetOnNotesGlyphForBeat ( Beat beat ) : BeatGlyphBase
GetPreNotesGlyphForBeat ( Beat beat ) : BeatGlyphBase
Paint ( float cx, float cy, ICanvas canvas ) : void
RegisterLayoutingInfo ( BarLayoutingInfo info ) : void
RegisterOverflowBottom ( float bottomOverflow ) : void
RegisterOverflowTop ( float topOverflow ) : void
ScaleToWidth ( float width ) : void

Méthodes protégées

Méthode Description
AddBeatGlyph ( BeatContainerGlyph g ) : void
AddPostBeatGlyph ( Glyph g ) : void
AddPreBeatGlyph ( Glyph g ) : void
CreateBeatGlyphs ( ) : void
CreatePostBeatGlyphs ( ) : void
CreatePreBeatGlyphs ( ) : void
GetOrCreateVoiceContainer ( Voice voice ) : VoiceContainerGlyph
PaintBackground ( float cx, float cy, ICanvas canvas ) : void

Method Details

AddBeatGlyph() protected méthode

protected AddBeatGlyph ( BeatContainerGlyph g ) : void
g BeatContainerGlyph
Résultat void

AddPostBeatGlyph() protected méthode

protected AddPostBeatGlyph ( Glyph g ) : void
g Glyph
Résultat void

AddPreBeatGlyph() protected méthode

protected AddPreBeatGlyph ( Glyph g ) : void
g Glyph
Résultat void

ApplyLayoutingInfo() public méthode

public ApplyLayoutingInfo ( ) : void
Résultat void

BarRendererBase() public méthode

public BarRendererBase ( Bar bar ) : System
bar AlphaTab.Model.Bar
Résultat System

BuildBoundingsLookup() public méthode

public BuildBoundingsLookup ( MasterBarBounds masterBarBounds, float cx, float cy ) : void
masterBarBounds AlphaTab.Rendering.Utils.MasterBarBounds
cx float
cy float
Résultat void

CreateBeatGlyphs() protected méthode

protected CreateBeatGlyphs ( ) : void
Résultat void

CreatePostBeatGlyphs() protected méthode

protected CreatePostBeatGlyphs ( ) : void
Résultat void

CreatePreBeatGlyphs() protected méthode

protected CreatePreBeatGlyphs ( ) : void
Résultat void

DoLayout() public méthode

public DoLayout ( ) : void
Résultat void

FinalizeRenderer() public méthode

public FinalizeRenderer ( ScoreLayout layout ) : void
layout AlphaTab.Rendering.Layout.ScoreLayout
Résultat void

GetBeatContainer() public méthode

public GetBeatContainer ( Beat beat ) : BeatContainerGlyph
beat AlphaTab.Model.Beat
Résultat BeatContainerGlyph

GetBeatX() public méthode

public GetBeatX ( Beat beat, BeatXPosition requestedPosition = BeatXPosition.PreNotes ) : float
beat AlphaTab.Model.Beat
requestedPosition BeatXPosition
Résultat float

GetNoteX() public méthode

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

GetNoteY() public méthode

public GetNoteY ( Note note ) : float
note AlphaTab.Model.Note
Résultat float

GetOnNotesGlyphForBeat() public méthode

public GetOnNotesGlyphForBeat ( Beat beat ) : BeatGlyphBase
beat AlphaTab.Model.Beat
Résultat BeatGlyphBase

GetOrCreateVoiceContainer() protected méthode

protected GetOrCreateVoiceContainer ( Voice voice ) : VoiceContainerGlyph
voice AlphaTab.Model.Voice
Résultat VoiceContainerGlyph

GetPreNotesGlyphForBeat() public méthode

public GetPreNotesGlyphForBeat ( Beat beat ) : BeatGlyphBase
beat AlphaTab.Model.Beat
Résultat BeatGlyphBase

Paint() public méthode

public Paint ( float cx, float cy, ICanvas canvas ) : void
cx float
cy float
canvas ICanvas
Résultat void

PaintBackground() protected méthode

protected PaintBackground ( float cx, float cy, ICanvas canvas ) : void
cx float
cy float
canvas ICanvas
Résultat void

RegisterLayoutingInfo() public méthode

public RegisterLayoutingInfo ( BarLayoutingInfo info ) : void
info AlphaTab.Rendering.Staves.BarLayoutingInfo
Résultat void

RegisterOverflowBottom() public méthode

public RegisterOverflowBottom ( float bottomOverflow ) : void
bottomOverflow float
Résultat void

RegisterOverflowTop() public méthode

public RegisterOverflowTop ( float topOverflow ) : void
topOverflow float
Résultat void

ScaleToWidth() public méthode

public ScaleToWidth ( float width ) : void
width float
Résultat void