touchgfx::LCD16bpp::blitCopyAlphaPerPixel() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::LCD16bpp::blitCopyAlphaPerPixel()

touchgfx::LCD16bpp::blitCopyAlphaPerPixel() method

@fn static void LCD16bpp::blitCopyAlphaPerPixel(const uint16_t* sourceData, const uint8_t* alphaData, const Rect& source, const Rect& blitRect, uint8_t alpha); Blits a 2D source-array to the framebuffer. Blits a 2D source-array to the framebuffer perfoming alpha-blending per pixel as specified Performs always a software blend.

Syntax

static void blitCopyAlphaPerPixel(const uint16_t* sourceData,     const uint8_t* alphaData,     const Rect& source,     const Rect& blitRect,     uint8_t alpha);

Arguments

sourceData

The source-array pointer (points to the beginning of the data). The sourceData must be stored as 16- bits RGB565 values.

alphaData

The alpha channel array pointer (points to the beginning of the data)

source

The location and dimension of the source.

blitRect

A rectangle describing what region is to be drawn.

alpha

The alpha value to use for blending applied to the whole image (255 = solid, no blending)

References

LocationText
LCD16bpp.hpp:281
static void blitCopyAlphaPerPixel(const uint16_t* sourceData, const uint8_t* alphaData, const Rect& source, const Rect& blitRect, uint8_t alpha);