Painter::DrawRect fix

git-svn-id: svn://ultimatepp.org/upp/trunk@769 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-01-16 17:26:19 +00:00
parent 8172fd64e6
commit eb896f6fdb

View file

@ -10,7 +10,7 @@ void Painter::OffsetOp(Point p)
void Painter::RectPath(int x, int y, int cx, int cy)
{
Move(x, y).Line(x + cx - 1, y).Line(x + cx - 1, y + cy - 1).Line(x, y + cy - 1).Close();
Move(x, y).Line(x + cx, y).Line(x + cx, y + cy).Line(x, y + cy).Close();
}
void Painter::RectPath(const Rect& r)