Loading...
Searching...
No Matches

Namespaces

namespace  Colours
 Contains a set of predefined named colours (mostly standard HTML colours)
 

Classes

class  Colour
 Represents a colour, also including a transparency value. More...
 
class  ColourGradient
 Describes the layout and colours that should be used to paint a colour gradient. More...
 
class  FillType
 Represents a colour or fill pattern to use for rendering paths. More...
 
class  PixelARGB
 Represents a 32-bit INTERNAL pixel with premultiplied alpha, and can perform compositing operations with it. More...
 
class  PixelRGB
 Represents a 24-bit RGB pixel, and can perform compositing operations on it. More...
 
class  PixelAlpha
 Represents an 8-bit single-channel pixel, and can perform compositing operations on it. More...
 

Functions

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

Detailed Description

Function Documentation

◆ maskPixelComponents()

uint32 maskPixelComponents ( uint32 x)
noexcept

◆ clampPixelComponents()

uint32 clampPixelComponents ( uint32 x)
noexcept

◆ 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.

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram