diff -r 6c4dc68360eb -r 5dd4d782cf3a src/Types.hh --- a/src/Types.hh Tue Jan 13 21:36:43 2009 +0200 +++ b/src/Types.hh Tue Jan 13 23:15:47 2009 +0200 @@ -30,6 +30,17 @@ typedef VectorType PixelCoordinate; /** + * A rectangular area of pixels + */ +struct PixelArea { + PixelDimension left, top, right, bottom; + + PixelArea (PixelDimension left, PixelDimension top, PixelDimension right, PixelDimension bottom) : + left(left), top(top), right(right), bottom(bottom) + { } +}; + +/** * A time interval, measured in real milliseconds */ typedef signed long TimeMS;