Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

snap.h File Reference

Detailed Description

SnapManager class.

The SnapManager class handles most (if not all) of the interfacing of the snapping mechanisms with the other parts of the code base. It stores the references to the various types of snappers for grid, guides and objects, and it stores most of the snapping preferences. Besides that it provides methods to setup the snapping environment (e.g. keeps a list of the items to ignore when looking for snap target candidates, and toggling of the snap indicator), and it provides many different methods for the snapping itself (free snapping vs. constrained snapping, returning the result by reference or through a return statement, etc.)

Authors: Lauris Kaplinski <lauris@kaplinski.com> Frank Felfe <innerspace@iname.com> Carl Hetherington <inkscape@carlh.net> Diederik van Lierop <mail@diedenrezi.nl>

Copyright (C) 2006-2007 Johan Engelen <johan@shouraizou.nl> Copyright (C) 2000-2002 Lauris Kaplinski Copyright (C) 2000-2009 Authors

Released under GNU GPL, read the file 'COPYING' for more information

Definition in file snap.h.

#include <vector>
#include "guide-snapper.h"
#include "object-snapper.h"
#include "snap-preferences.h"

Go to the source code of this file.


class  SnapManager
 Class to coordinate snapping operations. More...



Generated by  Doxygen 1.6.0   Back to index