diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2007-09-01 13:29:40 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2007-09-01 13:29:40 +0000 |
| commit | 342d2fa9c8f2612684843f2c30ecd875126f0667 (patch) | |
| tree | a9e5b55304697e06f8cd77ab9068c9a21540c084 /src/vanishing-point.h | |
| parent | r16474@tres: ted | 2007-08-31 21:37:33 -0700 (diff) | |
| download | inkscape-342d2fa9c8f2612684843f2c30ecd875126f0667.tar.gz inkscape-342d2fa9c8f2612684843f2c30ecd875126f0667.zip | |
Infrastructure to set direction of infinite VPs (now adjustable by some shortcuts; this may be removed later on)
(bzr r3657)
Diffstat (limited to 'src/vanishing-point.h')
| -rw-r--r-- | src/vanishing-point.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vanishing-point.h b/src/vanishing-point.h index 7d53fa89d..428bb49ad 100644 --- a/src/vanishing-point.h +++ b/src/vanishing-point.h @@ -59,6 +59,8 @@ public: (*this)[NR::Y] = pt[NR::Y]; } inline void set_pos(const double pt_x, const double pt_y) { (*this)[NR::X] = pt_x; (*this)[NR::Y] = pt_y; } + inline void set_infinite_direction (const NR::Point dir) { v_dir = dir; } + inline void set_infinite_direction (const double dir_x, const double dir_y) { v_dir = NR::Point (dir_x, dir_y); } bool is_finite() const; VPState toggle_parallel(); |
