sum_layout.h
480 Bytes
#ifndef POINCARE_SUM_LAYOUT_H
#define POINCARE_SUM_LAYOUT_H
#include "sequence_layout.h"
#include <poincare/layout_engine.h>
namespace Poincare {
class SumLayout : public SequenceLayout {
public:
using SequenceLayout::SequenceLayout;
ExpressionLayout * clone() const override;
int writeTextInBuffer(char * buffer, int bufferSize) const override;
private:
void render(KDContext * ctx, KDPoint p, KDColor expressionColor, KDColor backgroundColor) override;
};
}
#endif