~valavanisalex/ubuntu/oneiric/inkscape/inkscape_0.48.1-2ubuntu4

« back to all changes in this revision

Viewing changes to share/extensions/measure.inx

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Ted Gould, Kees Cook
  • Date: 2009-06-24 14:00:43 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090624140043-07stp20mry48hqup
Tags: 0.47~pre0-0ubuntu1
* New upstream release

[ Ted Gould ]
* debian/control: Adding libgsl0 and removing version specifics on boost

[ Kees Cook ]
* debian/watch: updated to run uupdate and mangle pre-release versions.
* Dropped patches that have been taken upstream:
  - 01_mips
  - 02-poppler-0.8.3
  - 03-chinese-inkscape
  - 05_fix_latex_patch
  - 06_gcc-4.4
  - 07_cdr2svg
  - 08_skip-bad-utf-on-pdf-import
  - 09_gtk-clist
  - 10_belarussian
  - 11_libpng
  - 12_desktop
  - 13_slider
  - 100_svg_import_improvements
  - 102_sp_pattern_painter_free
  - 103_bitmap_type_print

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<inkscape-extension>
2
 
    <_name>Measure Path</_name>
3
 
    <id>com.njhurst.filter.measure_length</id>
4
 
        <dependency type="executable" location="extensions">measure.py</dependency>
5
 
        <dependency type="executable" location="extensions">inkex.py</dependency>
6
 
        <param name="tab" type="notebook">
7
 
                <page name="measure" _gui-text="Measure">
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
 
3
  <_name>Measure Path</_name>
 
4
  <id>com.njhurst.filter.measure_length</id>
 
5
  <dependency type="executable" location="extensions">measure.py</dependency>
 
6
  <dependency type="executable" location="extensions">inkex.py</dependency>
 
7
  <param name="tab" type="notebook">
 
8
    <page name="measure" _gui-text="Measure">
8
9
      <param name="fontsize" type="int" min="1" max="1000" _gui-text="Font size [px]">12</param>
9
10
      <param name="offset" type="float" min="-10000" max="10000" _gui-text="Offset [px]">-6</param>
10
11
      <param name="precision" type="int" min="0" max="25" _gui-text="Precision">2</param>
11
12
      <param name="scale" type="float" min="1e-8" max="1e10" _gui-text="Scale Factor (Drawing:Real Length) = 1:">1</param>
12
 
    <!--        <param name="orient" type="boolean" _gui-text="Keep text orientation upright">true</param>-->
 
13
      <!--<param name="orient" type="boolean" _gui-text="Keep text orientation upright">true</param>-->
13
14
      <!--<param name="unit" type="string" _gui-text="Unit {km|m|cm|mm|in|px|pt}">mm</param>-->
14
15
      <param name="unit" type="enum" _gui-text="Length Unit: ">
15
16
        <item value="px">px</item>
20
21
        <item value="mm">mm</item>
21
22
        <item value="cm">cm</item>
22
23
        <item value="m">m</item>
23
 
        <item>km</item>
 
24
        <item value="km">km</item>
24
25
      </param>
25
 
                </page>
26
 
                <page name="desc" _gui-text="Help">
27
 
                        <_param name="measurehelp" type="description">This effect measures the length of the selected path and adds it as a text-on-path object with the selected unit. The number of significant digits can be controlled by the Precision field. The Offset field controls the distance from the text to the path. The Scale factor can be used to make measurements in scaled drawings. For example, if 1 cm in the drawing equals 2.5 m in the real world, Scale must be set to 250.</_param>
28
 
                </page>
29
 
</param>
30
 
    <effect>
31
 
                <object-type>path</object-type>
32
 
                <effects-menu>
33
 
                    <submenu _name="Visualize Path"/>
34
 
                </effects-menu>
35
 
    </effect>
36
 
    <script>
37
 
        <command reldir="extensions" interpreter="python">measure.py</command>
38
 
    </script>
 
26
    </page>
 
27
    <page name="desc" _gui-text="Help">
 
28
      <_param name="measurehelp" type="description">This effect measures the length of the selected path and adds it as a text-on-path object with the selected unit. The number of significant digits can be controlled by the Precision field. The Offset field controls the distance from the text to the path. The Scale factor can be used to make measurements in scaled drawings. For example, if 1 cm in the drawing equals 2.5 m in the real world, Scale must be set to 250.</_param>
 
29
    </page>
 
30
  </param>
 
31
  <effect>
 
32
    <object-type>path</object-type>
 
33
    <effects-menu>
 
34
      <submenu _name="Visualize Path"/>
 
35
    </effects-menu>
 
36
  </effect>
 
37
  <script>
 
38
    <command reldir="extensions" interpreter="python">measure.py</command>
 
39
  </script>
39
40
</inkscape-extension>