public virtual void Draw(Graphics g, MathItem mathItem, Func <double, int> scaleY, Func <double, int> scaleX) { }
public abstract object Calculate(MathItem mathItem);