LASi
glyphMgr.h
Go to the documentation of this file.
1
13#ifndef GLYPH_MANAGER_H
14#define GLYPH_MANAGER_H
15
16#include <ft2build.h>
17#include FT_FREETYPE_H
18#include FT_GLYPH_H
19
22class FreetypeGlyphMgr { //: public Manager<FT_GlyphRec*> {
23 private:
24 FT_Glyph _glyph;
25
26 public:
28 FreetypeGlyphMgr(FT_Glyph glyph);
32 operator FT_Glyph() const;
33 void assign(const FT_Glyph glyph);
34};
35#endif
Manage FT_Glyph by insuring that FT_Glyph is handled correctly.
Definition: glyphMgr.h:22
FreetypeGlyphMgr()
Manage FT_Glyph by insuring that resources are freed when done.
Definition: glyphMgr.cpp:23
FreetypeGlyphMgr & operator=(const FreetypeGlyphMgr &ftgm)
Definition: glyphMgr.cpp:39
void assign(const FT_Glyph glyph)
Definition: glyphMgr.cpp:65
FT_Glyph _glyph
Definition: glyphMgr.h:24
~FreetypeGlyphMgr()
Definition: glyphMgr.cpp:55