| 26 | |
| 27 | namespace { |
| 28 | void 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 | |
| 37 | void EnvelopeEditor::DrawPoints(const Envelope &env, |