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.
25 lines
503 B
25 lines
503 B
/* |
|
SPDX-FileCopyrightText: 2018 Julian Wolff <wolff@julianwolff.de> |
|
|
|
SPDX-License-Identifier: LGPL-2.0-or-later |
|
*/ |
|
|
|
#pragma once |
|
|
|
#include "FcEngine.h" |
|
#include "kxftconfig.h" |
|
|
|
#ifdef HAVE_FONTCONFIG |
|
|
|
#include <QImage> |
|
|
|
class PreviewRenderEngine : public KFI::CFcEngine |
|
{ |
|
public: |
|
PreviewRenderEngine(bool init = true); |
|
~PreviewRenderEngine() override; |
|
|
|
QImage drawAutoSize(const QFont &font, const QColor &txt, const QColor &bgnd, const QString &text); |
|
}; |
|
|
|
#endif // HAVE_FONTCONFIG
|
|
|