00001 #ifndef __FONT_THUMBNAIL__H__ 00002 #define __FONT_THUMBNAIL__H__ 00003 00005 // 00006 // Class Name : KFI::CFontThumbnail 00007 // Author : Craig Drummond 00008 // Project : K Font Installer 00009 // Creation Date : 02/08/2003 00010 // Version : $Revision$ $Date$ 00011 // 00013 // 00014 // This program is free software; you can redistribute it and/or 00015 // modify it under the terms of the GNU General Public License 00016 // as published by the Free Software Foundation; either version 2 00017 // of the License, or (at your option) any later version. 00018 // 00019 // This program is distributed in the hope that it will be useful, 00020 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00021 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00022 // GNU General Public License for more details. 00023 // 00024 // You should have received a copy of the GNU General Public License 00025 // along with this program; if not, write to the Free Software 00026 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00027 // 00029 // (C) Craig Drummond, 2003, 2004 00031 00032 #include <kio/thumbcreator.h> 00033 #include "FcEngine.h" 00034 00035 namespace KFI 00036 { 00037 00038 class CFontThumbnail : public ThumbCreator 00039 { 00040 public: 00041 00042 CFontThumbnail(); 00043 ~CFontThumbnail() {} 00044 00045 bool create(const TQString &path, int width, int height, TQImage &img); 00046 Flags flags() const; 00047 00048 private: 00049 00050 CFcEngine itsEngine; 00051 }; 00052 00053 } 00054 00055 #endif
1.6.1