Lines Matching refs:picture

35  * PostScript picture inclusion routines. Support for managing in-line pictures
37 * that's supplied with this package. An in-line picture begins with a special
42 * where name is the pathname of the original picture file and size is the number
43 * of bytes in the picture, which begins immediately on the next line. When dpost
48 * the name string and picture file size that separate pictures saved in fp_pic.
50 * When a picture request (ie. an "x X PI" command) is encountered picopen() is
51 * called and it first looks for the picture file in fp_pic. If it's found there
52 * the entire picture (ie. size bytes) is copied from fp_pic to a new temp file
53 * and that temp file is used as the picture file. If there's nothing in fp_pic
89 picture(char *buf)
96 char name[100]; /* picture file and page string */
103 int outline = 0; /* draw a box around the picture? */
132 * and offset refer to the picture frame in inches, unless they're followed by
134 * over the placement of the picture in the frame. Rotation of the picture, in
150 error(NON_FATAL, "too few arguments to specify picture");
158 error(NON_FATAL, "can't open picture file %s", name);
185 case 'o': outline = 1; break; /* outline the picture */
203 } /* End of picture */
211 /* picture file pathname */
221 * Responsible for finding and opening the next picture file. If we've accumulated
224 * copy in the picture, seek back to the start of the new temp file, and return
263 char name[100]; /* picture file pathname */
269 * Adds an in-line picture file to the end of temporary file *fp_pic. All pictures
271 * by a one line header that includes the original picture file pathname and the
272 * size of the picture in bytes. The in-line picture file is opened for update,
280 error(FATAL, "can't generate in-line picture file name");
282 error(FATAL, "can't open in-line picture file %s", tname);
287 error(FATAL, "in-line picture error");
313 * Copies total bytes from file fp_in to fp_out. Used to append picture files to
315 * they're used (in picture()).
322 error(FATAL, "error copying in-line picture file");