* Seems to be coming along. Not convinced that the bowing conversions are right.
[scdataviz] / graph.h
diff --git a/graph.h b/graph.h
index 68aa97b..927935b 100644 (file)
--- a/graph.h
+++ b/graph.h
@@ -80,11 +80,12 @@ Graph *graph_new(void);
 int graph_add_point(Graph* graph, double x, double y, const GString *label);
 int graph_add_graph_point(Graph* graph, struct graph_point *pt);
 int graph_add_line(Graph* graph, double p0_x, double p0_y, double p1_x, double p1_y, double p2_x, double p2_y, double p3_x, double p3_y);
+int graph_add_graph_line(Graph* graph, struct graph_line *l);
 void graph_add_linear_connectors(Graph* graph);
 /*Provide x0, x3; x1 and x2 will be set*/
 void graph_bezier_linear_to_cubic(double x0, double x3, double *x1, double *x2);
 /*Provide x0, x1, x2.  x1 and x2 will be set appropriately.*/
-void graph_bezier_qudratic_to_cubic(double x0, double x3, double *x1, double *x2);
+void graph_bezier_quadratic_to_cubic(double x0, double x3, double *x1, double *x2);