guide-snapper.h revision 12286cef3afff20da8623358be2fddab64c71401
5806N/A#ifndef SEEN_GUIDE_SNAPPER_H
5806N/A#define SEEN_GUIDE_SNAPPER_H
3643N/A
5806N/A/**
5806N/A * \file guide-snapper.h
5806N/A * \brief Snapping things to guides.
5806N/A *
5806N/A * Authors:
5806N/A * Lauris Kaplinski <lauris@kaplinski.com>
5806N/A * Frank Felfe <innerspace@iname.com>
5806N/A * Carl Hetherington <inkscape@carlh.net>
5806N/A *
5806N/A * Copyright (C) 1999-2002 Authors
5806N/A *
5806N/A * Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "libnr/nr-forward.h"
#include "libnr/nr-coord.h"
#include "line-snapper.h"
struct SPNamedView;
namespace Inkscape
{
/// Snap to guides
class GuideSnapper : public LineSnapper
{
public:
GuideSnapper(SPNamedView const *nv, NR::Coord const d);
bool willSnapSomething() const;
private:
LineList _getSnapLines(NR::Point const &p) const;
};
}
#endif
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :