mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-26 22:03:35 -06:00
New painter examples
git-svn-id: svn://ultimatepp.org/upp/trunk@869 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ea8d677f93
commit
b556ccca12
17 changed files with 176 additions and 16 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue