ultimatepp/uppdev/PainterExamples/Div.cpp
cxl 3cd394812c Merge continued
git-svn-id: svn://ultimatepp.org/upp/trunk@10263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-04 08:34:39 +00:00

17 lines
346 B
C++

#include "Examples.h"
void Div(Painter& sw)
{
sw.Character(100, 100, 'O', Arial(100))
.Character(100, 150, 'O', Arial(100))
.Fill(Black());
sw.Translate(200, 0);
sw.Character(100, 100, 'O', Arial(100))
.Div()
.Character(100, 150, 'O', Arial(100))
.Fill(Black());
}
INITBLOCK {
RegisterExample("Div", Div);
}