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

8 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
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
9829f7070f eeshow/: move graphics low-level functions to gfx/ 2016-08-17 21:28:42 -03:00