ultimatepp/examples/PainterExamples/TextFillSolid.cpp
cxl 845ace0cc0 Painter Examples
git-svn-id: svn://ultimatepp.org/upp/trunk@750 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-01-15 22:25:46 +00:00

11 lines
234 B
C++

#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);
}