Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

Glyph.hh

Go to the documentation of this file.
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     // metrics  
00028     double Width( ) const ;
00029     double Height( ) const ;
00030     double HoriAdvance( ) const ;
00031     double VertAdvance( ) const ;
00032 } ;
00033 
00034 } // end of namespace
00035 
00036 #endif

Generated on Sun Feb 2 09:16:05 2003 for libpdf++ by doxygen1.2.16