line-snapper.h revision 6c3e745a94ef6b25a4ef9f018d350a7535aa45af
#ifndef SEEN_LINE_SNAPPER_H
#define SEEN_LINE_SNAPPER_H
/**
* \file src/line-snapper.h
* \brief Superclass for snappers to horizontal and vertical lines.
*
* Authors:
* Carl Hetherington <inkscape@carlh.net>
* Diederik van Lierop <mail@diedenrezi.nl>
*
* Copyright (C) 1999-2008 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information.
*/
#include "snapper.h"
{
{
bool const &first_point,
bool const &first_point,
ConstraintLine const &c,
//first point is a vector normal to the line
//second point is a point on the line
/**
* \param p Point that we are trying to snap.
* \return List of lines that we should try snapping to.
*/
virtual void _addSnappedLine(SnappedConstraints &sc, Geom::Point const snapped_point, Geom::Coord const snapped_distance, Geom::Point const normal_to_line, Geom::Point const point_on_line) const = 0;
};
}
#endif /* !SEEN_LINE_SNAPPER_H */