projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add Rect::horizontal_strip() and Rect::vertical_strip() to create infinite slices...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
rect.h
diff --git
a/synfig-core/trunk/src/synfig/rect.h
b/synfig-core/trunk/src/synfig/rect.h
index
140c5a1
..
ed658f2
100644
(file)
--- a/
synfig-core/trunk/src/synfig/rect.h
+++ b/
synfig-core/trunk/src/synfig/rect.h
@@
-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(