aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/gfx.cc
diff options
context:
space:
mode:
authorSergiusz Bazanski <q3k@q3k.org>2018-07-20 10:59:33 +0100
committerSergiusz Bazanski <q3k@q3k.org>2018-07-20 10:59:33 +0100
commit55d5f8f248a00581e54b818d747d5f42ddb5f6bb (patch)
tree4f40c21efb01e6d341fd13ca8e74c1f640b483e8 /ice40/gfx.cc
parent0385ad1b1cc3dcd4673b3c674bc28ca12a7c7450 (diff)
parent3bad9c26cff1ba2da7f1810e5915246874780744 (diff)
downloadnextpnr-55d5f8f248a00581e54b818d747d5f42ddb5f6bb.tar.gz
nextpnr-55d5f8f248a00581e54b818d747d5f42ddb5f6bb.tar.bz2
nextpnr-55d5f8f248a00581e54b818d747d5f42ddb5f6bb.zip
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/lock-2-electric-boogaloo
Diffstat (limited to 'ice40/gfx.cc')
-rw-r--r--ice40/gfx.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/ice40/gfx.cc b/ice40/gfx.cc
index aa2fc9ce..f6ed789f 100644
--- a/ice40/gfx.cc
+++ b/ice40/gfx.cc
@@ -640,10 +640,8 @@ static bool getWireXY_local(GfxTileWireId id, float &x, float &y)
return false;
}
-void pipGfx(std::vector<GraphicElement> &g, int x, int y,
- float x1, float y1, float x2, float y2,
- float swx1, float swy1, float swx2, float swy2,
- GraphicElement::style_t style)
+void pipGfx(std::vector<GraphicElement> &g, int x, int y, float x1, float y1, float x2, float y2, float swx1,
+ float swy1, float swx2, float swy2, GraphicElement::style_t style)
{
float tx = 0.5 * (x1 + x2);
float ty = 0.5 * (y1 + y2);
@@ -693,7 +691,8 @@ edge_pip:
g.push_back(el);
}
-void gfxTilePip(std::vector<GraphicElement> &g, int x, int y, GfxTileWireId src, GfxTileWireId dst, GraphicElement::style_t style)
+void gfxTilePip(std::vector<GraphicElement> &g, int x, int y, GfxTileWireId src, GfxTileWireId dst,
+ GraphicElement::style_t style)
{
float x1, y1, x2, y2;