ultimatepp/uppdev/TestPainter/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

25 lines
444 B
C++

#include <CtrlLib/CtrlLib.h>
#include <Painter/Painter.h>
using namespace Upp;
struct App : TopWindow {
void Paint(Draw& w) {
PaintingPainter sw(GetSize());
sw
.Move(0, 0)
.Line(0, 0).Line(0, 0).Line(0, 0).Line(0, 0)
.Line(0, 0)
.Arc(sqrt(-1.0), 0, 0, 0, 0)
// .Move(dInf, dInf * tInf)
.Line(0, 0)
.Fill(Black());
}
};
GUI_APP_MAIN
{
DDUMP(sqrt(-1.0));
DDUMP(IsNaN(sqrt(-1.0)));
App().Run();
}