summaryrefslogtreecommitdiff
path: root/gfx
AgeCommit message (Collapse)AuthorFilesLines
2016-11-03gtx/cro.c, main/eeplot.c: new option -n to include sheet numbers in PDF TOCWerner Almesberger1-3/+13
2016-11-03gfx/pdftoc.c (pdftoc_title), pdftoc.h: support printf-style formatWerner Almesberger2-3/+7
2016-10-26gfx/pdftoc.c, test/README, web/index.html: update repo URLs (cgit transition)Werner Almesberger1-1/+1
2016-10-22gfx/record.c (record_find_text_bbox), record.h: find text, return bounding boxWerner Almesberger2-6/+16
2016-10-19gfx/record.c (record_find_text): lookup text by positionWerner Almesberger2-0/+27
2016-10-19gfx/record.c: record bounding box of text (for future use)Werner Almesberger1-6/+13
2016-10-19gfx/record.h, record.c: put bounding box in its own structWerner Almesberger2-34/+45
2016-09-30Shift + R now toggles visibility of invisible component referencesWerner Almesberger1-0/+1
Such things should be rare in normal use of KiCad, but can occur when working with unusual designs.
2016-09-30gfx/fig.c: make -e permanently off instead of permanently onWerner Almesberger1-0/+32
Fix the properly later.
2016-09-30add "extra" filtering at gfx_end (this fixed -e for all Cairo formats)Werner Almesberger6-26/+28
2016-09-30get rid of sch_render_extra and move selection to rendering (WIP)Werner Almesberger4-26/+14
This works for eeshow, but this breaks the -e option of eeplot and eediff, permanently enabling it in FIG, and permanently disabling it in all the Cairo-based formats.
2016-09-30gfx/record.h (record_replay): add "extra" argument for feature selectionWerner Almesberger3-13/+16
2016-09-30gfx/: add "extra" flags to gfx API, and preserve them in record.c (WIP)Werner Almesberger5-1/+42
This is in preparation of generalizing the "extra" system.
2016-09-30gfx/record.c: add section commentsWerner Almesberger1-0/+27
2016-09-24gfx/cro.c (overlined): don't draw false overline if string ends with tildeWerner Almesberger1-5/+6
2016-09-24gfx/cro.c (overlined): render ~~ as single tilde, without affecting overliningWerner Almesberger1-8/+17
2016-09-24gfx/cro.c (cr_text_cairo): ignore ~ when sizing; consider disable_overlineWerner Almesberger1-10/+30
2016-09-24gfx/fig.c (fig_text_width): don't count ~ (overlining) and UTF-8 extra charsWerner Almesberger1-1/+9
2016-09-24gfx/cro.c (cr_text_width): remove ~ (used for overlining)Werner Almesberger1-1/+10
2016-09-09gfx/cro.c (cr_text_cairo): gently correct for text descending below the baselineWerner Almesberger1-0/+10
(Especially underlines.)
2016-09-08gfx/misc.c (rx, ry, matrix_is_mirrored): don't use assert(0)Werner Almesberger1-6/+3
2016-09-08fix numerous whitespace atrocitiesWerner Almesberger3-5/+5
- trailing spaces - trailing tabs - space before tab - more than four spaces ... - at the beginning of a line - after tab - in general (okay in many cases, but not all) - caught a stray blank line as well
2016-09-07gfx/diff.c, main/eeplot.c, gui/gui.c: search library pathsWerner Almesberger1-1/+1
2016-09-06gfx/cro.c: multiply line width of PDF, PS, SVG by 16, to offset internal scalingWerner Almesberger1-3/+3
2016-09-06gfx/cro.c: add experimental SVG supportWerner Almesberger2-0/+90
2016-09-06gfx/cro.c (cro_ps_ops, cro_eps_ops): PS and EPS don't support -TWerner Almesberger1-2/+2
2016-09-05add EPS (through Cairo) supportWerner Almesberger2-2/+34
2016-09-05gfx/cro.c: tolerance to 0.1 mil to keep arcs from getting "optimized" outWerner Almesberger1-0/+2
Cairo seems to be a bit overzealous there.
2016-09-05add Postscript (through Cairo) supportWerner Almesberger2-0/+112
2016-09-05gfx/cro.c (cr_pdf_init): add_toc is only available after cr_argsWerner Almesberger1-5/+5
2016-09-05gfx/record.c (record_text, bb_rot): update bounding box also for textWerner Almesberger1-8/+20
2016-09-05gfx/cro.c (cro_img_end): let's try this again, slowly ...Werner Almesberger1-3/+3
Sigh, the things pollen allergy does to the human brain :-( Two bugs there: - updating the width after calculating the stride size is not such a good idea, and - forgetting that these are not values but pointers is even worse.
2016-09-04gfx/cro.c: round up image and PDF sizes, to prevent accidental clippingWerner Almesberger1-4/+7
2016-09-04main/eediff.c: take over file name processing from diff_args; remove --Werner Almesberger1-14/+5
2016-09-04gfx/diff.c (diff_args): check for error return from diff_process_fileWerner Almesberger1-0/+2
2016-09-04gfx/diff.c (diff_process_file): remove new_ from new_sch new_libWerner Almesberger1-12/+12
After all, we now use them for old and new.
2016-09-04main/eediff.c: push -1 (does nothing) and -e to driver; properly support -eWerner Almesberger1-1/+11
2016-09-04main/eediff.c: the big leap - use diff_process_file (WIP)Werner Almesberger2-5/+7
There is still some cleanup left to do, including doing something about -e and -1.
2016-09-03gfx/diff.c (diff_args): move "new" file processing to diff_process_fileWerner Almesberger1-46/+56
2016-09-03gfx/gfx.c: we now pass a combined option string to driversWerner Almesberger5-25/+43
Further changes implied by this: - drivers can no longer receive arguments, only options - drivers have to ignore options they don't recognize
2016-09-03select driver by filename extension instead of driver specWerner Almesberger4-6/+14
2016-09-03gfx/: ignore foo: prefix in output file namesWerner Almesberger3-3/+9
Note sure if this is the best place for it. We could also tweak argv in the respective main.
2016-09-03gfx/cro.c, gfx/fig.c: output file name - means standard outputWerner Almesberger2-4/+4
2016-09-03gfx/fig.c: support option -o output.figWerner Almesberger1-49/+97
2016-09-03gfx/fig.c (fig_args): var=value is now -D var=valueWerner Almesberger1-9/+10
2016-09-03gfx/cro.c (cr_args): earmark for not accepting no non-option argumentsWerner Almesberger1-0/+6
We can't make this change yet since file names arguments are visible to cr_args when used by eediff.
2016-09-02gfx/gfx.c: add section commentsWerner Almesberger1-0/+12
2016-08-30gfx/diff.c: free bitmaps used for diffWerner Almesberger1-3/+5
We're now at 0 leaks for eeshow ../../n9/ee/hw/neo900.pro -- diff ../../n9/ee/hw/neo900.pro >/dev/null
2016-08-30gfx/: begin to bring some order into post-diff cleanupWerner Almesberger5-5/+39
Sadly, we need two new partial destructor functions for this, cro_img_reset and cro_img_destroy, plus one for the graphics abstraction, gfx_destroy.
2016-08-30gfx/diff.c: begin arduous task of teaching diff mode some mannersWerner Almesberger1-0/+5
Down from about 2.2 MB to ~24 kB, for eeshow ../../n9/ee/hw/neo900.pro -- diff ../../n9/ee/hw/neo900.pro > /dev/null