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

Method UpdateNumColumns

Source/NoteCanvas.cpp:263–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263void NoteCanvas::UpdateNumColumns()
264{
265 mCanvas->RescaleNumCols(TheTransport->CountInStandardMeasure(mInterval) * mNumMeasures);
266 if (mInterval < kInterval_8n)
267 mCanvas->SetMajorColumnInterval(TheTransport->CountInStandardMeasure(mInterval));
268 else
269 mCanvas->SetMajorColumnInterval(TheTransport->CountInStandardMeasure(mInterval) / 4);
270}
271
272void NoteCanvas::Clear(double time)
273{

Callers

nothing calls this directly

Calls 3

RescaleNumColsMethod · 0.80

Tested by

no test coverage detected