11 m_functionStore(functionStore),
21 return FunctionGraphView::reload();
25 FunctionGraphView::drawRect(ctx, rect);
46 float tangentParameter[2];
50 float * tangent = (
float *)
model;
51 return tangent[0]*t+tangent[1];
Poincare::Context * context() const
Function * m_selectedFunction
void drawRect(KDContext *ctx, KDRect rect) const override
const SettingsMessageTree model
void markRectAsDirty(KDRect rect)
void drawCurve(KDContext *ctx, KDRect rect, EvaluateModelWithParameter evaluation, void *model, void *context, KDColor color, bool colorUnderCurve=false, float colorLowerBound=0.0f, float colorUpperBound=0.0f, bool continuously=false) const
CurveViewCursor * m_curveViewCursor
double approximateDerivative(double x, Poincare::Context *context) const
int numberOfActiveFunctions()
virtual float evaluateAtAbscissa(float x, Poincare::Context *context) const
static constexpr KDColor GreyVeryDark
CartesianFunction * activeFunctionAtIndex(int i) override
KDCoordinate height() const