-
Notifications
You must be signed in to change notification settings - Fork 4
/
render_scalebar.inx
33 lines (33 loc) · 1.23 KB
/
render_scalebar.inx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Scalebar</_name>
<id>speleo.render.scalebar</id>
<dependency type="executable" location="extensions">render_scalebar.py</dependency>
<!--
<param name="scale" type="int" min="1" max="25000" _gui-text="Scale (1:X)">100</param>
-->
<param name="scale" type="optiongroup" appearance="combo" gui-text="Scale">
<option value="25">1:25</option>
<option value="50">1:50</option>
<option value="100">1:100</option>
<option value="200">1:200</option>
<option value="250">1:250</option>
<option value="400">1:400</option>
<option value="500">1:500</option>
<option value="1000">1:1000</option>
<option value="2500">1:2500</option>
<option value="5000">1:5000</option>
<option value="10000">1:10000</option>
<option value="25000">1:25000</option>
</param>
<param name="text" type="string" gui-text="Text">Scale</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu _name="Speleo"/>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">render_scalebar.py</command>
</script>
</inkscape-extension>