[apps/calculation] Add a parameter in Shared::CurveView to choose the

curve thickness
This commit is contained in:
Émilie Feral
2020-01-07 14:47:45 +01:00
committed by Léa Saviot
parent bf07b5ab76
commit b47ded4074
6 changed files with 65 additions and 61 deletions

View File

@@ -57,7 +57,7 @@ void GraphView::drawRect(KDContext * ctx, KDRect rect) const {
ContinuousFunction * f = (ContinuousFunction *)model;
Poincare::Context * c = (Poincare::Context *)context;
return f->evaluateXYAtParameter(t, c);
}, f.operator->(), context(), f->color(), record == m_selectedRecord, m_highlightedStart, m_highlightedEnd);
}, f.operator->(), context(), f->color(), true, record == m_selectedRecord, m_highlightedStart, m_highlightedEnd);
/* Draw tangent */
if (m_tangent && record == m_selectedRecord) {
float tangentParameter[2];