diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2009-02-22 06:53:21 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2009-02-22 06:53:21 +0000 |
| commit | 723c59b2d23e7163a100eb7fbdfb691da45b31e9 (patch) | |
| tree | 9b22015d7784dc62857ce6a8b9ac05b33ce5bac6 /src/pen-context.cpp | |
| parent | Use g_base64_encode_step when importing images via drag and drop. (diff) | |
| download | inkscape-723c59b2d23e7163a100eb7fbdfb691da45b31e9.tar.gz inkscape-723c59b2d23e7163a100eb7fbdfb691da45b31e9.zip | |
Removed broken-and-unused function
(bzr r7345)
Diffstat (limited to 'src/pen-context.cpp')
| -rw-r--r-- | src/pen-context.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/pen-context.cpp b/src/pen-context.cpp index 7ff3de9e1..c8dae0bdd 100644 --- a/src/pen-context.cpp +++ b/src/pen-context.cpp @@ -77,7 +77,6 @@ static SPDrawContextClass *pen_parent_class; static int pen_next_paraxial_direction(const SPPenContext *const pc, Geom::Point const &pt, Geom::Point const &origin, guint state); static void pen_set_to_nearest_horiz_vert(const SPPenContext *const pc, Geom::Point &pt, guint const state); -static Geom::Point pen_get_intermediate_horiz_vert(const SPPenContext *const pc, Geom::Point const &pt, guint const state); static int pen_last_paraxial_dir = 0; // last used direction in horizontal/vertical mode; 0 = horizontal, 1 = vertical @@ -1450,17 +1449,6 @@ void pen_set_to_nearest_horiz_vert(const SPPenContext *const pc, Geom::Point &pt } } -Geom::Point pen_get_intermediate_horiz_vert(const SPPenContext *const pc, Geom::Point const &pt) -{ - Geom::Point const &origin = pc->p[0]; - - if (pen_last_paraxial_dir == 0) { - return Geom::Point (origin[Geom::X], pt[Geom::Y]); - } else { - return Geom::Point (pt[Geom::X], origin[Geom::Y]); - } -} - /* Local Variables: mode:c++ |
