| 124 | // Set the current line thickness to use when drawing graphics charts. |
| 125 | |
| 126 | void DrawThick(flag fThick) |
| 127 | { |
| 128 | #ifdef WIN |
| 129 | int kvCur; |
| 130 | #endif |
| 131 | |
| 132 | if (fThick == gs.fThick) |
| 133 | return; |
| 134 | gs.fThick = fThick; |
| 135 | #ifdef WIN |
| 136 | if (!gi.fFile && wi.nScaleWin > 1) { |
| 137 | // For Windows, reset pen width to reflect new thickness. |
| 138 | kvCur = gi.kvCur; |
| 139 | gi.kvCur = -1; |
| 140 | DrawColor(-kvCur); |
| 141 | } |
| 142 | #endif |
| 143 | } |
| 144 | |
| 145 | |
| 146 | #ifdef WIN |
no test coverage detected