Code

1a704dd4e8c965646bea3f89c1d610825fdf21df
[inkscape.git] / src / grid-snapper.h
1 #ifndef SEEN_GRID_SNAPPER_H
2 #define SEEN_GRID_SNAPPER_H
4 /**
5  *  \file grid-snapper.h
6  *  \brief Snapping things to grids.
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) 2006      Johan Engelen <johan@shouraizou.nl>
14  * Copyright (C) 1999-2002 Authors 
15  *
16  * Released under GNU GPL, read the file 'COPYING' for more information
17  */
19 #include "line-snapper.h"
21 namespace Inkscape
22 {
24 /// Normal 2D grid
25 class GridSnapper : public LineSnapper
26 {
27 public:
28     GridSnapper(SPNamedView const *nv, NR::Coord const d);
30 private:    
31     LineList _getSnapLines(NR::Point const &p) const;
32 };           
34 }
36 #endif
38 /*
39   Local Variables:
40   mode:c++
41   c-file-style:"stroustrup"
42   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
43   indent-tabs-mode:nil
44   fill-column:99
45   End:
46 */
47 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :