1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-27 02:49:22 +02:00
Commit Graph

11 Commits

Author SHA1 Message Date
Werner Almesberger
ff47d69d25 eeshow/gfx/diff.c (complement_box): determine limits outside the loops 2016-08-20 15:54:32 -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
13fcf8ce3a eeshow/gfx/diff.c: export area creation and freeing 2016-08-20 08:26:01 -03:00
Werner Almesberger
6b901399ce eeshow/gfx/diff.c (diff_to_canvas): draw caller-supplied areas
These are for future highlighting. WIP.
2016-08-19 21:25:48 -03:00
Werner Almesberger
6be9e7ac0c eeshow/gfx/diff.c (merge_coord): typo caused offset troubles 2016-08-19 19:15:39 -03:00
Werner Almesberger
c24c966fb0 eeshow/gfx/diff.c (show_areas): break out the actual coloring
... for future sharing.
2016-08-19 13:25:33 -03:00
Werner Almesberger
c4811c8dd6 eeshow/: util.h and diag.c go to misc/ 2016-08-17 21:37:15 -03:00
Werner Almesberger
766f1d64f3 eeshow/misc.c: goes to gfx/, too 2016-08-17 21:31:56 -03:00
Werner Almesberger
9829f7070f eeshow/: move graphics low-level functions to gfx/ 2016-08-17 21:28:42 -03:00