5c16e9df442a6a66c91f8cbf52f7543cb9cb4517
braney
  Mon Dec 6 16:34:22 2021 -0800
add new function to the graphics library to put text in a box that is
used by the logo function of wiggle draws

diff --git src/inc/psGfx.h src/inc/psGfx.h
index e8464d6..d9b57a7 100644
--- src/inc/psGfx.h
+++ src/inc/psGfx.h
@@ -67,30 +67,34 @@
 /* Move PostScript position to given point. */
 
 void psTextAt(struct psGfx *ps, double x, double y, char *text);
 /* Output text in current font at given position. */
 
 void psTextBox(struct psGfx *ps, double x, double y, char *text);
 /* Fill a box the size of the text at the given position*/
 
 void psTextDown(struct psGfx *ps, double x, double y, char *text);
 /* Output text going downwards rather than across at position. */
 
 void psTextRight(struct psGfx *mg, double x, double y, 
 	double width, double height, char *text);
 /* Draw a line of text right justified in box defined by x/y/width/height */
 
+void psTextInBox(struct psGfx *mg, double x, double y, 
+	double width, double height, char *text);
+/* Draw a line of text filling in box defined by x/y/width/height */
+
 void psTextCentered(struct psGfx *mg, double x, double y, 
 	double width, double height, char *text);
 /* Draw a line of text centered in box defined by x/y/width/height */
 
 void psTimesFont(struct psGfx *ps, double size);
 /* Set font to times of a certain size. */
 
 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. */