| 1489 | // Set a linewidth size to be used by PostScript figure primitive commands. |
| 1490 | |
| 1491 | void PsLineWidth(int nWidth) |
| 1492 | { |
| 1493 | nWidth += gs.nThickAdjust; |
| 1494 | if (nWidth < 1) |
| 1495 | nWidth = 1; |
| 1496 | if (nWidth != gi.nLineWid) { |
| 1497 | PsStrokeForce(); |
| 1498 | fprintf(gi.file, "%d setlinewidth\n", nWidth); |
| 1499 | gi.nLineWid = nWidth; |
| 1500 | } |
| 1501 | } |
| 1502 | |
| 1503 | |
| 1504 | // Set a system font and size to be used by PostScript text commands. |
no test coverage detected