blob: a9c3203cefe4bfbc31cc8317e2ceadcc27940790 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>PixelSnap</name>
<id>org.inkscape.filter.pixel_snap</id>
<label>Snap selected paths, images, and rectangles to pixel boundaries. Strokes with a non-zero odd width are snapped to midpoints, so they align correctly</label>
<param name="snap_ancestors" type="bool" gui-text="Snap unselected ancestors' translations (groups, layers, document height) first">true</param>
<param name="ancestor_offset" type="bool" gui-text="Calculate offset relative to unselected ancestors' transforms (includes document height offset)">true</param>
<param name="max_gradient" type="float" gui-text="Maximum slope to consider straight (%)" min="-10000.0" max="10000.0">0.5</param>
<param name="snap_to" type="optiongroup" appearance="radio" gui-text="Origin of the coordinate system:">
<option value="tl">Top left corner</option>
<option value="bl">Bottom left corner</option>
</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="Modify Path"/>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">pixelsnap.py</command>
</script>
</inkscape-extension>
|