Draw: Developing SDraw

git-svn-id: svn://ultimatepp.org/upp/trunk@6118 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-05-27 13:01:39 +00:00
parent a5e716a613
commit e47ef44972
9 changed files with 67 additions and 11 deletions

View file

@ -4,6 +4,14 @@
NAMESPACE_UPP
Image RenderGlyphByPainter(Point at, int angle, int chr, Font fnt, Color color, Size sz);
Image SDraw::RenderGlyph(Point at, int angle, int chr, Font fnt, Color color, Size sz)
{
ASSERT(HasPainter());
return RenderGlyphByPainter(at, angle, chr, fnt, color, sz);
}
struct sMakeTextGlyph : public ImageMaker
{
int chr;