Logo Search packages:      
Sourcecode: inkscape version File versions

GuideSnapper Class Reference

#include <snap.h>

Inheritance diagram for GuideSnapper:

Snapper

List of all members.


Detailed Description

Snap to guides.

Definition at line 85 of file snap.h.


Public Types

enum  PointType { SNAP_POINT, BBOX_POINT }

Public Member Functions

NR::Coord getDistance () const
bool getSnapTo (PointType t) const
bool getSnapToBBox () const
 GuideSnapper (SPNamedView const *nv, NR::Coord const d)
void setDistance (NR::Coord d)
void setSnapTo (PointType t, bool s)
NR::Coord vector_snap (PointType t, NR::Point &req, NR::Point const &d) const
bool will_snap_something () const

Protected Member Functions

NR::Coord intersector_a_vector_snap (NR::Point &req, NR::Point const &mv, NR::Point const &n, NR::Coord const d) const

Protected Attributes

SPNamedView const * _named_view

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index