JUCE
Functions

Functions

uint32 maskPixelComponents (uint32 x) noexcept
 
uint32 clampPixelComponents (uint32 x) noexcept
 
forcedinline void PixelARGB::blend (PixelRGB src) noexcept
 Blends another pixel onto this one. More...
 

Detailed Description

Function Documentation

◆ maskPixelComponents()

uint32 maskPixelComponents ( uint32  x)
noexcept

◆ clampPixelComponents()

uint32 clampPixelComponents ( uint32  x)
noexcept

References maskPixelComponents(), and gl::x.

Referenced by PixelARGB::blend(), and PixelRGB::blend().

◆ blend()

forcedinline void PixelARGB::blend ( PixelRGB  src)
noexcept

Blends another pixel onto this one.

This takes into account the opacity of the pixel being overlaid, and blends it accordingly.

References gl::src.