00001
00008 #ifndef __FREETYPE_GLYPH_HEADER_INCLUDED__
00009 #define __FREETYPE_GLYPH_HEADER_INCLUDED__
00010
00011 #include <boost/smart_ptr.hpp>
00012
00013 namespace freetype {
00014
00015 class CFace ;
00016
00017 class CGlyph
00018 {
00019 private :
00020 struct CBody ;
00021 boost::scoped_ptr<CBody> m_body ;
00022
00023 public :
00024 CGlyph( const CFace *face, unsigned int glyph_index ) ;
00025 ~CGlyph( ) ;
00026
00027
00028 double Width( ) const ;
00029 double Height( ) const ;
00030 double HoriAdvance( ) const ;
00031 double VertAdvance( ) const ;
00032 } ;
00033
00034 }
00035
00036 #endif