diff options
| author | su_v <suv-sf@users.sourceforge.net> | 2013-01-22 14:40:50 +0000 |
|---|---|---|
| committer | ~suv <suv-sf@users.sourceforge.net> | 2013-01-22 14:40:50 +0000 |
| commit | 34baadb48632ee5c2f39cba0411b7810265bdc6a (patch) | |
| tree | c7a76b25fd57605c40082d32644ff9a0da22d20e /src/connection-points.cpp | |
| parent | merge from trunk (r12005) (diff) | |
| parent | Filters. Add missing inkscape namespace declaration for 'Channel Painting' (diff) | |
| download | inkscape-34baadb48632ee5c2f39cba0411b7810265bdc6a.tar.gz inkscape-34baadb48632ee5c2f39cba0411b7810265bdc6a.zip | |
merge from trunk (r12051)
(bzr r11668.1.48)
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; -} - - -} |
