ultimatepp/uppdev/Glyph/glyph.h
cxl 0c6b8e8696 .uppdev
git-svn-id: svn://ultimatepp.org/upp/trunk@6121 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-05-27 18:37:01 +00:00

22 lines
489 B
C++

#ifndef _Glyph_glyph_h_
#define _Glyph_glyph_h_
#include <Draw/Draw.h>
#include <Painter/Painter.h>
using namespace Upp;
Image RenderGlyph(Point at, int angle, int chr, Font fnt, Color color, Size sz);
String CompressGlyph(const Image& m);
Image DecompressGlyph(const String& g, Color c);
struct TestDraw : SDraw {
Draw *draw;
virtual void PutImage(Point p, const Image& m, const Rect& src);
virtual void PutRect(const Rect& r, Color color);
};
#endif