mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-29 22:03:40 -06:00
Painter 2.0 FINISHED!
git-svn-id: svn://ultimatepp.org/upp/trunk@854 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
c9f4311517
commit
034c443223
27 changed files with 1562 additions and 615 deletions
|
|
@ -40,26 +40,22 @@ void App::DoPaint0(Painter& sw)
|
|||
|
||||
void App::DoPaint(Painter& sw)
|
||||
{
|
||||
#if 0
|
||||
if(ctrl.painting) {
|
||||
PaintingPainter h(2000, 2000);
|
||||
DoPaint0(h);
|
||||
sw.Paint(h);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
DoPaint0(sw);
|
||||
}
|
||||
|
||||
void App::Print()
|
||||
{
|
||||
#if 0
|
||||
PaintingPainter sw(1000, 1000);
|
||||
DoPaint(sw);
|
||||
PrinterJob pb;
|
||||
if(pb.Execute())
|
||||
pb.GetDraw().DrawPainting(0, 0, 4000, 4000, sw);
|
||||
#endif
|
||||
}
|
||||
|
||||
void App::Benchmark()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue