33 #include "lib/ntextd.h" 34 #include "system/program.h" 36 #include "../userfunction.h" 69 if (function ==
nullptr)
71 return (
char*)(
"Function does not exists." NEWLINE);
77 static const int width = 400;
78 static const int height = 300;
83 static const double min = -5.0;
84 static const double max = +5.0;
102 if (screenX != -1 && screenY != -1)
void Append(const char c)
void SetScreenBounderues(int minX, int maxX, int minY, int maxY)
UserFunction * GetFunctionDef(const char *name, const char *argument) const
PlotStatement(const char *name, const char *parameter, const char *file)
Base class for all statements in a syntax tree.
Grid(UserFunction *function)
PlotStatement(const char *name, const char *parameter)
void Append(const char *source)
virtual const char * GetText(Number *number)=0
void SetFunctionBounderies(double minX, double maxX)
class FunctionList * Functions
Represent a real number with 15 significant digits.
double GetHorizontalResolution() const
void GetScreenCoordinates(double value, int *x, int *y) const
void EnsureGrowth(unsigned int size)
Base class for all numeral systems.
void SetRealValue(double value)
DecimalSystem(unsigned int digits)
unsigned int AllocAndCopy(char **destination, const char *source)
Allocate memory and copy a string into the array.