view inkscape/MB_Frame.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 ec62453bbb2b
children
line wrap: on
line source

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