mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
Painter1.0 to archive
git-svn-id: svn://ultimatepp.org/upp/trunk@855 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
b017fc959b
commit
91e75c2404
62 changed files with 2 additions and 13 deletions
|
|
@ -35,7 +35,7 @@ void Cubics(Painter& sw)
|
|||
|
||||
void Quadratic(Painter& sw)
|
||||
{
|
||||
sw.Move(200, 300).Quadratic(400, 50, 600, 300).Quadratic(1000, 300).Stroke(1, Blue());
|
||||
sw.Move(200, 300).Quadratic(400, 50, 600, 300).Quadratic(1000, 300).Stroke(10, Blue());
|
||||
}
|
||||
|
||||
INITBLOCK {
|
||||
|
|
|
|||
|
|
@ -10,17 +10,6 @@ void ThinPolygon(Painter& sw)
|
|||
sw.Line(429.000000, 148.000000);
|
||||
sw.Line(36.000000, 142.000000);
|
||||
sw.Fill(Black());
|
||||
/*
|
||||
sw.Rectangle(20, 20, 60, 60);
|
||||
|
||||
|
||||
sw.Move(0, 0);
|
||||
sw.Cubic(99, 0, 50, 50, 99, 99);
|
||||
sw.Cubic(0, 99, 50, 50, 0, 0);
|
||||
sw.EvenOdd(i).Fill(Green());
|
||||
sw.Stroke(1, Black());
|
||||
sw.Translate(120, 0);
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ void App::DoPaint0(Painter& sw)
|
|||
sw.LineCap(~ctrl.linecap);
|
||||
sw.LineJoin(~ctrl.linejoin);
|
||||
{ PAINTER_TIMING("FILL");
|
||||
sw.Clear(White());
|
||||
sw.Clear(White());
|
||||
}
|
||||
PAINTER_TIMING("Paint");
|
||||
if(list.IsCursor())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue