Files
Upsilon/apps/graph/cartesian_function.h
Émilie Feral 6d47bc0073 [apps/shared] Add a method symbol in function store
Change-Id: I9f85f815d3ab28425d4df77b6ff4880efde17909
2017-03-02 18:15:48 +01:00

23 lines
528 B
C++

#ifndef GRAPH_CARTESIAN_FUNCTION_H
#define GRAPH_CARTESIAN_FUNCTION_H
#include "../shared/function.h"
namespace Graph {
class CartesianFunction : public Shared::Function {
public:
using Shared::Function::Function;
CartesianFunction(const char * text = nullptr, KDColor color = KDColorBlack);
bool displayDerivative();
void setDisplayDerivative(bool display);
float approximateDerivative(float x, Poincare::Context * context) const;
char symbol() const override;
private:
bool m_displayDerivative;
};
}
#endif