1 #ifndef SEEN_GUIDE_SNAPPER_H
2 #define SEEN_GUIDE_SNAPPER_H
4 /**
5 * \file guide-snapper.h
6 * \brief Snapping things to guides.
7 *
8 * Authors:
9 * Lauris Kaplinski <lauris@kaplinski.com>
10 * Frank Felfe <innerspace@iname.com>
11 * Carl Hetherington <inkscape@carlh.net>
12 *
13 * Copyright (C) 1999-2002 Authors
14 *
15 * Released under GNU GPL, read the file 'COPYING' for more information
16 */
18 #include "libnr/nr-forward.h"
19 #include "libnr/nr-coord.h"
20 #include "snapper.h"
22 struct SPNamedView;
24 namespace Inkscape
25 {
27 /// Snap to guides
28 class GuideSnapper : public LineSnapper
29 {
30 public:
31 GuideSnapper(SPNamedView const *nv, NR::Coord const d);
33 private:
34 LineList _getSnapLines(NR::Point const &p) const;
35 };
37 }
39 #endif
43 /*
44 Local Variables:
45 mode:c++
46 c-file-style:"stroustrup"
47 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
48 indent-tabs-mode:nil
49 fill-column:99
50 End:
51 */
52 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :