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
QPlatformSurface Class Referenceabstract

The QPlatformSurface class provides an abstraction for a surface. More...

#include <qplatformsurface.h>

+ Inheritance diagram for QPlatformSurface:
+ Collaboration diagram for QPlatformSurface:

Public Member Functions

virtual ~QPlatformSurface ()
 
virtual QSurfaceFormat format () const =0
 
QSurfacesurface () const
 
virtual QPlatformScreenscreen () const =0
 

Static Public Member Functions

static bool isRasterSurface (QSurface *surface)
 

Friends

class QPlatformWindow
 
class QPlatformOffscreenSurface
 

Detailed Description

The QPlatformSurface class provides an abstraction for a surface.

Since
5.0

\preliminary

Definition at line 29 of file qplatformsurface.h.

Constructor & Destructor Documentation

◆ ~QPlatformSurface()

QPlatformSurface::~QPlatformSurface ( )
virtual

Definition at line 21 of file qplatformsurface.cpp.

Member Function Documentation

◆ format()

◆ isRasterSurface()

bool QPlatformSurface::isRasterSurface ( QSurface * surface)
static

Definition at line 35 of file qplatformsurface.cpp.

References QSurface::RasterGLSurface, QSurface::RasterSurface, surface(), and QSurface::surfaceType().

Referenced by QRasterBackingStore::scroll().

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

◆ screen()

virtual QPlatformScreen * QPlatformSurface::screen ( ) const
pure virtual

◆ surface()

Friends And Related Symbol Documentation

◆ QPlatformOffscreenSurface

friend class QPlatformOffscreenSurface
friend

Definition at line 48 of file qplatformsurface.h.

◆ QPlatformWindow

friend class QPlatformWindow
friend

Definition at line 47 of file qplatformsurface.h.


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