wxPlot 1.8 Real time plot library for wxWidgets

Loading...
Searching...
No Matches
spline.hpp
1#pragma once
2
3#include <vector>
4#include <wx/wx.h>
5#include "../line/line.hpp"
6
11 class Spline: public Line {
12 private:
13
14 public:
22 void draw(wxDC& dc, const std::vector<double>& xData, const std::vector<double>& yData, const unsigned int colourIndex) override;
23};
Line
Line class. Does the most of the things in 2D.
Definition line.hpp:10
Spline
Spline class. Inheritance from class Line.
Definition spline.hpp:11
Spline::draw
void draw(wxDC &dc, const std::vector< double > &xData, const std::vector< double > &yData, const unsigned int colourIndex) override
Draw the spline plot inside the rectangle.
Definition spline.cpp:5