MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / getY

Method getY

FastCopy/SpeedGraph.xaml.cpp:134–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 }
133
134 float SpeedGraph::getY(uint64_t speed)
135 {
136 return m_graphSize.Height * (1.0f - static_cast<float>(speed) / m_currentMax / m_ratio);
137 }
138
139 void SpeedGraph::resizeGraphPoint(float ratio)
140 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected