1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-30 02:03:45 +02:00
Commit Graph

7 Commits

Author SHA1 Message Date
Werner Almesberger
e2ff07457c eeshow/: scroll wheel zooms 2016-08-03 09:33:16 -03:00
Werner Almesberger
15d434294d eeshow/cro.h (cro_img_end, cro_img_write, cro_canvas_end): don't need void *
Since we don't call these functions through gfx_ops, we don't need
a void pointer.
2016-08-03 07:41:44 -03:00
Werner Almesberger
76c1f916df eeshow/: add rendering on Gtk canvas 2016-08-03 07:38:57 -03:00
Werner Almesberger
ade54c6029 eeshow/cro.c: set line cap to CAIRO_LINE_CAP_ROUND or CAIRO_LINE_CAP_SQUARE
CAIRO_LINE_CAP_ROUND is the same as in FIG mode.

Note that all non-dashed lines disappear when generating PDF and
CAIRO_LINE_CAP_ROUND is set. For now, we just use CAIRO_LINE_CAP_SQUARE.
2016-08-02 17:26:02 -03:00
Werner Almesberger
56b4cb89cc eeshow/cro.c (cr_pdf_end): reduce line width to 0.5 * scale
With 2, lines were far too thick. Note that the 0.5 points (1/72 in) we
have now are roughly twice what XFig uses (1/160 in for PDF or PNG),
yet things don't look very fat there.
2016-08-02 17:16:43 -03:00
Werner Almesberger
3864743280 eeshow/: PNG and PDF now write to standard output if -o outfile is absent 2016-08-02 11:46:30 -03:00
Werner Almesberger
a941a5f246 rename sch2fig to eeshow 2016-08-02 11:00:08 -03:00