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

Method _pixelToTime

NeuralNote/Source/Components/PianoRoll.cpp:144–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144float PianoRoll::_pixelToTime(float inPixel) const
145{
146 return inPixel / static_cast<float>(mBaseNumPixelsPerSecond * mZoomLevel);
147}
148
149std::pair<float, float> PianoRoll::_getNoteHeightAndWidthPianoRoll(int inNote) const
150{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected