.benchmarks

git-svn-id: svn://ultimatepp.org/upp/trunk@12541 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2018-11-15 11:38:37 +00:00
parent 5592836f83
commit 1afd02ba06
6 changed files with 18 additions and 1 deletions

View file

@ -17,5 +17,6 @@ void ClippingExample(Painter& sw);
void PolyPolygon(Painter& sw);
void TextOnPath(Painter& sw);
void Dash(Painter& sw);
void SomeRocks(Painter& sw);
#endif

View file

@ -11,6 +11,7 @@ file
Clipping.cpp,
PolyPolygon.cpp,
TextOnPath.cpp,
SomeRocks.cpp,
main.cpp,
info.txt;

View file

@ -0,0 +1,13 @@
#include "LionBenchmark.h"
void SomeRocks(Painter& sw)
{
static Painting rocks;
ONCELOCK {
rocks.Serialize(FileIn(GetDataFile("SomeRocks.painting")));
}
sw.EvenOdd();
sw.Paint(rocks);
}

Binary file not shown.

View file

@ -19,3 +19,4 @@ void TextOnPath(Painter& sw)
pos += w;
}
}

View file

@ -15,8 +15,9 @@ void Task(Painter& sw)
// Demo(sw);
// ClippingExample(sw);
// PolyPolygon(sw);
TextOnPath(sw);
// TextOnPath(sw);
// Dash(sw);
SomeRocks(sw);
sw.End();
}