QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskGraphicIO.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_GRAPHIC_IO_H
7#define QSK_GRAPHIC_IO_H
8
9#include "QskGlobal.h"
10
11class QskGraphic;
12class QString;
13class QIODevice;
14class QByteArray;
15
16namespace QskGraphicIO
17{
18 QSK_EXPORT QskGraphic read( const QString& fileName );
19 QSK_EXPORT QskGraphic read( const QByteArray& data );
20 QSK_EXPORT QskGraphic read( QIODevice* dev );
21
22 QSK_EXPORT bool write( const QskGraphic&, const QString& fileName );
23 QSK_EXPORT bool write( const QskGraphic&, QByteArray& data );
24 QSK_EXPORT bool write( const QskGraphic&, QIODevice* dev );
25}
26
27#endif
A paint device for scalable graphics.
Definition QskGraphic.h:28