Add Rect::horizontal_strip() and Rect::vertical_strip() to create infinite slices...
[synfig.git] / synfig-core / trunk / src / synfig / rect.h
index 140c5a1..ed658f2 100644 (file)
@@ -51,6 +51,9 @@ public:
 
        static Rect full_plane();
 
+       static Rect horizontal_strip(const value_type &y1, const value_type &y2);
+       static Rect vertical_strip(const value_type &x1, const value_type &x2);
+
        static Rect zero()
        {
                return Rect(