diff options
author | gatecat <gatecat@ds0.me> | 2022-02-03 15:27:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-03 15:27:08 +0000 |
commit | a78719ecc157475213356c210aff26502c372c34 (patch) | |
tree | 415b60ea5983ba0ddedee6ae3f7676897ec4c062 /common/svg.cc | |
parent | 6fceac95c02b16a208dd17123dba46bc3618c1fb (diff) | |
parent | 368299d1437e4476e1ee41450194869e1ac6cf6b (diff) | |
download | nextpnr-a78719ecc157475213356c210aff26502c372c34.tar.gz nextpnr-a78719ecc157475213356c210aff26502c372c34.tar.bz2 nextpnr-a78719ecc157475213356c210aff26502c372c34.zip |
Merge pull request #901 from yrabbit/gowin-gui-noc
gowin: Add GUI.
Diffstat (limited to 'common/svg.cc')
-rw-r--r-- | common/svg.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/svg.cc b/common/svg.cc index d2050843..c5e2ea36 100644 --- a/common/svg.cc +++ b/common/svg.cc @@ -57,6 +57,8 @@ struct SVGWriter switch (el.type) { case GraphicElement::TYPE_LINE: case GraphicElement::TYPE_ARROW: + case GraphicElement::TYPE_LOCAL_LINE: + case GraphicElement::TYPE_LOCAL_ARROW: out << stringf("<line x1=\"%f\" y1=\"%f\" x2=\"%f\" y2=\"%f\" stroke=\"%s\"/>", (el.x1 + dxy.x) * scale, (el.y1 + dxy.y) * scale, (el.x2 + dxy.x) * scale, (el.y2 + dxy.y) * scale, get_stroke_colour(el.style)) |