view inkscape/MB_EditButton.inx @ 842:76fe4afce640

The inkscape:bbox is defined as the global coordinate system. However, the center.x and center.y must be the coordiante system of the parent group of the SVG entity. Therefore, we need to do coordinate transformation from the global coordination system to the local coordination system.
author wycc
date Sat, 18 Sep 2010 21:23:51 +0800
parents 1958bb2a87a2
children
line wrap: on
line source

<inkscape-extension>
    <name>Edit Button</name>
    <id>MadButterfly.EditButton</id>
	<dependency type="executable" location="extensions">MB_EditButton.py</dependency>
	<dependency type="executable" location="extensions">inkex.py</dependency>
    <effect>
		<object-type>any</object-type>
		<effects-menu>
			<submenu _name="MadButterfly">
				<submenu _name="Button"/>
			</submenu>
		</effects-menu>
    </effect>
    <script>
        <command reldir="extensions" interpreter="python">MB_EditButton.py</command>
    </script>
</inkscape-extension>