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
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

Member Function Documentation

◆ alpha()

quint16 QRgba64::alpha ( ) const
inlineconstexpr

Definition at line 73 of file qrgba64.h.

◆ alpha8()

quint8 QRgba64::alpha8 ( ) const
inlineconstexpr

Definition at line 82 of file qrgba64.h.

◆ blue()

quint16 QRgba64::blue ( ) const
inlineconstexpr

Definition at line 72 of file qrgba64.h.

◆ blue8()

quint8 QRgba64::blue8 ( ) const
inlineconstexpr

Definition at line 81 of file qrgba64.h.

◆ fromArgb32()

constexpr QRgba64 QRgba64::fromArgb32 ( uint rgb)
inlinestaticconstexpr

Definition at line 56 of file qrgba64.h.

◆ fromRgba()

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

Definition at line 48 of file qrgba64.h.

◆ fromRgba64() [1/2]

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

Definition at line 41 of file qrgba64.h.

◆ fromRgba64() [2/2]

constexpr QRgba64 QRgba64::fromRgba64 ( quint64 c)
inlinestaticconstexpr

Definition at line 36 of file qrgba64.h.

◆ green()

quint16 QRgba64::green ( ) const
inlineconstexpr

Definition at line 71 of file qrgba64.h.

◆ green8()

quint8 QRgba64::green8 ( ) const
inlineconstexpr

Definition at line 80 of file qrgba64.h.

◆ isOpaque()

bool QRgba64::isOpaque ( ) const
inlineconstexpr

Definition at line 61 of file qrgba64.h.

◆ isTransparent()

bool QRgba64::isTransparent ( ) const
inlineconstexpr

Definition at line 65 of file qrgba64.h.

◆ operator quint64()

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()

QRgba64 QRgba64::premultiplied ( ) const
inlineconstexpr

Definition at line 108 of file qrgba64.h.

Referenced by qPremultiply(), and qRepremultiply().

Here is the caller graph for this function:

◆ red()

quint16 QRgba64::red ( ) const
inlineconstexpr

Definition at line 70 of file qrgba64.h.

◆ red8()

quint8 QRgba64::red8 ( ) const
inlineconstexpr

Definition at line 79 of file qrgba64.h.

◆ setAlpha()

void QRgba64::setAlpha ( quint16 _alpha)
inline

Definition at line 77 of file qrgba64.h.

◆ setBlue()

void QRgba64::setBlue ( quint16 _blue)
inline

Definition at line 76 of file qrgba64.h.

◆ setGreen()

void QRgba64::setGreen ( quint16 _green)
inline

Definition at line 75 of file qrgba64.h.

◆ setRed()

void QRgba64::setRed ( quint16 _red)
inline

Definition at line 74 of file qrgba64.h.

◆ toArgb32()

uint QRgba64::toArgb32 ( ) const
inlineconstexpr

Definition at line 83 of file qrgba64.h.

◆ toRgb16()

ushort QRgba64::toRgb16 ( ) const
inlineconstexpr

Definition at line 103 of file qrgba64.h.

◆ unpremultiplied()

QRgba64 QRgba64::unpremultiplied ( ) const
inlineconstexpr

Definition at line 130 of file qrgba64.h.

Referenced by qRepremultiply(), and qUnpremultiply().

Here is the caller graph for this function:

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