Werner Almesberger
|
d1657de267
|
sch2fig/gfx.h (gfx_end), gfx.c: add optional termination function
|
2016-07-30 23:02:15 -03:00 |
|
Werner Almesberger
|
3b18e8b604
|
sch2fig/: make *_line accept color and layer from dwg
|
2016-07-30 21:55:23 -03:00 |
|
Werner Almesberger
|
4267efae0d
|
sch2fig/: abstract graphical output interface
|
2016-07-30 21:50:02 -03:00 |
|
Werner Almesberger
|
b933c9976f
|
sch2fig/fig.h (enum fig_shape): move to dwg.h and rename
|
2016-07-30 21:33:36 -03:00 |
|
Werner Almesberger
|
3ca2130db5
|
sch2fig/: implement fig_wire and fig_bus as dwg_* using fig_poly
|
2016-07-30 21:21:45 -03:00 |
|
Werner Almesberger
|
402e14d78f
|
sch2fig/: support busses and entries
|
2016-07-30 21:07:36 -03:00 |
|
Werner Almesberger
|
97a1d46659
|
sch2fig/test.sch: complete set of bus and wire connections
|
2016-07-30 21:07:03 -03:00 |
|
Werner Almesberger
|
1f257bdc8a
|
sch2fig/TODO: update
|
2016-07-30 20:44:40 -03:00 |
|
Werner Almesberger
|
9a3c8e5f0a
|
sch2fig/neo900-template.fig: add copyright notice; grow number; move name a bit
|
2016-07-29 23:29:55 -03:00 |
|
Werner Almesberger
|
9ac486aef8
|
sch2fig/sch2pdf: add missing backtick; count properly
|
2016-07-29 23:29:17 -03:00 |
|
Werner Almesberger
|
7caf1fb84a
|
sch2fig/: text can contain newlines (as '\' 'n'), support them
|
2016-07-29 22:45:56 -03:00 |
|
Werner Almesberger
|
4427d092ef
|
sch2fig/Makefile (CFLAGS), sch.c: add -O; suppress asprintf warning
|
2016-07-29 22:17:06 -03:00 |
|
Werner Almesberger
|
b8ec957471
|
sch2fig/ (rx, ry): consolidate into misc.c (integer version)
|
2016-07-29 22:13:07 -03:00 |
|
Werner Almesberger
|
626cae2210
|
sch2fig/genpng: start with the first/index sheet
|
2016-07-29 22:04:39 -03:00 |
|
Werner Almesberger
|
fa8f76eb12
|
sch2fig/sch2pdf, Makefile: also process the first page
|
2016-07-29 22:00:57 -03:00 |
|
Werner Almesberger
|
0dfd3ff7e2
|
sch2fig/: support sheet and file labels in sheet as well
|
2016-07-29 21:43:27 -03:00 |
|
Werner Almesberger
|
2e68f85914
|
sch2fig/: support subsheet box and exported labels (WIP)
|
2016-07-29 20:48:06 -03:00 |
|
Werner Almesberger
|
8721964568
|
sch2fig/dwg.c (rx, ry): avoid floating-point errors
Even small errors (i.e., one unit), can cause very visible changes in the
graphical output. Perhaps fig2dev is over-reacting at times.
|
2016-07-29 19:34:59 -03:00 |
|
Werner Almesberger
|
d63d183198
|
sch2fig/: support hierarchical labels (with new geometry approach)
|
2016-07-29 19:30:32 -03:00 |
|
Werner Almesberger
|
ab59b4f952
|
sch2fig/fig.c: more high-level drawing (labels, etc.) functions to dwg.c
|
2016-07-28 23:09:38 -03:00 |
|
Werner Almesberger
|
8830b9a223
|
sch2fig/lib.c (draw_text): also support mirroring
test.sch now renders correctly.
|
2016-07-28 15:49:14 -03:00 |
|
Werner Almesberger
|
7efb3e7e7e
|
sch2fig/lib.c (draw_text): flipping affects both alignments
|
2016-07-28 15:42:03 -03:00 |
|
Werner Almesberger
|
538f362b0a
|
sch2fig/lib.c (draw_arc): handle mirroring
|
2016-07-28 15:25:00 -03:00 |
|
Werner Almesberger
|
ff12e388e2
|
sch2fig/lib.c (draw_pin_num): correct pin number flipping
|
2016-07-26 20:56:43 -03:00 |
|
Werner Almesberger
|
e5ba111258
|
sch2fig/Makefile (test): one negation too many
|
2016-07-26 20:40:39 -03:00 |
|
Werner Almesberger
|
58cd498ded
|
sch2fig/lib.c (draw_text): support horizontal and vertical alignment
|
2016-07-26 20:39:08 -03:00 |
|
Werner Almesberger
|
76013a5b04
|
sch2fig/sch.c, sch.h (decode_alignment): prepare for future sharing with lib.c
|
2016-07-26 20:34:54 -03:00 |
|
Werner Almesberger
|
fb19aeae0a
|
sch2fig/Makefile: add regression testing based on test.fig
|
2016-07-26 20:27:12 -03:00 |
|
Werner Almesberger
|
3c73ad6521
|
sch2fig/test.sch: s/Text, Left, Normal, 100 mil/Text, Left, Bold, 100 mil/
|
2016-07-26 18:37:35 -03:00 |
|
Werner Almesberger
|
8db4055882
|
sch2fig/sch.c (draw_text, sch_parse): support text left, down; ignore busses
|
2016-07-26 18:36:46 -03:00 |
|
Werner Almesberger
|
f9140bc53f
|
sch2fig/misc.c (matrix_to_angle, matrix_is_mirrored): 1 0 0 1 and 0 1 -1 0
Tentative support. Untested.
|
2016-07-26 18:35:51 -03:00 |
|
Werner Almesberger
|
47707d700c
|
sch2fig/lib.c (lib_parse): zero2 seems to be text style, ignore
|
2016-07-26 18:35:14 -03:00 |
|
Werner Almesberger
|
4d75a7f00e
|
sch2fig/Makefile (neo900.pdf): first sheet is #2
|
2016-07-26 18:10:43 -03:00 |
|
Werner Almesberger
|
e4f3d4944f
|
sch2fig/neo900-template.fig: show BIG sheet number
|
2016-07-26 18:10:18 -03:00 |
|
Werner Almesberger
|
22bdd42188
|
sch2fig/sch2pdf: pass sheet number in <NUMBER>; option -n num to set start
|
2016-07-26 18:09:28 -03:00 |
|
Werner Almesberger
|
8903dd8db7
|
sch2fig/lib.c (draw_text): support component text orientation other than 0 deg
This is for plain text. Pins and fields already supported rotation before.
|
2016-07-26 17:48:09 -03:00 |
|
Werner Almesberger
|
0ddd4dbbb3
|
sch2fig/lib.c (lib_parse): replace all ~ in unquoted strings with spaces
|
2016-07-26 17:38:12 -03:00 |
|
Werner Almesberger
|
252e92fe64
|
sch2fig/fig.c (fig_label): offset was reversed for "up"
|
2016-07-26 14:05:25 -03:00 |
|
Werner Almesberger
|
629412e25c
|
sch2fig/Makefile (diff): ensure that we build sch2fig
|
2016-07-26 13:59:14 -03:00 |
|
Werner Almesberger
|
c3f73d8335
|
sch2fig/lib.c (draw_pin_name): flip pin names rotated by 270 degrees
|
2016-07-26 13:58:33 -03:00 |
|
Werner Almesberger
|
a36ec41dc6
|
sch2fig/lib.c (draw_pin_name, draw_pin_num), TODO: support "outside" pin names
There's still a rotation bug affecting this, but this existed before.
|
2016-07-26 13:45:19 -03:00 |
|
Werner Almesberger
|
4c3a3a1f84
|
sch2fig/Makefile (diff, view, newref): add regression test operations
|
2016-07-26 13:13:29 -03:00 |
|
Werner Almesberger
|
2cea73d040
|
sch2fig/test/comp: add optional directory argument
|
2016-07-26 13:13:29 -03:00 |
|
Werner Almesberger
|
93ba849a19
|
sch2fig/lib.c (draw_pin): split off pin name and number output
Function got a bit "heavy" ...
|
2016-07-26 13:13:29 -03:00 |
|
Werner Almesberger
|
f9c32d4e1e
|
sch2fig/lib.c (lib_exec): component can have unit number 0, which means 1
This happened with XTAL-4-3225 in neo900.lib as the result of merging
multiple units into one component.
|
2016-07-26 08:42:38 -03:00 |
|
Werner Almesberger
|
ab612b4eb2
|
sch2fig/test/: tools for comparison with reference results
|
2016-07-26 08:28:39 -03:00 |
|
Werner Almesberger
|
c2e1d60e2e
|
sch2fig/: add unit letter(s) to component reference of multi-unit components
|
2016-07-26 08:24:36 -03:00 |
|
Werner Almesberger
|
f3abf8f622
|
sch2fig/TODO: remove solved issues
|
2016-07-26 03:22:41 -03:00 |
|
Werner Almesberger
|
279c1ddff3
|
sch2fig/sch2pdf: add copyright header, known bugs
|
2016-07-26 03:21:29 -03:00 |
|
Werner Almesberger
|
6767c878b6
|
sch2fig/lib.c (draw_pin): remove unused "vert"
|
2016-07-26 03:17:58 -03:00 |
|