31059016e90d9d6d65e11f55808869efacb8d4e2 kate Tue Apr 10 18:16:17 2018 -0700 Add postscript for ellipse drawing. refs #21109 diff --git src/inc/psGfx.h src/inc/psGfx.h index 9d04cb2..780acfe 100644 --- src/inc/psGfx.h +++ src/inc/psGfx.h @@ -89,30 +89,30 @@ 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 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. */ void psLineTo(struct psGfx *ps, double x, double y); /* Draw line from current point to given point, * and make given point new current point. */ #endif /* PSGFX_H */