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

Function DrawPoint

src/EnvelopeEditor.cpp:28–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27namespace {
28void DrawPoint(wxDC & dc, const wxRect & r, int x, int y, bool top)
29{
30 if (y >= 0 && y <= r.height) {
31 wxRect circle(r.x + x, r.y + (top ? y - 1: y - 2), 4, 4);
32 dc.DrawEllipse(circle);
33 }
34}
35}
36
37void EnvelopeEditor::DrawPoints(const Envelope &env,

Callers 1

DrawPointsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected