PainterExamles: OnPath

git-svn-id: svn://ultimatepp.org/upp/trunk@928 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-03-07 20:16:26 +00:00
parent acf40cf6c3
commit 37b9997f7b
6 changed files with 133 additions and 66 deletions

View file

@ -30,20 +30,7 @@ void SomeTexts(Painter& sw)
}
}
void ZBug(Painter& sw)
{
sw.Text(100, 100, "z", Roman(25).Italic()).Fill(Black());
sw.Text(130, 100, "z", Roman(70).Italic()).Fill(Black());
}
void WBug(Painter& sw)
{
sw.Text(100, 100, "w", Roman(20).Bold()).Fill(Black());
}
INITBLOCK {
RegisterExample("Filling text with solid color", TextFillSolid);
RegisterExample("Various fonts", SomeTexts);
RegisterExample("ZBug", ZBug);
RegisterExample("WBug", WBug);
}