[wip] Clean Rect and drawing

This commit is contained in:
Romain Goyet
2020-03-16 11:07:32 -04:00
committed by Émilie Feral
parent d71ad9b288
commit a0319905d7
5 changed files with 68 additions and 13 deletions

View File

@@ -11,6 +11,10 @@ public:
PlotView(PlotStore * s) : Shared::LabeledCurveView(s), m_store(s) {}
void drawRect(KDContext * ctx, KDRect rect) const override;
private:
void traceDot(KDContext * ctx, KDRect r, PlotStore::Dot dot) const;
void traceSegment(KDContext * ctx, KDRect r, PlotStore::Segment segment) const;
void traceRect(KDContext * ctx, KDRect r, PlotStore::Rect rect) const;
void traceLabel(KDContext * ctx, KDRect r, PlotStore::Label label) const;
PlotStore * m_store;
};