mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
Painter::DrawRect fix
git-svn-id: svn://ultimatepp.org/upp/trunk@769 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
8172fd64e6
commit
eb896f6fdb
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue