![]() |
Qt 6.x
The Qt SDK
|
#include <qopenvgoffscreensurface.h>
Public Member Functions | |
QOpenVGOffscreenSurface (const QSize &size) | |
~QOpenVGOffscreenSurface () | |
void | makeCurrent () |
void | doneCurrent () |
void | swapBuffers () |
VGImage | image () |
QSize | size () const |
QImage | readbackQImage () |
Definition at line 11 of file qopenvgoffscreensurface.h.
QT_BEGIN_NAMESPACE QOpenVGOffscreenSurface::QOpenVGOffscreenSurface | ( | const QSize & | size | ) |
Definition at line 12 of file qopenvgoffscreensurface.cpp.
References QSize::height(), qWarning, and QSize::width().
QOpenVGOffscreenSurface::~QOpenVGOffscreenSurface | ( | ) |
Definition at line 46 of file qopenvgoffscreensurface.cpp.
void QOpenVGOffscreenSurface::doneCurrent | ( | ) |
Definition at line 65 of file qopenvgoffscreensurface.cpp.
Referenced by QSGOpenVGGlyphNode::render(), and QSGOpenVGInternalRectangleNode::render().
|
inline |
Definition at line 21 of file qopenvgoffscreensurface.h.
Referenced by QSGOpenVGLayer::comparisonKey(), QSGOpenVGGlyphNode::render(), and QSGOpenVGInternalRectangleNode::render().
void QOpenVGOffscreenSurface::makeCurrent | ( | ) |
Definition at line 53 of file qopenvgoffscreensurface.cpp.
Referenced by QSGOpenVGGlyphNode::render(), and QSGOpenVGInternalRectangleNode::render().
QImage QOpenVGOffscreenSurface::readbackQImage | ( | ) |
Definition at line 81 of file qopenvgoffscreensurface.cpp.
References QImage::bits(), QImage::bytesPerLine(), QImage::Format_ARGB32_Premultiplied, QSize::height(), and QSize::width().
Referenced by QSGOpenVGLayer::toImage().
|
inline |
Definition at line 22 of file qopenvgoffscreensurface.h.
Referenced by QSGOpenVGInternalRectangleNode::render(), and QSGOpenVGLayer::textureSize().
void QOpenVGOffscreenSurface::swapBuffers | ( | ) |
Definition at line 76 of file qopenvgoffscreensurface.cpp.