git-svn-id: svn://ultimatepp.org/upp/trunk@12224 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2018-09-01 12:29:15 +00:00
parent 5113d420f3
commit 97a06d3be9

View file

@ -46,6 +46,10 @@ void MyApp::Paint(Draw& w)
w.DrawPolyPolyline(lpoints[0], sizeof(lpoints) / sizeof(Point),
lcounts[0], sizeof(lcounts) / sizeof(int),
4, Color(0, 192, 0));
Point tr[] = { Point(50, 5), Point(80, 50), Point(0, 50) };
w.DrawPolygon(tr, 3, Green());
w.DrawPolyline(tr, 3, Magenta());
}
GUI_APP_MAIN