blob: 851ab60603a662f8d54fde21f1e702d973769245 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef SVGIMAGEPROVIDER_H
#define SVGIMAGEPROVIDER_H
#include <QQuickImageProvider>
class SvgImageProvider : public QQuickImageProvider
{
public:
explicit SvgImageProvider();
~SvgImageProvider();
QPixmap requestPixmap(const QString &id, QSize *size, const QSize &requestedSize) override;
};
#endif // SVGIMAGEPROVIDER_H
|