touchgfx::AbstractPainterRGB565::mixColors() method
@fn FORCE_INLINE_FUNCTION uint16_t AbstractPainterRGB565::mixColors(uint16_t newpix, uint16_t bufpix, uint16_t alpha, uint16_t shift) Mix colors. Mix colors from a new pixel and a buffer pixel with the given alpha applied to the new pixel.
Arguments
newpix
The newpix value.
bufpix
The bufpix value.
alpha
The alpha of the newpix.
shift
The shift, 8 if alpha is [0..255], 16 if alpha is [0..255*255].
Return value
The new color to write to the frame buffer.
Functions calling touchgfx::AbstractPainterRGB565::mixColors()
Functions called by touchgfx::AbstractPainterRGB565::mixColors()
touchgfx::AbstractPainterRGB565::mixColors()
Data read by touchgfx::AbstractPainterRGB565::mixColors()
touchgfx::AbstractPainterRGB565::mixColors()
Type of touchgfx::AbstractPainterRGB565::mixColors()
touchgfx::AbstractPainterRGB565::mixColors()
uint16_t all items filtered out