+ wxColour const col = _colours[c];
+
+ if (_type_visible[AudioPoint::RMS]) {
+ gc->SetPen (*wxThePenList->FindOrCreatePen (col));
+ gc->StrokePath (path[AudioPoint::RMS]);
+ }
+
+ if (_type_visible[AudioPoint::PEAK]) {
+ gc->SetPen (*wxThePenList->FindOrCreatePen (wxColour (col.Red(), col.Green(), col.Blue(), col.Alpha() / 2)));
+ gc->StrokePath (path[AudioPoint::PEAK]);
+ }
+ }
+
+ wxGraphicsPath axes = gc->CreatePath ();
+ axes.MoveToPoint (db_label_width, 0);
+ axes.AddLineToPoint (db_label_width, height - yo);
+ axes.AddLineToPoint (db_label_width + data_width, height - yo);
+ gc->SetPen (*wxBLACK_PEN);
+ gc->StrokePath (axes);