+ void paint_logic_mid(QPainter &p, ViewItemPaintParams &pp);
+
+ void paint_logic_caps(QPainter &p, QLineF *const lines,
+ vector< pair<int64_t, bool> > &edges,
+ bool level, double samples_per_pixel, double pixels_offset,
+ float x_offset, float y_offset);
+