| 1473 | // Set the dash length to be used by PostScript line commands. |
| 1474 | |
| 1475 | void PsDash(int dashoff) |
| 1476 | { |
| 1477 | if (dashoff != gi.nDash) { |
| 1478 | PsStrokeForce(); |
| 1479 | if (dashoff) |
| 1480 | fprintf(gi.file, "[%d %d", PSMUL, dashoff * PSMUL); |
| 1481 | else |
| 1482 | fprintf(gi.file, "["); |
| 1483 | fprintf(gi.file, "]0 setdash\n"); |
| 1484 | gi.nDash = dashoff; |
| 1485 | } |
| 1486 | } |
| 1487 | |
| 1488 | |
| 1489 | // Set a linewidth size to be used by PostScript figure primitive commands. |
no test coverage detected