66ee7c172964fe9665479973fa7c7536afe03fa2
kate
  Tue Apr 10 22:05:33 2018 -0700
Add Postscript for bezier curve.  Fix ellipse. refs #21109

diff --git src/inc/pscmGfx.h src/inc/pscmGfx.h
index 053d73f..e5695c1 100644
--- src/inc/pscmGfx.h
+++ src/inc/pscmGfx.h
@@ -56,21 +56,26 @@
 	int x1, int y1, int x2, int y2, int colorIx);
 /* Draw a line from one point to another. */
 
 void pscmText(struct pscmGfx *pscm, int x, int y, int colorIx, 
 	MgFont *font, char *text);
 /* Draw a line of text with upper left corner x,y. */
 
 void pscmTextRight(struct pscmGfx *pscm, int x, int y, int width, int height,
 	int color, MgFont *font, char *text);
 /* Draw a line of text right justified in box defined by x/y/width/height */
 
 void pscmTextCentered(struct pscmGfx *pscm, int x, int y, 
 	int width, int height, int color, MgFont *font, char *text);
 /* Draw a line of text centered in box defined by x/y/width/height */
 
-void pscmEllipse(struct pscmGfx *pscm, 
-	int x1, int y1, int x2, int y2, int color, int mode, boolean isDashed);
+void pscmEllipse(struct pscmGfx *pscm, int x1, int y1, int x2, int y2, Color color, 
+                        int mode, boolean isDashed);
 /* Draw an ellipse specified as a rectangle. Args are left-most and top-most points.
  * Optionally draw half-ellipse (top or bottom) */
 
+void pscmCurve(struct pscmGfx *pscm, int x1, int y1, int x2, int y2, int x3, int y3, Color color,
+                        boolean isDashed);
+/* Draw Bezier curve specified by 3 points (quadratic Bezier).
+ * The points are: first (p1) and last (p3), and 1 control points (p2). */
+
 #endif /* PSCMGFX_H */