MCPcopy Create free account
hub / github.com/audacity/audacity / IndicatorWidthForHeight

Function IndicatorWidthForHeight

src/AdornedRulerPanel.cpp:103–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103inline int IndicatorWidthForHeight(int height)
104{
105 // Not an exact inverse of the above, with rounding, but good enough
106 return std::max(static_cast<int>(IndicatorSmallWidth),
107 (((height) * 2) / 3) * 2
108 );
109}
110
111inline int IndicatorBigHeight()
112{

Callers 1

IndicatorBigWidthFunction · 0.85

Calls 1

maxFunction · 0.85

Tested by

no test coverage detected