Code

Cleaned up comments
[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 };           
35 class AxonomGridSnapper : public LineSnapper
36 {
37 public:
38     AxonomGridSnapper(SPNamedView const *nv, NR::Coord const d);
40 private:    
41     LineList _getSnapLines(NR::Point const &p) const;
42 };           
46 }
48 #endif
50 /*
51   Local Variables:
52   mode:c++
53   c-file-style:"stroustrup"
54   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
55   indent-tabs-mode:nil
56   fill-column:99
57   End:
58 */
59 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :