MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / GetEnd

Method GetEnd

Source/CanvasElement.cpp:167–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167float CanvasElement::GetEnd(int col, float offset, float length) const
168{
169 return (col + offset + length) / mCanvas->GetNumCols();
170}
171
172float CanvasElement::GetStart() const
173{

Callers 12

OnTransportAdvancedMethod · 0.80
OnTransportAdvancedMethod · 0.80
OnTransportAdvancedMethod · 0.80
FitNotesMethod · 0.80
ClipNotesMethod · 0.80
LoadMidiMethod · 0.80
ProcessMethod · 0.80
RenderMethod · 0.80
MouseMovedMethod · 0.80
GetElementAtMethod · 0.80
FillElementsAtMethod · 0.80
EraseElementsAtMethod · 0.80

Calls 2

GetNumColsMethod · 0.80
GetWidthMethod · 0.45

Tested by

no test coverage detected