diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-09-18 17:42:51 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-09-18 17:42:51 +0000 |
| commit | 1ae6235112448547c758dd643a9ddd267a6cd580 (patch) | |
| tree | 2bb449941d10f4b71629a75d741465429e0ebfa0 /src/graphlayout/graphlayout.cpp | |
| parent | Some NR::Point ==> Geom::Point replacements (diff) | |
| download | inkscape-1ae6235112448547c758dd643a9ddd267a6cd580.tar.gz inkscape-1ae6235112448547c758dd643a9ddd267a6cd580.zip | |
More NR ==> Geom conversion (points and some matrices/transforms)
(bzr r6836)
Diffstat (limited to 'src/graphlayout/graphlayout.cpp')
| -rw-r--r-- | src/graphlayout/graphlayout.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/graphlayout/graphlayout.cpp b/src/graphlayout/graphlayout.cpp index ef8eaa680..2fb641316 100644 --- a/src/graphlayout/graphlayout.cpp +++ b/src/graphlayout/graphlayout.cpp @@ -230,7 +230,7 @@ void graphlayout(GSList const *const items) { if(item_box) { NR::Point const curr(item_box->midpoint()); NR::Point const dest(r->getCentreX(),r->getCentreY()); - sp_item_move_rel(u, NR::translate(dest - curr)); + sp_item_move_rel(u, Geom::Translate(dest - curr)); } } } @@ -247,3 +247,14 @@ void graphlayout(GSList const *const items) { } // vim: set cindent // vim: ts=4 sw=4 et tw=0 wm=0 + +/* + Local Variables: + mode:c++ + c-file-style:"stroustrup" + c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) + indent-tabs-mode:nil + fill-column:99 + End: +*/ +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : |
