Qt 4.8
Public Functions | Properties | List of all members
QPartialCoverage Struct Reference

Public Functions

 QPartialCoverage (uint const_alpha)
 
void store (uint *dest, const uint src) const
 

Properties

const uint ca
 
const uint ica
 

Detailed Description

Definition at line 1988 of file qdrawhelper.cpp.

Constructors and Destructors

◆ QPartialCoverage()

QPartialCoverage::QPartialCoverage ( uint  const_alpha)
inline

Definition at line 1989 of file qdrawhelper.cpp.

1990  : ca(const_alpha)
1991  , ica(255 - const_alpha)
1992  {
1993  }

Functions

◆ store()

void QPartialCoverage::store ( uint dest,
const uint  src 
) const
inline

Definition at line 1995 of file qdrawhelper.cpp.

1996  {
1997  *dest = INTERPOLATE_PIXEL_255(src, ca, *dest, ica);
1998  }
Q_STATIC_INLINE_FUNCTION uint INTERPOLATE_PIXEL_255(uint x, uint a, uint y, uint b)

Properties

◆ ca

const uint QPartialCoverage::ca
private

Definition at line 2001 of file qdrawhelper.cpp.

◆ ica

const uint QPartialCoverage::ica
private

Definition at line 2002 of file qdrawhelper.cpp.


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