18 lines
370 B
C++
Executable File
18 lines
370 B
C++
Executable File
#ifndef CANVAS_GRAPH_H
|
|
#define CANVAS_GRAPH_H
|
|
|
|
// #include <stdio.h>
|
|
#include <cstdio>
|
|
// #include "tree.h"
|
|
#include "expression.hpp"
|
|
|
|
|
|
struct graph_range {
|
|
double xmin, xmax;
|
|
double ymin, ymax;
|
|
};
|
|
|
|
void canvas_generate_graph(const Expression* expr, size_t expr_count, const struct graph_range *range, double pointer_x, double pointer_y);
|
|
|
|
#endif /* CANVAS_GRAPH_H */
|