1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-30 01:24:59 +02:00

sch2fig/: rename Cairo PNG driver from "cairo" to "png"

This commit is contained in:
Werner Almesberger 2016-08-01 00:18:22 -03:00
parent d9eedec02a
commit 4ef07e5e29
3 changed files with 5 additions and 5 deletions

View File

@ -45,13 +45,13 @@ testref:
./$(NAME) test.lib test.sch | fig2dev -L png -m 2 >ref.png
png:
./$(NAME) test.lib test.sch -- cairo -o _out.png -s 2
./$(NAME) test.lib test.sch -- png -o _out.png -s 2
[ ! -r pngref.png ] || \
compare -metric AE pngref.png _out.png _diff.png || \
qiv -t -R -D _diff.png pngref.png _out.png
pngref:
./$(NAME) test.lib test.sch -- cairo -o pngref.png -s 2
./$(NAME) test.lib test.sch -- png -o pngref.png -s 2
clean::
rm -f out.fig _out.png _diff.png

View File

@ -292,7 +292,7 @@ static void cr_end(void *ctx)
const struct gfx_ops cairo_ops = {
.name = "cairo",
.name = "png",
// .line = cr_line, @@@ later
.poly = layer_poly,
.circ = layer_circ,

View File

@ -45,8 +45,8 @@ void usage(const char *name)
"usage: %s [-r] [file.lib ...] file.sch -- driver_spec\n\n"
" FIG driver spec:\n"
" fig [-t template.fig] [var=value ...]\n"
" Cairo driver spec:\n"
" cairo [-o output.png] [-s scale]\n"
" Cairo PNG driver spec:\n"
" png [-o output.png] [-s scale]\n"
, name);
exit(1);
}