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
QRgba64 Class Reference

#include <qrgba64.h>

+ Collaboration diagram for QRgba64:

Public Member Functions

 QRgba64 ()=default
 
constexpr bool isOpaque () const
 
constexpr bool isTransparent () const
 
constexpr quint16 red () const
 
constexpr quint16 green () const
 
constexpr quint16 blue () const
 
constexpr quint16 alpha () const
 
void setRed (quint16 _red)
 
void setGreen (quint16 _green)
 
void setBlue (quint16 _blue)
 
void setAlpha (quint16 _alpha)
 
constexpr quint8 red8 () const
 
constexpr quint8 green8 () const
 
constexpr quint8 blue8 () const
 
constexpr quint8 alpha8 () const
 
constexpr uint toArgb32 () const
 
constexpr ushort toRgb16 () const
 
constexpr QRgba64 premultiplied () const
 
constexpr QRgba64 unpremultiplied () const
 
constexpr operator quint64 () const
 
QRgba64operator= (quint64 _rgba) noexcept
 

Static Public Member Functions

static constexpr QRgba64 fromRgba64 (quint64 c)
 
static constexpr QRgba64 fromRgba64 (quint16 red, quint16 green, quint16 blue, quint16 alpha)
 
static constexpr QRgba64 fromRgba (quint8 red, quint8 green, quint8 blue, quint8 alpha)
 
static constexpr QRgba64 fromArgb32 (uint rgb)
 

Detailed Description

Definition at line 12 of file qrgba64.h.

Constructor & Destructor Documentation

◆ QRgba64()

QRgba64::QRgba64 ( )
default

Referenced by fromRgba64().

+ Here is the caller graph for this function:

Member Function Documentation

◆ alpha()

constexpr quint16 QRgba64::alpha ( ) const
inlineconstexpr

Definition at line 73 of file qrgba64.h.

Referenced by alpha8(), combineAlpha256(), fetchRGBA64ToRGBA64PM(), loadPremultiplied< QRgba64 >(), QColorTransform::map(), multiplyAlpha256(), multiplyAlpha65535(), premultiplied(), and qRepremultiply().

+ Here is the caller graph for this function:

◆ alpha8()

constexpr quint8 QRgba64::alpha8 ( ) const
inlineconstexpr

Definition at line 82 of file qrgba64.h.

References alpha().

+ Here is the call graph for this function:

◆ blue()

constexpr quint16 QRgba64::blue ( ) const
inlineconstexpr

Definition at line 72 of file qrgba64.h.

Referenced by blue8(), combineAlpha256(), QColorTransform::map(), multiplyAlpha256(), multiplyAlpha65535(), and toRgb16().

+ Here is the caller graph for this function:

◆ blue8()

constexpr quint8 QRgba64::blue8 ( ) const
inlineconstexpr

Definition at line 81 of file qrgba64.h.

References blue().

Referenced by QXcbColormap::pixel().

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

◆ fromArgb32()

static constexpr QRgba64 QRgba64::fromArgb32 ( uint rgb)
inlinestaticconstexpr

Definition at line 56 of file qrgba64.h.

References fromRgba(), and rgb.

Referenced by alphamapblend_argb32(), alphargbblend_argb32(), convert_ARGB_to_gray16(), convert_Indexed8_to_Grayscale8(), convertARGB32PMToRGBA64PM(), convertARGB32ToRGBA64PM(), convertPixelToRGB64(), convertPixelToRGBA64PM(), convertRGB32ToRGB64(), convertRGBA8888PMToRGBA64PM(), convertRGBA8888ToRGBA64PM(), destStoreGray16(), QRasterPaintEngine::drawImage(), fetchIndexedToRGBA64PM(), QImage::fill(), grayBlendPixel(), QImage::pixelColor(), rgbBlendPixel(), QImage::setPixel(), storeRGB64FromRGB32(), storeRGBA64FromARGB32(), and storeRGBA64FromARGB32PM().

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

◆ fromRgba()

static constexpr QRgba64 QRgba64::fromRgba ( quint8 red,
quint8 green,
quint8 blue,
quint8 alpha )
inlinestaticconstexpr

Definition at line 48 of file qrgba64.h.

References fromRgba64(), and red().

Referenced by fromArgb32().

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

◆ fromRgba64() [1/2]

static constexpr QRgba64 QRgba64::fromRgba64 ( quint16 red,
quint16 green,
quint16 blue,
quint16 alpha )
inlinestaticconstexpr

Definition at line 41 of file qrgba64.h.

References fromRgba64(), and red().

+ Here is the call graph for this function:

◆ fromRgba64() [2/2]

static constexpr QRgba64 QRgba64::fromRgba64 ( quint64 c)
inlinestaticconstexpr

Definition at line 36 of file qrgba64.h.

References QRgba64().

Referenced by addWithSaturation(), combineAlpha256(), fetchRGBA16FPMToRGBA64PM(), fetchRGBA16FToRGBA64PM(), fetchRGBA32FPMToRGBA64PM(), fetchRGBA32FToRGBA64PM(), fetchRGBA64ToRGBA64PM(), fromRgba(), fromRgba64(), interpolate255(), interpolate256(), interpolate65535(), QColorTransform::map(), multiplyAlpha255(), multiplyAlpha256(), multiplyAlpha65535(), premultiplied(), qRgba64(), qRgba64(), read_pbm_body(), scale_pbm_color(), and QColorTrcLut::toLinear64().

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

◆ green()

constexpr quint16 QRgba64::green ( ) const
inlineconstexpr

Definition at line 71 of file qrgba64.h.

Referenced by combineAlpha256(), green8(), QColorTransform::map(), multiplyAlpha256(), multiplyAlpha65535(), and toRgb16().

+ Here is the caller graph for this function:

◆ green8()

constexpr quint8 QRgba64::green8 ( ) const
inlineconstexpr

Definition at line 80 of file qrgba64.h.

References green().

Referenced by QXcbColormap::pixel().

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

◆ isOpaque()

constexpr bool QRgba64::isOpaque ( ) const
inlineconstexpr

Definition at line 61 of file qrgba64.h.

Referenced by premultiplied().

+ Here is the caller graph for this function:

◆ isTransparent()

constexpr bool QRgba64::isTransparent ( ) const
inlineconstexpr

Definition at line 65 of file qrgba64.h.

Referenced by premultiplied().

+ Here is the caller graph for this function:

◆ operator quint64()

constexpr QRgba64::operator quint64 ( ) const
inlineconstexpr

Definition at line 139 of file qrgba64.h.

◆ operator=()

QRgba64 & QRgba64::operator= ( quint64 _rgba)
inlinenoexcept

Definition at line 144 of file qrgba64.h.

◆ premultiplied()

constexpr QRgba64 QRgba64::premultiplied ( ) const
inlineconstexpr

Definition at line 108 of file qrgba64.h.

References alpha(), fromRgba64(), isOpaque(), isTransparent(), and Q_UINT64_C.

+ Here is the call graph for this function:

◆ red()

constexpr quint16 QRgba64::red ( ) const
inlineconstexpr

Definition at line 70 of file qrgba64.h.

Referenced by combineAlpha256(), fromRgba(), fromRgba64(), QColorTransform::map(), multiplyAlpha256(), multiplyAlpha65535(), red8(), and toRgb16().

+ Here is the caller graph for this function:

◆ red8()

constexpr quint8 QRgba64::red8 ( ) const
inlineconstexpr

Definition at line 79 of file qrgba64.h.

References red().

Referenced by QXcbColormap::pixel().

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

◆ setAlpha()

void QRgba64::setAlpha ( quint16 _alpha)
inline

Definition at line 77 of file qrgba64.h.

References Q_UINT64_C.

Referenced by convert_RGBA64_to_RGBx64(), convert_RGBA64_to_RGBx64_inplace(), QImage::fill(), and QImage::setPixelColor().

+ Here is the caller graph for this function:

◆ setBlue()

void QRgba64::setBlue ( quint16 _blue)
inline

Definition at line 76 of file qrgba64.h.

References Q_UINT64_C.

◆ setGreen()

void QRgba64::setGreen ( quint16 _green)
inline

Definition at line 75 of file qrgba64.h.

References Q_UINT64_C.

◆ setRed()

void QRgba64::setRed ( quint16 _red)
inline

Definition at line 74 of file qrgba64.h.

References Q_UINT64_C.

◆ toArgb32()

constexpr uint QRgba64::toArgb32 ( ) const
inlineconstexpr

Definition at line 83 of file qrgba64.h.

References Q_UINT64_C.

Referenced by fetch1Pixel< QPixelLayout::BPP64 >(), fetchPixel< QPixelLayout::BPP64 >(), and toArgb32().

+ Here is the caller graph for this function:

◆ toRgb16()

constexpr ushort QRgba64::toRgb16 ( ) const
inlineconstexpr

Definition at line 103 of file qrgba64.h.

References blue(), green(), and red().

+ Here is the call graph for this function:

◆ unpremultiplied()

constexpr QRgba64 QRgba64::unpremultiplied ( ) const
inlineconstexpr

Definition at line 130 of file qrgba64.h.

Referenced by storeGray16FromRGBA64PM(), and storeRGBX64FromRGBA64PM().

+ Here is the caller graph for this function:

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