MCPcopy Create free account
hub / github.com/apohl79/audiogridder / paint

Method paint

Server/Source/StatisticsWindow.cpp:237–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237void StatisticsWindow::HirozontalLine::paint(Graphics& g) {
238 g.setColour(Colours::white);
239 g.setOpacity(0.3f);
240 int y = getHeight() / 2 + 3;
241 juce::Rectangle<int> r(getX(), y, getWidth(), 5);
242 Line<float> line(r.toFloat().getTopLeft(), r.toFloat().getTopRight());
243 float dashs[] = {6.0, 4.0};
244 g.drawDashedLine(line, dashs, 2);
245}
246
247} // namespace e47

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected