ea581e5769791f3e1ca802fec719bdbc9f8b7825 kate Tue Apr 10 22:15:13 2018 -0700 Restore postscript routine mistakenly removed. refs #21109 diff --git src/inc/psGfx.h src/inc/psGfx.h index 49b5b05..74c7a92 100644 --- src/inc/psGfx.h +++ src/inc/psGfx.h @@ -89,30 +89,33 @@ void psSetColor(struct psGfx *ps, int r, int g, int b); /* Set current color. r/g/b values are between 0 and 255. */ void psSetGray(struct psGfx *ps, double grayVal); /* Set gray value (between 0.0 and 1.0. */ void psPushG(struct psGfx *ps); /* Save graphics state on stack. */ void psPopG(struct psGfx *ps); /* Pop off saved graphics state. */ void psDrawPoly(struct psGfx *ps, struct psPoly *poly, boolean filled); /* Draw a possibly filled polygon */ +void psFillEllipse(struct psGfx *ps, double x, double y, double xrad, double yrad); +/* Draw a filled ellipse */ + void psDrawEllipse(struct psGfx *ps, double x, double y, double xrad, double yrad, double startAngle, double endAngle); /* Draw an ellipse outline */ void psDrawCurve(struct psGfx *ps, double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4); /* Draw Bezier curve specified by 4 points: first (p1) and last (p4) * and 2 control points (p2, p3) */ void psSetDash(struct psGfx *ps, boolean on); /* Set dashed line mode on or off. If set on, show two points marked, with one point of space */ char * convertEpsToPdf(char *epsFile); /* Convert EPS to PDF and return filename, or NULL if failure. */