New painter examples

git-svn-id: svn://ultimatepp.org/upp/trunk@869 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-02-15 22:34:47 +00:00
parent ea8d677f93
commit b556ccca12
17 changed files with 176 additions and 16 deletions

View file

@ -7,6 +7,7 @@ void TextFillGradient(Painter& sw)
Size tsz = GetTextSize(txt, fnt);
sw.Text(100, 100, txt, fnt)
.Fill(100, 100, Blue(), 100 + tsz.cx, 100 + tsz.cy, LtRed());
sw.Translate(0, 200);
}
INITBLOCK {