--- a/src/proto2/Dimension.hh Tue Nov 18 18:34:33 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-#ifndef DIMENSION_HH
-#define DIMENSION_HH
-
-#include <iostream>
-
-class Vector {
- public:
- uint32_t x;
- uint32_t y;
-
- Coordinate (uint32_t x, uint32_t y) : x(x), y(y) { }
-
- Coordinate &operator+= (const PositionDelta &d) {
- this->x += d.dx;
- this->y += d.dy;
-
- return *this;
- }
-
- Coordinate operator+ (const PositionDelta &d) {
- return Coordinate(x + d.dx, y + d.dy);
- }
-
- // Scale the coordinate so that it matches the pixel resolution
- uint32_t scaledX() { return x; }
-
- uint32_t scaledY() { return y; }
-};
-
-typedef Vector Dimension;
-typedef Vector PositionDelta;
-typedef Vector Coordinate;
-
-std::ostream& operator<< (std::ostream &s, const Coordinate &c);
-std::ostream& operator<< (std::ostream &s, const PositionDelta &c);
-
-#endif