Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSGAreaAllocator Class Reference

#include <qsgareaallocator_p.h>

Collaboration diagram for QSGAreaAllocator:

Public Member Functions

 QSGAreaAllocator (const QSize &size)
 ~QSGAreaAllocator ()
QRect allocate (const QSize &size)
bool deallocate (const QRect &rect)
bool isEmpty () const
QSize size () const
QByteArray serialize ()
const char * deserialize (const char *data, int size)

Detailed Description

Definition at line 26 of file qsgareaallocator_p.h.

Constructor & Destructor Documentation

◆ QSGAreaAllocator()

QSGAreaAllocator::QSGAreaAllocator ( const QSize & size)

Definition at line 59 of file qsgareaallocator.cpp.

◆ ~QSGAreaAllocator()

QSGAreaAllocator::~QSGAreaAllocator ( )

Definition at line 64 of file qsgareaallocator.cpp.

Member Function Documentation

◆ allocate()

QRect QSGAreaAllocator::allocate ( const QSize & size)

Definition at line 69 of file qsgareaallocator.cpp.

◆ deallocate()

bool QSGAreaAllocator::deallocate ( const QRect & rect)

Definition at line 76 of file qsgareaallocator.cpp.

◆ deserialize()

const char * QSGAreaAllocator::deserialize ( const char * data,
int size )

Definition at line 335 of file qsgareaallocator.cpp.

◆ isEmpty()

bool QSGAreaAllocator::isEmpty ( ) const
inline

Definition at line 34 of file qsgareaallocator_p.h.

◆ serialize()

QByteArray QSGAreaAllocator::serialize ( )

Definition at line 294 of file qsgareaallocator.cpp.

◆ size()

QSize QSGAreaAllocator::size ( ) const
inline

Definition at line 35 of file qsgareaallocator_p.h.


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