view inkscape/MB_EditButton.inx @ 1106:b5145de15ace

Fix issue of alpha channel not working. Cairo is referene design of our graphic engine. It always trade an image as pre-multiplied, but imlib2 is not. It causes no opacity effects for the images loaded with imlib2. It is fixed by pre-multipling images loaded by imlib2.
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 06 Dec 2010 01:05:32 +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>