ultimatepp/uppdev/PainterExamples/TextFillSolid.cpp
cxl 7c7c8dfd7e Developing Painter2.0
git-svn-id: svn://ultimatepp.org/upp/trunk@848 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-02-10 17:31:20 +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);
}