mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Hezkej priklad, kde se to sere :-)
git-svn-id: svn://ultimatepp.org/upp/trunk@823 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
42fd15292f
commit
7f214e9aeb
1 changed files with 10 additions and 0 deletions
|
|
@ -55,16 +55,25 @@ struct App : TopWindow {
|
|||
r.Line(597.000000, 44.000000);
|
||||
r.Line(121.000000, 121.000000);
|
||||
#endif
|
||||
#if 0
|
||||
r.Move(153.000000, 297.000000);
|
||||
r.Line(173.000000, 255.000000);
|
||||
r.Line(564.000000, 213.000000);
|
||||
r.Line(153.000000, 297.000000);
|
||||
#endif
|
||||
#if 1
|
||||
r.Move( 36.000000, 142.000000);
|
||||
r.Line(480.000000, 148.000000);
|
||||
r.Line(429.000000, 148.000000);
|
||||
r.Line( 36.000000, 142.000000);
|
||||
#endif
|
||||
#if 0
|
||||
r.Move(x1, y1);
|
||||
r.Line(x2, y2);
|
||||
r.Line(x3, y3);
|
||||
r.Line(x1, y1);
|
||||
#endif
|
||||
|
||||
for(int y = r.MinY(); y <= r.MaxY(); y++) {
|
||||
ScanLine sl = r.Get(y);
|
||||
DUMP(sl);
|
||||
|
|
@ -77,6 +86,7 @@ struct App : TopWindow {
|
|||
}
|
||||
|
||||
App() {
|
||||
Sizeable().Zoomable();
|
||||
x1 = y1 = x2 = y2 = 0;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue