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

Public Member Functions

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

SourceAndConstAlpha::SourceAndConstAlpha ( int a)
inline

Definition at line 18 of file qblendfunctions.cpp.

References m_alpha255, and m_alpha256.

Member Function Documentation

◆ alpha()

uchar SourceAndConstAlpha::alpha ( uchar src) const
inline

Definition at line 21 of file qblendfunctions.cpp.

References m_alpha256.

◆ bytemul()

quint16 SourceAndConstAlpha::bytemul ( quint16 x) const
inline

Definition at line 22 of file qblendfunctions.cpp.

References m_alpha255.

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: