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

13 lines
264 B
C++

#include "Examples.h"
void RadialFocus(Painter& sw)
{
sw.Circle(400.5, 400.5, 200)
.ColorStop(0.7, LtBlue())
.Fill(300, 300, White(), 400.5, 400.5, 200, Black())
;
}
INITBLOCK {
RegisterExample("Radial gradient with focus", RadialFocus);
}