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
QHaikuUtils Namespace Reference

Functions

color_space imageFormatToColorSpace (QImage::Format format)
 
QImage::Format colorSpaceToImageFormat (color_space colorSpace)
 

Function Documentation

◆ colorSpaceToImageFormat()

QImage::Format QHaikuUtils::colorSpaceToImageFormat ( color_space colorSpace)

Definition at line 43 of file qhaikuutils.cpp.

References QImage::Format_ARGB32, QImage::Format_Indexed8, QImage::Format_Invalid, QImage::Format_MonoLSB, QImage::Format_RGB16, QImage::Format_RGB32, QImage::Format_RGB555, QImage::Format_RGB888, Q_ASSERT, and qWarning.

Referenced by QHaikuScreen::format(), and QHaikuScreen::grabWindow().

+ Here is the caller graph for this function:

◆ imageFormatToColorSpace()