summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fd09d1d)
raw | patch | inline | side by side (parent: fd09d1d)
author | Krzysztof Kosiński <tweenk.pl@gmail.com> | |
Sat, 3 Apr 2010 02:24:54 +0000 (04:24 +0200) | ||
committer | Krzysztof Kosiński <tweenk.pl@gmail.com> | |
Sat, 3 Apr 2010 02:24:54 +0000 (04:24 +0200) |
src/ui/dialog/align-and-distribute.cpp | patch | blob | history |
index a75a8d68d9eea638e162784d9407391aa94b4ae2..f27c49f61e81b9ac02317d04d40afc886403c730 100644 (file)
{.5, .5, 0., 0., .5, .5, 0., 0.},
{0., 1., 0., 0., 0., 1., 0., 0.},
{0., 1., 0., 0., 1., 0., 0., 0.},
- {0., 0., 0., 1., 0., 0., 1., 0.},
- {0., 0., 0., 1., 0., 0., 0., 1.},
- {0., 0., .5, .5, 0., 0., .5, .5},
+ {0., 0., 1., 0., 0., 0., 0., 1.},
{0., 0., 1., 0., 0., 0., 1., 0.},
- {0., 0., 1., 0., 0., 0., 0., 1.}
+ {0., 0., .5, .5, 0., 0., .5, .5},
+ {0., 0., 0., 1., 0., 0., 0., 1.},
+ {0., 0., 0., 1., 0., 0., 1., 0.}
};
BBoxSort::BBoxSort(SPItem *pItem, Geom::Rect bounds, Geom::Dim2 orientation, double kBegin, double kEnd) :
addDistributeButton(INKSCAPE_ICON_DISTRIBUTE_VERTICAL_TOP,
_("Distribute top edges equidistantly"),
- 1, 1, false, Geom::Y, 0, 1);
+ 1, 1, false, Geom::Y, 1., 0.);
addDistributeButton(INKSCAPE_ICON_DISTRIBUTE_VERTICAL_CENTER,
_("Distribute centers equidistantly vertically"),
1, 2, false, Geom::Y, .5, .5);
addDistributeButton(INKSCAPE_ICON_DISTRIBUTE_VERTICAL_BOTTOM,
_("Distribute bottom edges equidistantly"),
- 1, 3, false, Geom::Y, 1., 0.);
+ 1, 3, false, Geom::Y, 0., 1.);
//Baseline distribs
addBaselineButton(INKSCAPE_ICON_DISTRIBUTE_HORIZONTAL_BASELINE,