Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QOpenVGOffscreenSurface Class Reference

#include <qopenvgoffscreensurface.h>

+ Collaboration diagram for QOpenVGOffscreenSurface:

Public Member Functions

 QOpenVGOffscreenSurface (const QSize &size)
 
 ~QOpenVGOffscreenSurface ()
 
void makeCurrent ()
 
void doneCurrent ()
 
void swapBuffers ()
 
VGImage image ()
 
QSize size () const
 
QImage readbackQImage ()
 

Detailed Description

Definition at line 11 of file qopenvgoffscreensurface.h.

Constructor & Destructor Documentation

◆ QOpenVGOffscreenSurface()

QT_BEGIN_NAMESPACE QOpenVGOffscreenSurface::QOpenVGOffscreenSurface ( const QSize & size)

Definition at line 12 of file qopenvgoffscreensurface.cpp.

References QSize::height(), qWarning, and QSize::width().

+ Here is the call graph for this function:

◆ ~QOpenVGOffscreenSurface()

QOpenVGOffscreenSurface::~QOpenVGOffscreenSurface ( )

Definition at line 46 of file qopenvgoffscreensurface.cpp.

Member Function Documentation

◆ doneCurrent()

void QOpenVGOffscreenSurface::doneCurrent ( )

Definition at line 65 of file qopenvgoffscreensurface.cpp.

Referenced by QSGOpenVGGlyphNode::render(), and QSGOpenVGInternalRectangleNode::render().

+ Here is the caller graph for this function:

◆ image()

VGImage QOpenVGOffscreenSurface::image ( )
inline

Definition at line 21 of file qopenvgoffscreensurface.h.

Referenced by QSGOpenVGLayer::comparisonKey(), QSGOpenVGGlyphNode::render(), and QSGOpenVGInternalRectangleNode::render().

+ Here is the caller graph for this function:

◆ makeCurrent()

void QOpenVGOffscreenSurface::makeCurrent ( )

Definition at line 53 of file qopenvgoffscreensurface.cpp.

Referenced by QSGOpenVGGlyphNode::render(), and QSGOpenVGInternalRectangleNode::render().

+ Here is the caller graph for this function:

◆ readbackQImage()

QImage QOpenVGOffscreenSurface::readbackQImage ( )

Definition at line 81 of file qopenvgoffscreensurface.cpp.

References QImage::Format_ARGB32_Premultiplied, QSize::height(), and QSize::width().

Referenced by QSGOpenVGLayer::toImage().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ size()

QSize QOpenVGOffscreenSurface::size ( ) const
inline

Definition at line 22 of file qopenvgoffscreensurface.h.

Referenced by QSGOpenVGInternalRectangleNode::render(), and QSGOpenVGLayer::textureSize().

+ Here is the caller graph for this function:

◆ swapBuffers()

void QOpenVGOffscreenSurface::swapBuffers ( )

Definition at line 76 of file qopenvgoffscreensurface.cpp.


The documentation for this class was generated from the following files: