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 &sizesize, int sliceHeight=0)
 ~QSGAreaAllocator ()
QRect allocate (const QSize &sizesize)
bool deallocate (const QRect &rect)
bool isEmpty () const
QSize size () const
QByteArray serialize ()
const char * deserialize (const char *datadata, int sizesize)

Detailed Description

Definition at line 26 of file qsgareaallocator_p.h.

Constructor & Destructor Documentation

◆ QSGAreaAllocator()

QSGAreaAllocator::QSGAreaAllocator ( const QSize & size,
int sliceHeight = 0 )

Definition at line 61 of file qsgareaallocator.cpp.

◆ ~QSGAreaAllocator()

QSGAreaAllocator::~QSGAreaAllocator ( )

Definition at line 68 of file qsgareaallocator.cpp.

Member Function Documentation

◆ allocate()

QRect QSGAreaAllocator::allocate ( const QSize & size)

Definition at line 73 of file qsgareaallocator.cpp.

◆ deallocate()

bool QSGAreaAllocator::deallocate ( const QRect & rect)

Definition at line 80 of file qsgareaallocator.cpp.

◆ deserialize()

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

Definition at line 354 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 313 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: