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
SourceAndConstAlpha Struct Reference
Collaboration diagram for SourceAndConstAlpha:

Public Member Functions

 SourceAndConstAlpha (int a)
uchar alpha (uchar src) const
quint16 bytemul (quint16 x) const
 SourceAndConstAlpha (int a)
uchar alpha (uchar src) const
quint16 bytemul (quint16 x) const

Public Attributes

int m_alpha255
int m_alpha256

Detailed Description

Definition at line 16 of file qblendfunctions.cpp.

Constructor & Destructor Documentation

◆ SourceAndConstAlpha() [1/2]

SourceAndConstAlpha::SourceAndConstAlpha ( int a)
inline

Definition at line 18 of file qblendfunctions.cpp.

References m_alpha255, and m_alpha256.

◆ SourceAndConstAlpha() [2/2]

SourceAndConstAlpha::SourceAndConstAlpha ( int a)
inline

Definition at line 18 of file qblendfunctions.cpp.

Member Function Documentation

◆ alpha() [1/2]

uchar SourceAndConstAlpha::alpha ( uchar src) const
inline

Definition at line 21 of file qblendfunctions.cpp.

References m_alpha256.

◆ alpha() [2/2]

uchar SourceAndConstAlpha::alpha ( uchar src) const
inline

Definition at line 21 of file qblendfunctions.cpp.

◆ bytemul() [1/2]

quint16 SourceAndConstAlpha::bytemul ( quint16 x) const
inline

Definition at line 22 of file qblendfunctions.cpp.

References m_alpha255.

◆ bytemul() [2/2]

quint16 SourceAndConstAlpha::bytemul ( quint16 x) const
inline

Definition at line 22 of file qblendfunctions.cpp.

Member Data Documentation

◆ m_alpha255

int SourceAndConstAlpha::m_alpha255

Definition at line 27 of file qblendfunctions.cpp.

Referenced by SourceAndConstAlpha(), and bytemul().

◆ m_alpha256

int SourceAndConstAlpha::m_alpha256

Definition at line 28 of file qblendfunctions.cpp.

Referenced by SourceAndConstAlpha(), and alpha().


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