| 1 |
divert(-1) |
| 2 |
#nclude(svg.m4)dnl |
| 3 |
#ivert(-1) |
| 4 |
|
| 5 |
#Adjust scale and default lengths |
| 6 |
define(`scaledefaults',` |
| 7 |
scale = 1/($1) |
| 8 |
arcrad = arcrad*($1) |
| 9 |
arrowht = arrowht*($1) |
| 10 |
arrowwid = arrowwid*($1) |
| 11 |
boxht = boxht*($1) |
| 12 |
boxrad = boxrad*($1) |
| 13 |
boxwid = boxwid*($1) |
| 14 |
circlerad = circlerad*($1) |
| 15 |
dashwid = dashwid*($1) |
| 16 |
ellipseht = ellipseht*($1) |
| 17 |
ellipsewid = ellipsewid*($1) |
| 18 |
lineht = lineht*($1) |
| 19 |
linewid = linewid*($1) |
| 20 |
moveht = moveht*($1) |
| 21 |
movewid = movewid*($1) |
| 22 |
textht = textht*($1) |
| 23 |
textoffset = textoffset*($1) |
| 24 |
textwid = textwid*($1) |
| 25 |
linethick = linethick*($1) |
| 26 |
maxpsht = maxpsht*($1) |
| 27 |
maxpswid = maxpswid*($1) |
| 28 |
') |
| 29 |
|
| 30 |
# Possible defaults for diagrams in mm |
| 31 |
define(`SIdefaults',` |
| 32 |
scale = scale*25.4 |
| 33 |
arcrad = 5 |
| 34 |
arrowht = 2.5 |
| 35 |
arrowwid = arrowht/2 |
| 36 |
boxht = 12 |
| 37 |
boxrad = 0 |
| 38 |
boxwid = 18 |
| 39 |
circlerad = 5 |
| 40 |
dashwid = 1.5 |
| 41 |
ellipseht = 12 |
| 42 |
ellipsewid = 18 |
| 43 |
lineht = 12 |
| 44 |
linewid = 12 |
| 45 |
moveht = 12 |
| 46 |
movewid = 12 |
| 47 |
textht = ifsvg(4,0) |
| 48 |
textoffset = 3 |
| 49 |
textwid = 0 |
| 50 |
') |
| 51 |
|
| 52 |
define(`local_init',` |
| 53 |
`#' local init begin |
| 54 |
scaledefaults(1.1) |
| 55 |
`#' local init end |
| 56 |
') |
| 57 |
|
| 58 |
divert(0)dnl |