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

Detailed Description

Definition at line 23 of file qcmyk_p.h.

Constructor & Destructor Documentation

◆ QCmyk32() [1/2]

QCmyk32::QCmyk32 ( )
default

Referenced by fromColor(), and fromRgba().

+ Here is the caller graph for this function:

◆ QCmyk32() [2/2]

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

Definition at line 31 of file qcmyk_p.h.

Member Function Documentation

◆ black()

constexpr int QCmyk32::black ( ) const
inlineconstexprnoexcept

Definition at line 44 of file qcmyk_p.h.

Referenced by toColor().

+ Here is the caller graph for this function:

◆ cyan()

constexpr int QCmyk32::cyan ( ) const
inlineconstexprnoexcept

Definition at line 41 of file qcmyk_p.h.

Referenced by toColor().

+ Here is the caller graph for this function:

◆ fromCmyk32()

static constexpr QCmyk32 QCmyk32::fromCmyk32 ( uint cmyk)
inlinestaticconstexprnoexcept

Definition at line 62 of file qcmyk_p.h.

Referenced by QPdfEnginePrivate::addImage(), convertCMYK8888ToToRGBA64PM(), fetchCMYK8888ToARGB32PM(), fetchCMYK8888ToRGBA64PM(), and qt_convertCMYK8888ToARGB32PM().

+ Here is the caller graph for this function:

◆ fromColor()

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

Definition at line 75 of file qcmyk_p.h.

References QCmyk32(), and QColor::toCmyk().

Referenced by storeCMYK8888FromARGB32PM(), storeCMYK8888FromRGB32(), and storeCMYKFromRGBA64PM().

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

◆ fromRgba()

static QCmyk32 QCmyk32::fromRgba ( QRgb rgba)
inlinestaticnoexcept

Definition at line 69 of file qcmyk_p.h.

References QCmyk32(), and QColor::toCmyk().

Referenced by convert_ARGB32_to_CMYK8888().

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

◆ magenta()

constexpr int QCmyk32::magenta ( ) const
inlineconstexprnoexcept

Definition at line 42 of file qcmyk_p.h.

Referenced by toColor().

+ Here is the caller graph for this function:

◆ toColor()

QColor QCmyk32::toColor ( ) const
inlinenoexcept

Definition at line 52 of file qcmyk_p.h.

References black(), cyan(), QColor::fromCmyk(), magenta(), and yellow().

+ Here is the call graph for this function:

◆ toUint()

constexpr uint QCmyk32::toUint ( ) const
inlineconstexprnoexcept

Definition at line 57 of file qcmyk_p.h.

◆ yellow()

constexpr int QCmyk32::yellow ( ) const
inlineconstexprnoexcept

Definition at line 43 of file qcmyk_p.h.

Referenced by toColor().

+ Here is the caller graph for this function:

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