measure.inx revision e7bafc69cc367122b93ff2659a151d2792e387a7
39135a3e07243519dbe40a68e86a7ef524eb3f1bmfloryan<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
e7bafc69cc367122b93ff2659a151d2792e387a7Alvin Penner <dependency type="executable" location="extensions">measure.py</dependency>
e7bafc69cc367122b93ff2659a151d2792e387a7Alvin Penner <dependency type="executable" location="extensions">inkex.py</dependency>
e7bafc69cc367122b93ff2659a151d2792e387a7Alvin Penner <param name="type" type="enum" _gui-text="Measurement Type: ">
e7bafc69cc367122b93ff2659a151d2792e387a7Alvin Penner <param name="fontsize" type="int" min="1" max="1000" _gui-text="Font size [px]">12</param>
e7bafc69cc367122b93ff2659a151d2792e387a7Alvin Penner <param name="offset" type="float" min="-10000" max="10000" _gui-text="Offset [px]">-6</param>
e7bafc69cc367122b93ff2659a151d2792e387a7Alvin Penner <param name="precision" type="int" min="0" max="25" _gui-text="Precision">2</param>
e7bafc69cc367122b93ff2659a151d2792e387a7Alvin Penner <param name="scale" type="float" min="1e-8" max="1e10" _gui-text="Scale Factor (Drawing:Real Length) = 1:">1</param>
e7bafc69cc367122b93ff2659a151d2792e387a7Alvin Penner <!--<param name="orient" type="boolean" _gui-text="Keep text orientation upright">true</param>-->
e7bafc69cc367122b93ff2659a151d2792e387a7Alvin Penner <!--<param name="unit" type="string" _gui-text="Unit {km|m|cm|mm|in|px|pt}">mm</param>-->
e7bafc69cc367122b93ff2659a151d2792e387a7Alvin Penner <param name="unit" type="enum" _gui-text="Length Unit: ">
e7bafc69cc367122b93ff2659a151d2792e387a7Alvin Penner <_param name="measurehelp" type="description" xml:space="preserve">This effect measures the length, or area, of the selected path and adds it as a text-on-path object with the selected unit.
e7bafc69cc367122b93ff2659a151d2792e387a7Alvin Penner * The number of significant digits can be controlled by the Precision field.
e7bafc69cc367122b93ff2659a151d2792e387a7Alvin Penner * The Offset field controls the distance from the text to the path.
e7bafc69cc367122b93ff2659a151d2792e387a7Alvin Penner * 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.
e7bafc69cc367122b93ff2659a151d2792e387a7Alvin Penner * When calculating area, the result should be precise for polygons and Bezier curves. If a circle is used, the area may be too high by as much as 0.03%.</_param>
e7bafc69cc367122b93ff2659a151d2792e387a7Alvin Penner <command reldir="extensions" interpreter="python">measure.py</command>