MCPcopy Create free account
hub / github.com/DamRsn/NeuralNote / _timeToPixel

Method _timeToPixel

NeuralNote/Source/Components/PianoRoll.cpp:139–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139float PianoRoll::_timeToPixel(float inTime) const
140{
141 return inTime * static_cast<float>(mBaseNumPixelsPerSecond * mZoomLevel);
142}
143
144float PianoRoll::_pixelToTime(float inPixel) const
145{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected