C# Класс AlphaTab.Rendering.BarRendererBase

This is the base public class for creating blocks which can render bars.
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Описание методов

AddBeatGlyph() защищенный Метод

protected AddBeatGlyph ( BeatContainerGlyph g ) : void
g BeatContainerGlyph
Результат void

AddPostBeatGlyph() защищенный Метод

protected AddPostBeatGlyph ( Glyph g ) : void
g Glyph
Результат void

AddPreBeatGlyph() защищенный Метод

protected AddPreBeatGlyph ( Glyph g ) : void
g Glyph
Результат void

ApplyLayoutingInfo() публичный Метод

public ApplyLayoutingInfo ( ) : void
Результат void

BarRendererBase() публичный Метод

public BarRendererBase ( Bar bar ) : System
bar AlphaTab.Model.Bar
Результат System

BuildBoundingsLookup() публичный Метод

public BuildBoundingsLookup ( MasterBarBounds masterBarBounds, float cx, float cy ) : void
masterBarBounds AlphaTab.Rendering.Utils.MasterBarBounds
cx float
cy float
Результат void

CreateBeatGlyphs() защищенный Метод

protected CreateBeatGlyphs ( ) : void
Результат void

CreatePostBeatGlyphs() защищенный Метод

protected CreatePostBeatGlyphs ( ) : void
Результат void

CreatePreBeatGlyphs() защищенный Метод

protected CreatePreBeatGlyphs ( ) : void
Результат void

DoLayout() публичный Метод

public DoLayout ( ) : void
Результат void

FinalizeRenderer() публичный Метод

public FinalizeRenderer ( ScoreLayout layout ) : void
layout AlphaTab.Rendering.Layout.ScoreLayout
Результат void

GetBeatContainer() публичный Метод

public GetBeatContainer ( Beat beat ) : BeatContainerGlyph
beat AlphaTab.Model.Beat
Результат BeatContainerGlyph

GetBeatX() публичный Метод

public GetBeatX ( Beat beat, BeatXPosition requestedPosition = BeatXPosition.PreNotes ) : float
beat AlphaTab.Model.Beat
requestedPosition BeatXPosition
Результат float

GetNoteX() публичный Метод

public GetNoteX ( Note note, bool onEnd = true ) : float
note AlphaTab.Model.Note
onEnd bool
Результат float

GetNoteY() публичный Метод

public GetNoteY ( Note note ) : float
note AlphaTab.Model.Note
Результат float

GetOnNotesGlyphForBeat() публичный Метод

public GetOnNotesGlyphForBeat ( Beat beat ) : BeatGlyphBase
beat AlphaTab.Model.Beat
Результат BeatGlyphBase

GetOrCreateVoiceContainer() защищенный Метод

protected GetOrCreateVoiceContainer ( Voice voice ) : VoiceContainerGlyph
voice AlphaTab.Model.Voice
Результат VoiceContainerGlyph

GetPreNotesGlyphForBeat() публичный Метод

public GetPreNotesGlyphForBeat ( Beat beat ) : BeatGlyphBase
beat AlphaTab.Model.Beat
Результат BeatGlyphBase

Paint() публичный Метод

public Paint ( float cx, float cy, ICanvas canvas ) : void
cx float
cy float
canvas ICanvas
Результат void

PaintBackground() защищенный Метод

protected PaintBackground ( float cx, float cy, ICanvas canvas ) : void
cx float
cy float
canvas ICanvas
Результат void

RegisterLayoutingInfo() публичный Метод

public RegisterLayoutingInfo ( BarLayoutingInfo info ) : void
info AlphaTab.Rendering.Staves.BarLayoutingInfo
Результат void

RegisterOverflowBottom() публичный Метод

public RegisterOverflowBottom ( float bottomOverflow ) : void
bottomOverflow float
Результат void

RegisterOverflowTop() публичный Метод

public RegisterOverflowTop ( float topOverflow ) : void
topOverflow float
Результат void

ScaleToWidth() публичный Метод

public ScaleToWidth ( float width ) : void
width float
Результат void