31059016e90d9d6d65e11f55808869efacb8d4e2 kate Tue Apr 10 18:16:17 2018 -0700 Add postscript for ellipse drawing. refs #21109 diff --git src/inc/pscmGfx.h src/inc/pscmGfx.h index b5d13c3..053d73f 100644 --- src/inc/pscmGfx.h +++ src/inc/pscmGfx.h @@ -56,16 +56,21 @@ 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); +/* Draw an ellipse specified as a rectangle. Args are left-most and top-most points. + * Optionally draw half-ellipse (top or bottom) */ + #endif /* PSCMGFX_H */