1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-26 11:46:14 +02:00
Commit Graph

7 Commits

Author SHA1 Message Date
Werner Almesberger
465a36fde5 eeshow/misc/util.h (realloc_size, realloc_type_n): get rid of bare "realloc"
Finally ! Shoulds have done this a long time ago.
2016-08-22 21:00:40 -03:00
Werner Almesberger
5fd877a6f8 eeshow/gfx/cro.c: support PDF TOC addition; option -T to suppress it 2016-08-21 11:37:47 -03:00
Werner Almesberger
3b76b058fd eeshow/gfx/: don't overthink coordinate transforms
The xe/ye element was completely unnecessary because we never have an
offset at the pixel level. Furthermore, it was used incorrectly, causing
a shift between old and new when xmin/ymin differed.
2016-08-20 15:05:34 -03:00
Werner Almesberger
c06680e272 eeshow/gfx/cro.c (cr_text_width): use cd/dc, not cx/xc
We don't want to risk getting sheet offsets mixed into our text sizes.
2016-08-20 09:24:27 -03:00
Werner Almesberger
adfb52d12d eeshow/gfx/cro.c (xc): mixed up offset calculation
Apparently, this had no major effect.
2016-08-20 09:19:35 -03:00
Werner Almesberger
c4811c8dd6 eeshow/: util.h and diag.c go to misc/ 2016-08-17 21:37:15 -03:00
Werner Almesberger
9829f7070f eeshow/: move graphics low-level functions to gfx/ 2016-08-17 21:28:42 -03:00