diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-01-18 23:37:04 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Cenoz <jtx@jtx.marker.es> | 2013-01-18 23:37:04 +0000 |
| commit | 686ddfefd34634a2d3ccacee4c5d243bbe47629f (patch) | |
| tree | ec9fd88a0acc73cfadb5668becdc2dba7b98e50d /src/connection-points.cpp | |
| parent | Delete bspline node whith node tool and fix 1 segment continue shift error (diff) | |
| parent | Some Corrections (diff) | |
| download | inkscape-686ddfefd34634a2d3ccacee4c5d243bbe47629f.tar.gz inkscape-686ddfefd34634a2d3ccacee4c5d243bbe47629f.zip | |
Merge from branch
(bzr r11950.1.18)
Diffstat (limited to 'src/connection-points.cpp')
| -rw-r--r-- | src/connection-points.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/connection-points.cpp b/src/connection-points.cpp deleted file mode 100644 index 9ed98d211..000000000 --- a/src/connection-points.cpp +++ /dev/null @@ -1,37 +0,0 @@ -#include "connection-points.h" - - -bool ConnectionPoint::operator!=(ConnectionPoint& cp) -{ - return (id!=cp.id || type!=cp.type || dir!=cp.dir || pos!=cp.pos); -} - -bool ConnectionPoint::operator==(ConnectionPoint& cp) -{ - return (id==cp.id && type==cp.type && dir==cp.dir && pos==cp.pos); -} - - -namespace Inkscape{ - -SVGIStringStream& -operator>>(SVGIStringStream& istr, ConnectionPoint& cp) -{ - istr>>cp.id>>cp.dir>>cp.pos[Geom::X]>>cp.pos[Geom::Y]; - - return istr; -} - -SVGOStringStream& -operator<<(SVGOStringStream& ostr, const ConnectionPoint& cp) -{ - ostr<<cp.id<<' '<<cp.dir<<' '; - ::operator<<( ostr, cp.pos[Geom::X] ); - ostr<<' '; - ::operator<<( ostr, cp.pos[Geom::Y] ); - - return ostr; -} - - -} |
