search for: sety2

Displaying 1 result from an estimated 1 matches for "sety2".

Did you mean: set2
2009 Feb 25
1
[PATCH] CompRect more intuitive
...on instead of XRectangle, right? This patch tries to improve CompRect usability *First* I was using CompRect, but I've found that the only way to modify a CompRect is using setGeometry function: void CompOutput::setGeometry (int x1, int x2, int y1, int y2); So I created setX1, setY1, setX2, setY2 functions *Second* As you can see above, setGeometry uses: (x1,x2,y1,y2). I'm proposing to change to setGeometry (x1,y1,x2,y2) A Rectangle is defined by two points (x1,y1) and (x2,y2). So, setGeometry will be more intuitive if we use this order. This patch change all core/plugins and src/...