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
qrgb.h File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#include <QtGui/qtguiglobal.h>
#include <QtCore/qprocessordetection.h>
+ Include dependency graph for qrgb.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

constexpr int qRed (QRgb rgb)
 
constexpr int qGreen (QRgb rgb)
 
constexpr int qBlue (QRgb rgb)
 
constexpr int qAlpha (QRgb rgb)
 
constexpr QRgb qRgb (int r, int g, int b)
 
constexpr QRgb qRgba (int r, int g, int b, int a)
 
constexpr int qGray (int r, int g, int b)
 
constexpr int qGray (QRgb rgb)
 
constexpr bool qIsGray (QRgb rgb)
 
constexpr QRgb qPremultiply (QRgb x)
 
QRgb qUnpremultiply (QRgb p)
 

Variables

QT_BEGIN_NAMESPACE typedef unsigned int QRgb
 
constexpr QRgb RGB_MASK = 0x00ffffff
 
Q_GUI_EXPORT const uint qt_inv_premul_factor []
 

Function Documentation

◆ qAlpha()

constexpr int qAlpha ( QRgb rgb)
related

Definition at line 27 of file qrgb.h.

Referenced by QColor::QColor(), QPdfEnginePrivate::addImage(), Argb32OperationsC::alpha(), QFontEngine::alphaMapForGlyph(), alphargbblend_argb32(), QSvgFeColorMatrix::apply(), QSvgFeGaussianBlur::apply(), QSvgFeComposite::apply(), blend_pixel(), blend_pixel(), blendedImage(), comp_func_ColorBurn_impl(), comp_func_ColorDodge_impl(), comp_func_Darken_impl(), comp_func_DestinationAtop_mips_dsp(), comp_func_DestinationIn_mips_dsp(), comp_func_DestinationOut_mips_dsp(), comp_func_DestinationOver_mips_dsp(), comp_func_Difference_impl(), comp_func_Exclusion_impl(), comp_func_HardLight_impl(), comp_func_Lighten_impl(), comp_func_Multiply_impl(), comp_func_Overlay_impl(), comp_func_Screen_impl(), comp_func_SoftLight_impl(), comp_func_solid_ColorBurn_impl(), comp_func_solid_ColorDodge_impl(), comp_func_solid_Darken_impl(), comp_func_solid_DestinationAtop_mips_dsp(), comp_func_solid_DestinationIn_mips_dsp(), comp_func_solid_DestinationOut_mips_dsp(), comp_func_solid_DestinationOver_mips_dsp(), comp_func_solid_Difference_impl(), comp_func_solid_Exclusion_impl(), comp_func_solid_HardLight_impl(), comp_func_solid_Lighten_impl(), comp_func_solid_Multiply_impl(), comp_func_solid_Overlay_impl(), comp_func_solid_Screen_impl(), comp_func_solid_SoftLight_impl(), comp_func_solid_SourceAtop_mips_dsp(), comp_func_solid_SourceIn_mips_dsp(), comp_func_solid_SourceOut_mips_dsp(), comp_func_solid_SourceOver_mips_dsp(), comp_func_solid_XOR_mips_dsp(), comp_func_SourceAtop_mips_dsp(), comp_func_SourceIn_mips_dsp(), comp_func_SourceOut_mips_dsp(), comp_func_XOR_mips_dsp(), convert_ARGB_to_A2RGB30(), convert_ARGB_to_A2RGB30_inplace(), convert_Indexed8_to_Alpha8(), convert_Indexed8_to_Alpha8_inplace(), QSvgMask::createMask(), darkenPixmap(), QQC2_NAMESPACE::darkenPixmap(), QQC2_NAMESPACE::QMacStyle::drawControl(), QMacStyle::drawControl(), QWin32PrintEngine::drawTextItem(), QRasterPlatformPixmap::fill(), fillUniformArrayFromImage(), fix_color_table(), QWindowsVistaStylePrivate::fixAlphaChannel(), QQC2::QWindowsXPStylePrivate::fixAlphaChannel(), QX11PlatformPixmap::fromImage(), QColor::fromRgba(), QMacStyle::generatedIconPixmap(), QCommonStyle::generatedIconPixmap(), QQC2_NAMESPACE::QMacStyle::generatedIconPixmap(), QQC2::QCommonStyle::generatedIconPixmap(), getAlphaF(), grayscale(), hasAlpha(), imageHasNarrowOutlines(), invertRXGBColors(), Argb32OperationsC::isOpaque(), Argb32OperationsC::isTransparent(), load_glyph_image_to_texture(), loadPremultiplied< QRgb >(), loadPremultipliedLUT(), QColorTransform::map(), QPlatformPixmap::mask(), pixel_distance(), QColor::qPremultiply(), qRepremultiply(), qt_blend_argb32_on_argb32(), qt_blend_argb32_on_argb32_mips_dsp(), qt_blend_argb32_on_rgb16_const_alpha(), qt_image_convolute_filter(), qt_qimageScaleAARGBA_helper(), qt_write_dibv5(), QColor::qUnpremultiply(), readA2R10G10B10(), readATI2(), QImage::setColor(), QColor::setRgba(), sourceOver(), storeAlpha8FromARGB32PM(), storeARGBPMFromARGB32PM(), storePremultiplied(), storePremultipliedLUT(), storePremultipliedLUT(), storeUnpremultipliedLUT(), QColorTrcLut::toLinear64(), QQuickJSContext2DPixelData::virtualGet(), QQuickJSContext2DPixelData::virtualPut(), src_gui_painting_qcolor::wrapper(), src_gui_image_qimage::wrapper1(), QDDSHandler::write(), ICOReader::write(), Blend_ARGB32_on_RGB16_SourceAlpha::write(), Blend_ARGB32_on_RGB16_SourceAndConstAlpha::write(), write_xpm_image(), and QPNGImageWriter::writeImage().

◆ qBlue()

constexpr int qBlue ( QRgb rgb)
related

Definition at line 24 of file qrgb.h.

Referenced by QColor::QColor(), QColor::QColor(), QPdfEnginePrivate::addImage(), QAlphaWidget::alphaBlend(), QSvgFeColorMatrix::apply(), QSvgFeGaussianBlur::apply(), QSvgFeComposite::apply(), blendedImage(), comp_func_ColorBurn_impl(), comp_func_ColorDodge_impl(), comp_func_Darken_impl(), comp_func_Difference_impl(), comp_func_Exclusion_impl(), comp_func_HardLight_impl(), comp_func_Lighten_impl(), comp_func_Multiply_impl(), comp_func_Overlay_impl(), comp_func_Screen_impl(), comp_func_SoftLight_impl(), comp_func_solid_ColorBurn_impl(), comp_func_solid_ColorDodge_impl(), comp_func_solid_Darken_impl(), comp_func_solid_Difference_impl(), comp_func_solid_Exclusion_impl(), comp_func_solid_HardLight_impl(), comp_func_solid_Lighten_impl(), comp_func_solid_Multiply_impl(), comp_func_solid_Overlay_impl(), comp_func_solid_Screen_impl(), comp_func_solid_SoftLight_impl(), convert_RGB_to_Indexed8(), QVncClient::convertPixels(), Viewer::createImage(), QSvgMask::createMask(), darkenPixmap(), QQC2_NAMESPACE::darkenPixmap(), do_write_jpeg_image(), QWin32PrintEngine::drawTextItem(), findNearestColor(), QWindowsVistaStylePrivate::fixAlphaChannel(), QQC2::QWindowsXPStylePrivate::fixAlphaChannel(), QCoreTextFontEngine::fontSmoothing(), QX11PlatformPixmap::fromImage(), QColor::fromRgb(), QColor::fromRgba(), QMacStyle::generatedIconPixmap(), QQC2_NAMESPACE::QMacStyle::generatedIconPixmap(), init_gray(), init_indexed(), invertRXGBColors(), load_glyph_image_to_texture(), loadPremultiplied< QRgb >(), loadPremultipliedLUT(), loadUnpremultiplied< QRgb >(), loadUnpremultipliedLUT(), QColorTransform::map(), QColormap::pixel(), pixel_distance(), QColor::qGray(), qIsGray(), qRgbAvg(), qRgbToRgbQuad(), qt_convRgbTo16(), qt_image_convolute_filter(), qt_qimageScaleAARGB_helper(), qt_qimageScaleAARGBA_helper(), qt_write_dib(), qt_write_dibv5(), query_colormap(), QColor::qUnpremultiply(), read32bitIcon(), readA2R10G10B10(), readATI2(), rgbBlend(), rgbBlend(), setAlphaDXT32Helper(), setAlphaDXT45Helper(), QtPrivate::QColorShower::setHsv(), QtPrivate::QColorShower::setRgb(), QColor::setRgb(), QColor::setRgba(), storeARGBPMFromARGB32PM(), storeRGBFromARGB32PM(), QMacStyle::styleHint(), QQC2_NAMESPACE::QMacStyle::styleHint(), QColorTrcLut::toLinear64(), QtPrivate::QColorShower::updateQColor(), QQuickJSContext2DPixelData::virtualGet(), QQuickJSContext2DPixelData::virtualPut(), src_gui_painting_qcolor::wrapper(), src_gui_image_qimage::wrapper1(), QDDSHandler::write(), QTiffHandler::write(), ICOReader::write(), write_pbm_image(), write_xpm_image(), and QPNGImageWriter::writeImage().

◆ qGray() [1/2]

◆ qGray() [2/2]

constexpr int qGray ( QRgb rgb)
related

Definition at line 39 of file qrgb.h.

◆ qGreen()

constexpr int qGreen ( QRgb rgb)
related

Definition at line 21 of file qrgb.h.

Referenced by QColor::QColor(), QColor::QColor(), QPdfEnginePrivate::addImage(), QAlphaWidget::alphaBlend(), QRasterPaintEngine::alphaPenBlt(), QSvgFeColorMatrix::apply(), QSvgFeGaussianBlur::apply(), QSvgFeComposite::apply(), blendedImage(), comp_func_ColorBurn_impl(), comp_func_ColorDodge_impl(), comp_func_Darken_impl(), comp_func_Difference_impl(), comp_func_Exclusion_impl(), comp_func_HardLight_impl(), comp_func_Lighten_impl(), comp_func_Multiply_impl(), comp_func_Overlay_impl(), comp_func_Screen_impl(), comp_func_SoftLight_impl(), comp_func_solid_ColorBurn_impl(), comp_func_solid_ColorDodge_impl(), comp_func_solid_Darken_impl(), comp_func_solid_Difference_impl(), comp_func_solid_Exclusion_impl(), comp_func_solid_HardLight_impl(), comp_func_solid_Lighten_impl(), comp_func_solid_Multiply_impl(), comp_func_solid_Overlay_impl(), comp_func_solid_Screen_impl(), comp_func_solid_SoftLight_impl(), convert_RGB_to_Indexed8(), QVncClient::convertPixels(), Viewer::createImage(), QSvgMask::createMask(), darkenPixmap(), QQC2_NAMESPACE::darkenPixmap(), do_write_jpeg_image(), QWin32PrintEngine::drawTextItem(), findNearestColor(), QWindowsVistaStylePrivate::fixAlphaChannel(), QQC2::QWindowsXPStylePrivate::fixAlphaChannel(), QCoreTextFontEngine::fontSmoothing(), QX11PlatformPixmap::fromImage(), QColor::fromRgb(), QColor::fromRgba(), QMacStyle::generatedIconPixmap(), QQC2_NAMESPACE::QMacStyle::generatedIconPixmap(), init_gray(), init_indexed(), invertRXGBColors(), load_glyph_image_to_texture(), loadPremultiplied< QRgb >(), loadPremultipliedLUT(), loadUnpremultiplied< QRgb >(), loadUnpremultipliedLUT(), QColorTransform::map(), QColormap::pixel(), pixel_distance(), QColor::qGray(), qIsGray(), qRgbAvg(), qRgbToRgbQuad(), qt_convRgbTo16(), qt_image_convolute_filter(), qt_qimageScaleAARGB_helper(), qt_qimageScaleAARGBA_helper(), qt_write_dib(), qt_write_dibv5(), query_colormap(), QColor::qUnpremultiply(), read32bitIcon(), readA2R10G10B10(), rgbBlend(), rgbBlend(), setAlphaDXT32Helper(), setAlphaDXT45Helper(), QtPrivate::QColorShower::setHsv(), QtPrivate::QColorShower::setRgb(), QColor::setRgb(), QColor::setRgba(), storeARGBPMFromARGB32PM(), storeRGBFromARGB32PM(), QMacStyle::styleHint(), QQC2_NAMESPACE::QMacStyle::styleHint(), QColorTrcLut::toLinear64(), QtPrivate::QColorShower::updateQColor(), QQuickJSContext2DPixelData::virtualGet(), QQuickJSContext2DPixelData::virtualPut(), src_gui_painting_qcolor::wrapper(), src_gui_image_qimage::wrapper1(), QDDSHandler::write(), QTiffHandler::write(), ICOReader::write(), write_pbm_image(), write_xpm_image(), and QPNGImageWriter::writeImage().

◆ qIsGray()

constexpr bool qIsGray ( QRgb rgb)
inlineconstexpr

Definition at line 42 of file qrgb.h.

References qBlue(), qGreen(), qRed(), and rgb.

Referenced by QImage::allGray(), destStoreGray16(), destStoreGray8(), and do_write_jpeg_image().

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

◆ qPremultiply()

◆ qRed()

constexpr int qRed ( QRgb rgb)
related

Definition at line 18 of file qrgb.h.

Referenced by QColor::QColor(), QColor::QColor(), QPdfEnginePrivate::addImage(), QAlphaWidget::alphaBlend(), QSvgFeColorMatrix::apply(), QSvgFeGaussianBlur::apply(), QSvgFeComposite::apply(), blendedImage(), comp_func_ColorBurn_impl(), comp_func_ColorDodge_impl(), comp_func_Darken_impl(), comp_func_Difference_impl(), comp_func_Exclusion_impl(), comp_func_HardLight_impl(), comp_func_Lighten_impl(), comp_func_Multiply_impl(), comp_func_Overlay_impl(), comp_func_Screen_impl(), comp_func_SoftLight_impl(), comp_func_solid_ColorBurn_impl(), comp_func_solid_ColorDodge_impl(), comp_func_solid_Darken_impl(), comp_func_solid_Difference_impl(), comp_func_solid_Exclusion_impl(), comp_func_solid_HardLight_impl(), comp_func_solid_Lighten_impl(), comp_func_solid_Multiply_impl(), comp_func_solid_Overlay_impl(), comp_func_solid_Screen_impl(), comp_func_solid_SoftLight_impl(), QQuickVisualTestUtils::compareImages(), convert_RGB_to_Indexed8(), QVncClient::convertPixels(), Viewer::createImage(), QSvgMask::createMask(), darkenPixmap(), QQC2_NAMESPACE::darkenPixmap(), destStoreGray16(), destStoreGray8(), do_write_jpeg_image(), QQC2_NAMESPACE::QMacStyle::drawControl(), QMacStyle::drawControl(), QWin32PrintEngine::drawTextItem(), findNearestColor(), QWindowsVistaStylePrivate::fixAlphaChannel(), QQC2::QWindowsXPStylePrivate::fixAlphaChannel(), QCoreTextFontEngine::fontSmoothing(), QX11PlatformPixmap::fromImage(), QColor::fromRgb(), QColor::fromRgba(), QMacStyle::generatedIconPixmap(), QQC2_NAMESPACE::QMacStyle::generatedIconPixmap(), init_gray(), init_indexed(), load_glyph_image_to_texture(), loadPremultiplied< QRgb >(), loadPremultipliedLUT(), loadUnpremultiplied< QRgb >(), loadUnpremultipliedLUT(), QColorTransform::map(), QColormap::pixel(), pixel_distance(), QColor::qGray(), qIsGray(), qRgbAvg(), qRgbToRgbQuad(), qt_convRgbTo16(), qt_image_convolute_filter(), qt_qimageScaleAARGB_helper(), qt_qimageScaleAARGBA_helper(), qt_write_dib(), qt_write_dibv5(), query_colormap(), QColor::qUnpremultiply(), read32bitIcon(), readA2R10G10B10(), rgbBlend(), rgbBlend(), setAlphaDXT32Helper(), setAlphaDXT45Helper(), QtPrivate::QColorShower::setHsv(), QtPrivate::QColorShower::setRgb(), QColor::setRgb(), QColor::setRgba(), storeARGBPMFromARGB32PM(), storeRGBFromARGB32PM(), QMacStyle::styleHint(), QQC2_NAMESPACE::QMacStyle::styleHint(), QColorTrcLut::toLinear64(), QtPrivate::QColorShower::updateQColor(), QQuickJSContext2DPixelData::virtualGet(), QQuickJSContext2DPixelData::virtualPut(), src_gui_painting_qcolor::wrapper(), src_gui_image_qimage::wrapper1(), QDDSHandler::write(), QTiffHandler::write(), ICOReader::write(), write_pbm_image(), write_xpm_image(), and QPNGImageWriter::writeImage().

◆ qRgb()

constexpr QRgb qRgb ( int r,
int g,
int b )
related

Definition at line 30 of file qrgb.h.

Referenced by QColorDialogStaticData::QColorDialogStaticData(), QtPrivate::QColorShower::QColorShower(), QDefaultColorTables::QDefaultColorTables(), QAlphaWidget::alphaBlend(), QFontEngine::alphaRGBMapForGlyph(), checkGrayscale(), convert_Indexed8_to_Grayscale8(), convert_Indexed8_to_Grayscale8_inplace(), convert_Indexed8_to_X32(), convert_RGB_to_Indexed8(), convertGrayscale16ToRGB32(), convertGrayscale8ToRGB32(), QGIFFormat::decode(), QQC2::QWindowsXPStyle::drawComplexControl(), QWindowsVistaStyle::drawComplexControl(), QQC2_NAMESPACE::QMacStyle::drawControl(), QMacStyle::drawControl(), QQC2::QWindowsXPStyle::drawControl(), QWindowsVistaStyle::drawControl(), QWindowsVistaStyle::drawPrimitive(), QQC2::QWindowsXPStyle::drawPrimitive(), effectiveColorTable(), fetchGrayscale16ToRGB32(), fetchGrayscale8ToRGB32(), QX11PlatformPixmap::fromImage(), init_gray(), init_indexed(), invertRXGBColors(), QImage::isGrayscale(), main(), Tga24Reader::operator()(), QWindowsVistaStyle::polish(), qsvg_get_hex_rgb(), qt_conv16ToRgb(), qt_qimageScaleAARGB_down_x_up_y(), qt_qimageScaleAARGB_down_xy(), qt_qimageScaleAARGB_up_x_down_y(), query_colormap(), QTiffHandler::read(), read32bitIcon(), read_dib_body(), read_pbm_body(), read_xbm_body(), readATI2(), readCxV8U8(), readG8R8G8B8(), readMask(), readR8G8B8G8(), readV16U16(), readV8U8(), setup_qt(), QQuickNinePatchImagePrivate::updatePatches(), src_gui_painting_qcolor::wrapper(), src_gui_image_qimage::wrapper0(), src_gui_image_qimage::wrapper1(), and yuv2rgb().

◆ qRgba()

constexpr QRgb qRgba ( int r,
int g,
int b,
int a )
related

Definition at line 33 of file qrgb.h.

Referenced by QDefaultColorTables::QDefaultColorTables(), QSvgFeColorMatrix::apply(), QSvgFeGaussianBlur::apply(), QSvgFeComposite::apply(), blendedImage(), comp_func_ColorBurn_impl(), comp_func_ColorDodge_impl(), comp_func_Darken_impl(), comp_func_Difference_impl(), comp_func_Exclusion_impl(), comp_func_HardLight_impl(), comp_func_Lighten_impl(), comp_func_Multiply_impl(), comp_func_Overlay_impl(), comp_func_Screen_impl(), comp_func_SoftLight_impl(), comp_func_solid_ColorBurn_impl(), comp_func_solid_ColorDodge_impl(), comp_func_solid_Darken_impl(), comp_func_solid_Difference_impl(), comp_func_solid_Exclusion_impl(), comp_func_solid_HardLight_impl(), comp_func_solid_Lighten_impl(), comp_func_solid_Multiply_impl(), comp_func_solid_Overlay_impl(), comp_func_solid_Screen_impl(), comp_func_solid_SoftLight_impl(), convertAlpha8ToRGB32(), QSvgMask::createMask(), darkenPixmap(), QQC2_NAMESPACE::darkenPixmap(), QQC2_NAMESPACE::QMacStyle::drawControl(), QMacStyle::drawControl(), QWindowsDirect2DPaintEngine::drawPixmap(), DXTFillColors(), effectiveColorTable(), fetchA2RGB30PMToARGB32PM(), fetchAlpha8ToRGB32(), QX11PlatformPixmap::fromImage(), QMacStyle::generatedIconPixmap(), QCommonStyle::generatedIconPixmap(), QQC2_NAMESPACE::QMacStyle::generatedIconPixmap(), QQC2::QCommonStyle::generatedIconPixmap(), grayscale(), ICOReader::iconAt(), QQuickIOSTheme::initialize(), load_glyph_image_to_texture(), QColorTransform::map(), Tga32Reader::operator()(), qt_color_from_string(), qt_image_convolute_filter(), qt_qimageScaleAARGBA_down_x_up_y(), qt_qimageScaleAARGBA_down_xy(), qt_qimageScaleAARGBA_up_x_down_y(), QColor::qUnpremultiply(), read_dib_body(), readA2R10G10B10(), readA2W10V10U10(), readARGB16(), readARGB16F(), readARGB32F(), readATI2(), readL6V5U5(), readPalette4Image(), readPalette8Image(), readQ16W16V16U16(), readQ8W8V8U8(), readR16F(), readR32F(), readRG16F(), readRG32F(), readUnsignedImage(), readX8L8V8U8(), setAlphaDXT32Helper(), setAlphaDXT45Helper(), setup_qt(), storePremultiplied(), QWindowsDirect2DPaintEnginePrivate::to_d2d_brush(), QtPrivate::QColorShower::updateQColor(), QQuickJSContext2DPixelData::virtualPut(), src_gui_painting_qcolor::wrapper(), and src_gui_image_qimage::wrapper1().

◆ qUnpremultiply()

QRgb qUnpremultiply ( QRgb p)
related

Definition at line 60 of file qrgb.h.

Referenced by convert_ARGB32_to_CMYK8888(), qRepremultiply(), QSvgPaintEngine::saveGradientStops(), storeARGB32FromARGB32PM(), storeCMYK8888FromARGB32PM(), storeGrayscale16FromARGB32PM(), storeGrayscale8FromARGB32PM(), storeRGB32FromARGB32PM(), storeRGBA8888FromARGB32PM(), storeRGBFromARGB32PM(), and storeRGBXFromARGB32PM().

+ Here is the caller graph for this function:

Variable Documentation

◆ QRgb

QT_BEGIN_NAMESPACE typedef unsigned int QRgb
related

Definition at line 13 of file qrgb.h.

Referenced by QAndroidStyle::AndroidColorDrawable::AndroidColorDrawable(), QAndroidStyle::AndroidGradientDrawable::AndroidGradientDrawable(), QColor::QColor(), QPdfEnginePrivate::addImage(), QImage::allGray(), alphamapblend_argb32(), alphargbblend_argb32(), QSvgFeColorMatrix::apply(), QSvgFeGaussianBlur::apply(), QSvgFeComposite::apply(), QImage::applyColorTransform(), QImage::color(), QRasterBuffer::colorizeBitmap(), QImage::colorTransformed(), convert_ARGB32_to_CMYK8888(), convert_ARGB_to_A2RGB30(), convert_ARGB_to_A2RGB30_inplace(), convert_ARGB_to_gray16(), convert_ARGB_to_gray8(), convert_Indexed8_to_X32(), convert_RGB_to_Indexed8(), convert_RGBA_to_ARGB_inplace(), QVncClient::convertPixels(), convertWithPalette(), copyImageDataCreateAlpha(), QX11PlatformPixmap::createBitmapFromImage(), Viewer::createImage(), QSvgMask::createMask(), darkenPixmap(), QQC2_NAMESPACE::darkenPixmap(), QGIFFormat::decode(), MyColorPicker::decodeColor(), do_write_jpeg_image(), QAndroidStyle::Android9PatchDrawable::draw(), QQC2_NAMESPACE::QMacStyle::drawControl(), QMacStyle::drawControl(), QRasterPaintEngine::drawImage(), QWin32PrintEngine::drawTextItem(), findNearestColor(), QCoreTextFontEngine::fontSmoothing(), QX11PlatformPixmap::fromImage(), QMacStyle::generatedIconPixmap(), QCommonStyle::generatedIconPixmap(), QQC2_NAMESPACE::QMacStyle::generatedIconPixmap(), QQC2::QCommonStyle::generatedIconPixmap(), getColorTable(), hasAlpha(), init_gray(), init_indexed(), QColorDialogPrivate::initWidgets(), load_glyph_image_to_texture(), loadAndroidStyle(), makeBitmap(), makeBitmapCompliantIfNeeded(), QPlatformPixmap::mask(), mask_alpha_converter_inplace(), mask_alpha_converter_rgbx_inplace(), Tga16Reader::operator()(), QTableView::paintEvent(), QColormap::pixel(), QImage::pixel(), qGamma_correct_back_to_linear_cs(), qquickuniversal_accent_color(), qquickuniversal_dark_color(), qquickuniversal_light_color(), QT_BEGIN_NAMESPACE::qt_blurinner(), qt_image_convolute_filter(), qt_write_dib(), qt_write_dibv5(), qt_xcb_pixmapFromXPixmap(), qt_xcb_XPixmapFromBitmap(), query_colormap(), read32bitIcon(), read_dib_body(), read_jpeg_image(), read_pbm_body(), read_xpm_body(), readA2R10G10B10(), readA2W10V10U10(), readARGB16(), readARGB16F(), readARGB32F(), readATI2(), readCubeMap(), readCxV8U8(), readDXT(), readG8R8G8B8(), readL6V5U5(), readMask(), readQ16W16V16U16(), readQ8W8V8U8(), readR16F(), readR32F(), readR8G8B8G8(), readRG16F(), readRG32F(), readUnsignedImage(), readUYVY(), readV16U16(), readV8U8(), readX8L8V8U8(), readYUY2(), resolveColor(), rgbQuadToQRgb(), QSvgPaintEngine::saveGradientStops(), QColorDialogPrivate::selectColor(), QQuickMaterialStyle::setAccent(), QQuickUniversalStyle::setAccent(), setAlphaDXT32Helper(), setAlphaDXT45Helper(), QQuickMaterialStyle::setBackground(), QQuickUniversalStyle::setBackground(), QQuickText::setColor(), QQuickMaterialStyle::setForeground(), QQuickUniversalStyle::setForeground(), QQuickText::setLinkColor(), QPlatformPixmap::setMask(), setPaletteColor(), QQuickMaterialStyle::setPrimary(), QQuickText::setStyleColor(), QMacStyle::styleHint(), QQC2_NAMESPACE::QMacStyle::styleHint(), swapPixel01(), QQuickNinePatchImagePrivate::updatePatches(), QQuickJSContext2DPixelData::virtualGet(), QQuickJSContext2DPixelData::virtualPut(), src_gui_painting_qcolor::wrapper(), src_gui_image_qimage::wrapper0(), src_gui_image_qimage::wrapper1(), QDDSHandler::write(), QTiffHandler::write(), ICOReader::write(), write_pbm_image(), write_xpm_image(), and QPNGImageWriter::writeImage().

◆ qt_inv_premul_factor

Q_GUI_EXPORT const uint qt_inv_premul_factor[]
extern

Definition at line 3049 of file qcolor.cpp.

Referenced by QColor::qUnpremultiply().

◆ RGB_MASK

constexpr QRgb RGB_MASK = 0x00ffffff
inlineconstexpr

Definition at line 16 of file qrgb.h.