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

#include <qcmyk_p.h>

Collaboration diagram for QCmyk32:

Public Member Functions

 QCmyk32 ()=default
constexpr QCmyk32 (int cyan, int magenta, int yellow, int black)
constexpr int cyan () const noexcept
constexpr int magenta () const noexcept
constexpr int yellow () const noexcept
constexpr int black () const noexcept
QColor toColor () const noexcept
constexpr uint toUint () const noexcept

Static Public Member Functions

static constexpr QCmyk32 fromCmyk32 (uint cmyk) noexcept
static QCmyk32 fromRgba (QRgb rgba) noexcept
static QCmyk32 fromColor (const QColor &color) noexcept

Friends

constexpr bool comparesEqual (const QCmyk32 &lhs, const QCmyk32 &rhs) noexcept

Detailed Description

Definition at line 23 of file qcmyk_p.h.

Constructor & Destructor Documentation

◆ QCmyk32() [1/2]

QCmyk32::QCmyk32 ( )
default

◆ QCmyk32() [2/2]

QCmyk32::QCmyk32 ( int cyan,
int magenta,
int yellow,
int black )
inlineconstexpr

Definition at line 35 of file qcmyk_p.h.

References QCmyk32().

Referenced by QCmyk32(), and storeUnpremultipliedLUT().

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

Member Function Documentation

◆ black()

int QCmyk32::black ( ) const
inlineconstexprnoexcept

Definition at line 48 of file qcmyk_p.h.

Referenced by loadUnpremultipliedLUT().

Here is the caller graph for this function:

◆ cyan()

int QCmyk32::cyan ( ) const
inlineconstexprnoexcept

Definition at line 45 of file qcmyk_p.h.

Referenced by loadUnpremultipliedLUT().

Here is the caller graph for this function:

◆ fromCmyk32()

constexpr QCmyk32 QCmyk32::fromCmyk32 ( uint cmyk)
inlinestaticconstexprnoexcept

Definition at line 66 of file qcmyk_p.h.

◆ fromColor()

QCmyk32 QCmyk32::fromColor ( const QColor & color)
inlinestaticnoexcept

Definition at line 79 of file qcmyk_p.h.

◆ fromRgba()

QCmyk32 QCmyk32::fromRgba ( QRgb rgba)
inlinestaticnoexcept

Definition at line 73 of file qcmyk_p.h.

◆ magenta()

int QCmyk32::magenta ( ) const
inlineconstexprnoexcept

Definition at line 46 of file qcmyk_p.h.

Referenced by loadUnpremultipliedLUT().

Here is the caller graph for this function:

◆ toColor()

QColor QCmyk32::toColor ( ) const
inlinenoexcept

Definition at line 56 of file qcmyk_p.h.

◆ toUint()

uint QCmyk32::toUint ( ) const
inlineconstexprnoexcept

Definition at line 61 of file qcmyk_p.h.

◆ yellow()

int QCmyk32::yellow ( ) const
inlineconstexprnoexcept

Definition at line 47 of file qcmyk_p.h.

Referenced by loadUnpremultipliedLUT().

Here is the caller graph for this function:

◆ comparesEqual

bool comparesEqual ( const QCmyk32 & lhs,
const QCmyk32 & rhs )
friend

Definition at line 27 of file qcmyk_p.h.


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