mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-02 08:12:42 -06:00
Painter Examples
git-svn-id: svn://ultimatepp.org/upp/trunk@750 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
1167eca8e0
commit
845ace0cc0
22 changed files with 14504 additions and 0 deletions
11
examples/PainterExamples/TextFillSolid.cpp
Normal file
11
examples/PainterExamples/TextFillSolid.cpp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include "Examples.h"
|
||||
|
||||
void TextFillSolid(Painter& sw)
|
||||
{
|
||||
sw.Text(100, 100, "Hello world!", Roman(120).Italic().Bold())
|
||||
.Fill(LtBlue());
|
||||
}
|
||||
|
||||
INITBLOCK {
|
||||
RegisterExample("Filling text with solid color", TextFillSolid);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue