diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2011-06-20 19:33:57 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2011-06-20 19:33:57 +0000 |
| commit | a39e3c37a508f9a389fc55270ae0336ad2f76f0e (patch) | |
| tree | 952db81c3238005e975f21845734444bba28ff40 /src/star-context.cpp | |
| parent | Measure Tool: support measuring of text elements (without having to manually ... (diff) | |
| parent | Fix outline view (diff) | |
| download | inkscape-a39e3c37a508f9a389fc55270ae0336ad2f76f0e.tar.gz inkscape-a39e3c37a508f9a389fc55270ae0336ad2f76f0e.zip | |
Merge Cairo rendering branch
(bzr r10326)
Diffstat (limited to 'src/star-context.cpp')
| -rw-r--r-- | src/star-context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/star-context.cpp b/src/star-context.cpp index 0fb20a2ab..9f4afb94c 100644 --- a/src/star-context.cpp +++ b/src/star-context.cpp @@ -457,14 +457,14 @@ static void sp_star_drag(SPStarContext *sc, Geom::Point p, guint state) double const sides = (gdouble) sc->magnitude; Geom::Point const d = p1 - p0; Geom::Coord const r1 = Geom::L2(d); - double arg1 = atan2(from_2geom(d)); + double arg1 = atan2(d); if (state & GDK_CONTROL_MASK) { /* Snap angle */ arg1 = sp_round(arg1, M_PI / snaps); } - sp_star_position_set(star, sc->magnitude, from_2geom(p0), r1, r1 * sc->proportion, + sp_star_position_set(star, sc->magnitude, p0, r1, r1 * sc->proportion, arg1, arg1 + M_PI / sides, sc->isflatsided, sc->rounded, sc->randomized); /* status text */ |
