1 #include "apisurface.h"
7 ApiSurface::ApiSurface()
11 QSize ApiSurface::size() const
16 void ApiSurface::setSize(const QSize &size)
21 void ApiSurface::contentsFromBase64(const QByteArray &base64)
23 QByteArray dataArray = QByteArray::fromBase64(base64);
24 m_image.loadFromData(dataArray, "png");
25 m_thumb = thumbnail(m_image);
28 QImage ApiSurface::image() const
33 QImage ApiSurface::thumb() const
38 int ApiSurface::depth() const
43 void ApiSurface::setDepth(int depth)
48 QString ApiSurface::formatName() const
53 void ApiSurface::setFormatName(const QString &str)
59 ApiTexture::ApiTexture()
64 QString ApiTexture::label() const
69 void ApiTexture::setLabel(const QString &str)
74 ApiFramebuffer::ApiFramebuffer()
79 QString ApiFramebuffer::type() const
84 void ApiFramebuffer::setType(const QString &str)