projects
/
pinmux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d4be8db
)
update image colours
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 10 Jun 2021 21:23:30 +0000
(22:23 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 10 Jun 2021 21:23:30 +0000
(22:23 +0100)
src/spec/ifaceprint.py
patch
|
blob
|
history
diff --git
a/src/spec/ifaceprint.py
b/src/spec/ifaceprint.py
index 75e8476c9371d50738c7814aa1f3f144c34cd2de..04a79012f474c7a65259573fed17be4be6e089be 100644
(file)
--- a/
src/spec/ifaceprint.py
+++ b/
src/spec/ifaceprint.py
@@
-47,7
+47,7
@@
def create_sv(fname, pins):
dwg.add(dwg.text(pin.upper(), insert=(woffs-scale*14, ht),
fill='black'))
dwg.add(dwg.text("W%d" % (i+1), insert=(woffs-scale*1.5, ht),
dwg.add(dwg.text(pin.upper(), insert=(woffs-scale*14, ht),
fill='black'))
dwg.add(dwg.text("W%d" % (i+1), insert=(woffs-scale*1.5, ht),
- fill='
black
'))
+ fill='
white
'))
for i, pin in enumerate(pins['pads.east']):
ht = hoffs + height - (i * scale) + scale*0.5
for i, pin in enumerate(pins['pads.east']):
ht = hoffs + height - (i * scale) + scale*0.5
@@
-59,7
+59,7
@@
def create_sv(fname, pins):
dwg.add(dwg.text(pin.upper(), insert=(wd+scale*5, ht-scale*0.25),
fill='black'))
dwg.add(dwg.text("E%d" % (i+1), insert=(wd, ht-scale*0.25),
dwg.add(dwg.text(pin.upper(), insert=(wd+scale*5, ht-scale*0.25),
fill='black'))
dwg.add(dwg.text("E%d" % (i+1), insert=(wd, ht-scale*0.25),
- fill='
black
'))
+ fill='
white
'))
for i, pin in enumerate(pins['pads.north']):
wd = woffs + i * scale + scale*1.5
for i, pin in enumerate(pins['pads.north']):
wd = woffs + i * scale + scale*1.5
@@
-72,7
+72,7
@@
def create_sv(fname, pins):
txt.rotate(-90, pos)
dwg.add(txt)
pos=(wd+scale*0.25, hoffs-scale*0.25)
txt.rotate(-90, pos)
dwg.add(txt)
pos=(wd+scale*0.25, hoffs-scale*0.25)
- txt = dwg.text("N%d" % (i+1), insert=pos, fill='
black
')
+ txt = dwg.text("N%d" % (i+1), insert=pos, fill='
white
')
txt.rotate(-90, pos)
dwg.add(txt)
txt.rotate(-90, pos)
dwg.add(txt)
@@
-88,7
+88,7
@@
def create_sv(fname, pins):
txt.rotate(90, pos)
dwg.add(txt)
pos=(wd-scale*0.25, ht+scale*0.25)
txt.rotate(90, pos)
dwg.add(txt)
pos=(wd-scale*0.25, ht+scale*0.25)
- txt = dwg.text("S%d" % (i+1), insert=pos, fill='
black
')
+ txt = dwg.text("S%d" % (i+1), insert=pos, fill='
white
')
txt.rotate(90, pos)
dwg.add(txt)
txt.rotate(90, pos)
dwg.add(txt)