C# 클래스 AlphaTab.Rendering.BarRendererBase

This is the base public class for creating blocks which can render bars.
파일 보기 프로젝트 열기: CoderLine/alphaTab

공개 메소드들

메소드 설명
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