MCPcopy Create free account
hub / github.com/CruiserOne/Astrolog / PsLineWidth

Function PsLineWidth

xdevice.cpp:1491–1501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1489// Set a linewidth size to be used by PostScript figure primitive commands.
1490
1491void 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.

Callers 2

DrawSpotFunction · 0.85
PsBeginFunction · 0.85

Calls 1

PsStrokeForceFunction · 0.85

Tested by

no test coverage detected