mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-24 16:20:49 +01:00
22 lines
630 B
C++
22 lines
630 B
C++
#ifndef GRAPH_GRAPH_VIEW_H
|
|
#define GRAPH_GRAPH_VIEW_H
|
|
|
|
#include "../../shared/function_graph_view.h"
|
|
#include "../cartesian_function_store.h"
|
|
|
|
namespace Graph {
|
|
|
|
class GraphView : public Shared::FunctionGraphView {
|
|
public:
|
|
GraphView(CartesianFunctionStore * functionStore, Shared::InteractiveCurveViewRange * graphRange,
|
|
Shared::CurveViewCursor * cursor, Shared::BannerView * bannerView, View * cursorView);
|
|
void drawRect(KDContext * ctx, KDRect rect) const override;
|
|
private:
|
|
float evaluateModelWithParameter(Model * expression, float abscissa) const override;
|
|
CartesianFunctionStore * m_functionStore;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|