| 1767 | // want to use is different from the current color in the SVG file. |
| 1768 | |
| 1769 | void SvgSetColor() |
| 1770 | { |
| 1771 | if (gi.kiSvgDes == gi.kiSvgAct) |
| 1772 | return; |
| 1773 | if (gi.kiSvgAct != kMax) |
| 1774 | fprintf(gi.file, "</g>\n"); |
| 1775 | fprintf(gi.file, "<g style=\"stroke:%s\">\n", SzColorHTML(gi.kiSvgDes)); |
| 1776 | gi.kiSvgAct = gi.kiSvgDes; |
| 1777 | } |
| 1778 | |
| 1779 | |
| 1780 | // Output a string of text to an SVG file. |