QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
ColoredSvgImageProvider.h
Go to the documentation of this file.
1#pragma once
2
3#include <QtQuick/QQuickImageProvider>
4
12class ColoredSvgImageProvider : public QQuickImageProvider
13{
14public:
15 static constexpr const char *ProviderId = "coloredsvg";
16
18
19 QImage requestImage(const QString &id, QSize *size, const QSize &requestedSize) final;
20};
Image provider that rasterizes an SVG (or any QImage-loadable Qt resource)
static constexpr const char * ProviderId
QImage requestImage(const QString &id, QSize *size, const QSize &requestedSize) final