mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2025-04-21 12:27:27 +03:00
sch2fig/: new cairo options -o outfile.png and -s scale
This commit is contained in:
@@ -45,18 +45,16 @@ testref:
|
||||
./$(NAME) test.lib test.sch | fig2dev -L png -m 2 >ref.png
|
||||
|
||||
png:
|
||||
./$(NAME) test.lib test.sch -- cairo
|
||||
./$(NAME) test.lib test.sch -- cairo -o _out.png -s 2
|
||||
[ ! -r pngref.png ] || \
|
||||
compare -metric AE pngref.png test.png _diff.png || \
|
||||
qiv -t -R -D _diff.png pngref.png test.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
|
||||
mv test.png pngref.png
|
||||
./$(NAME) test.lib test.sch -- cairo -o pngref.png -s 2
|
||||
|
||||
clean::
|
||||
rm -f out.fig _out.png _diff.png
|
||||
rm -f test.png
|
||||
|
||||
#----- Render Neo900 schematics -----------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user