| 6051 | } |
| 6052 | |
| 6053 | int PSL_defpen (struct PSL_CTRL *PSL, const char *param, double linewidth, char *style, double offset, double rgb[]) { |
| 6054 | /* Function to set line pen attributes. We force any transparency change since this is all inside a gsave/hrestore */ |
| 6055 | PSL_command (PSL, "/%s {%d W %s %s} def\n", param, psl_ip (PSL, linewidth), psl_putcolor (PSL, rgb, 1), psl_putdash (PSL, style, offset)); |
| 6056 | return (PSL_NO_ERROR); |
| 6057 | } |
| 6058 | |
| 6059 | int PSL_defcolor (struct PSL_CTRL *PSL, const char *param, double rgb[]) { |
| 6060 | PSL_command (PSL, "/%s {%s} def\n", param, psl_putcolor (PSL, rgb, 0)); |
no test coverage detected