1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-12-23 18:55:31 +02:00
Commit Graph

5 Commits

Author SHA1 Message Date
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