OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimFreeTypeFontFactory.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: Garrett Potts
6 //
7 //********************************************************************
8 // $Id: ossimFreeTypeFontFactory.h 17108 2010-04-15 21:08:06Z dburken $
9 #ifndef ossimFreeTypeFontFactory_HEADER
10 #define ossimFreeTypeFontFactory_HEADER
12 
14 {
15 public:
17  const ossimFontInformation& info)
18  :theFilename(file),
19  theFontInformation(info)
20  {}
21 
24 };
25 
27 {
28 public:
29  virtual ~ossimFreeTypeFontFactory();
31  virtual ossimFont* createFont(const ossimFontInformation& information)const;
32  virtual ossimFont* createFont(const ossimFilename& file)const;
33  virtual void getFontInformation(std::vector<ossimFontInformation>& informationList)const;
34 
35  bool addFile(const ossimFilename& file);
36 
37 protected:
39 
41  std::vector<ossimFreeTypeFontInformation> theFontInformationList;
42 
43  void initializeDefaults();
44 private:
46  void operator =(const ossimFreeTypeFontFactory& /*rhs*/){}
47 
48 };
49 
50 #endif
ossimFreeTypeFontFactory(const ossimFreeTypeFontFactory &)
ossimFreeTypeFontInformation(const ossimFilename &file, const ossimFontInformation &info)
virtual ossimFont * createFont(const ossimFontInformation &information) const
bool addFile(const ossimFilename &file)
void operator=(const ossimFreeTypeFontFactory &)
static ossimFreeTypeFontFactory * instance()
static ossimFreeTypeFontFactory * theInstance
virtual ~ossimFreeTypeFontFactory()
std::vector< ossimFreeTypeFontInformation > theFontInformationList
virtual void getFontInformation(std::vector< ossimFontInformation > &informationList) const