ultimatepp/uppdev/PainterExamples/ColorStops.cpp
cxl d7f5262fc3 Developing Painter20
git-svn-id: svn://ultimatepp.org/upp/trunk@847 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-02-09 16:37:48 +00:00

19 lines
343 B
C++

#include "Examples.h"
#if 0
void GradientStop(Painter& sw)
{
sw.Rectangle(20.5, 20.5, 500, 100)
.ColorStop(0.25, Green())
.ColorStop(0.5, Yellow())
.ColorStop(0.75, Gray())
.Fill(0, 0, Blue(), 500, 0, LtRed())
.Stroke(1, Black());
}
INITBLOCK {
RegisterExample("Gradient stops", GradientStop);
}
#endif