JUCE: colour

JUCE

Functions
colour
juce_graphics

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

## Detailed Description

## Function Documentation

## ◆ maskPixelComponents()

uint32 maskPixelComponents | ( | uint32 | x | ) |
| noexcept

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

## ◆ clampPixelComponents()

uint32 clampPixelComponents | ( | uint32 | x | ) |
| noexcept

References maskPixelComponents().

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

## ◆ blend()

forcedinline void PixelARGB::blend | ( | const PixelRGB | src | ) |
| noexcept

Blends another pixel onto this one.

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