ultimatepp/uppdev/DrawText/main.cpp
cxl 3cd394812c Merge continued
git-svn-id: svn://ultimatepp.org/upp/trunk@10263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-04 08:34:39 +00:00

20 lines
366 B
C++

#include "CtrlLib/CtrlLib.h"
using namespace Upp;
class MyApp : public TopWindow {
public:
virtual void Paint(Draw& w);
};
void MyApp::Paint(Draw& w)
{
w.DrawRect(GetSize(), White);
for(int i = 0; i < 3600; i += 300)
w.DrawText(300, 300, i, ". just a test! 皆の日本語" + AsString(i), Arial(24));
}
GUI_APP_MAIN
{
MyApp().Run();
}