654149f5c5fa90fbaaee64bc70803addd1896b11
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() {}
32 GuideSnapper(SPNamedView const *nv, NR::Coord const d);
34 private:
35 LineList _getSnapLines(NR::Point const &p) const;
36 };
38 }
40 #endif
44 /*
45 Local Variables:
46 mode:c++
47 c-file-style:"stroustrup"
48 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
49 indent-tabs-mode:nil
50 fill-column:99
51 End:
52 */
53 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :