You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
479 B
29 lines
479 B
#pragma once |
|
|
|
/* |
|
* SPDX-FileCopyrightText: 2003-2007 Craig Drummond <craig@kde.org> |
|
* SPDX-License-Identifier: GPL-2.0-or-later |
|
*/ |
|
|
|
#include <KIO/ThumbCreator> |
|
|
|
#include "FcEngine.h" |
|
|
|
namespace KFI |
|
{ |
|
class CFontThumbnail : public ThumbCreator |
|
{ |
|
public: |
|
CFontThumbnail(); |
|
~CFontThumbnail() override |
|
{ |
|
} |
|
|
|
bool create(const QString &path, int width, int height, QImage &img) override; |
|
Flags flags() const override; |
|
|
|
private: |
|
CFcEngine m_engine; |
|
}; |
|
|
|
}
|
|
|