05e67c59a20a5d00b810a981aef3b00c5bef82e1 max Fri Sep 20 06:03:18 2024 -0700 more features to hubtools: search in both parent and subdirs, better docs diff --git src/inc/psGfx.h src/inc/psGfx.h index 8a75bae..e9e9ed5 100644 --- src/inc/psGfx.h +++ src/inc/psGfx.h @@ -112,27 +112,30 @@ 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 * convertPdfToSvg(char *pdfFile); +/* Convert PDF to SVG in same directory as PDF and return new filename. NULL on failure. */ + 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. */ void psCircle(struct psGfx *ps, double x, double y, double rad, boolean filled); void psSetFont(struct psGfx *ps, char *fontName, double fontSize ); #endif /* PSGFX_H */