| 5009 | } |
| 5010 | |
| 5011 | char * PSL_makefont (struct PSL_CTRL *PSL, double size, double rgb[]) { |
| 5012 | /* Creates a text string with the corresponding PS command to set the font (current font) */ |
| 5013 | static char buffer[PSL_BUFSIZ]; |
| 5014 | sprintf (buffer, "%s %d F%d", psl_putcolor (PSL, rgb, 0), psl_ip (PSL, size), PSL->current.font_no); |
| 5015 | return (buffer); |
| 5016 | } |
| 5017 | |
| 5018 | char * PSL_makefontsize (struct PSL_CTRL *PSL, double size) { |
| 5019 | /* Creates a text string with the corresponding PS command to set the font (current font) with no color info */ |
no test coverage detected