//******************************************************************* // Copyright (C) 2000 ImageLinks Inc. // // License: MIT // // See LICENSE.txt file in the top level directory for more details. // // Author: Garrett Potts // //******************************************************************** // $Id: ossimFontFactoryBase.h 23664 2015-12-14 14:17:27Z dburken $ #ifndef ossimFontFactoryBase_HEADER #define ossimFontFactoryBase_HEADER #include #include #include class ossimFont; class ossimFontFactoryBase { public: virtual ~ossimFontFactoryBase(){} /*! * Will find the best font for the passed in infromation. * If none is found a default font should be returned. */ virtual ossimFont* createFont(const ossimFontInformation& information)const=0; /*! * Usually for trutype fonts but any font stored in a file it * will try to create a font from it. */ virtual ossimFont* createFont(const ossimFilename& file)const=0; virtual void getFontInformation(std::vector& informationList)const=0; }; #endif