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

touchgfx::HAL::blitCopyARGB8888() method

@fn virtual void HAL::blitCopyARGB8888(const uint16_t* pSrc, uint16_t x, uint16_t y, uint16_t width, uint16_t height, uint16_t srcWidth, uint8_t alpha); Blits a 2D source-array to the frame buffer performing per-pixel alpha blending. Blits a 2D source-array to the frame buffer performing per-pixel alpha blending.

Syntax

virtual void blitCopyARGB8888(const uint16_t* pSrc,     uint16_t x,     uint16_t y,     uint16_t width,     uint16_t height,     uint16_t srcWidth,     uint8_t alpha);

Arguments

pSrc

The source-array pointer (points to first value to copy)

x

The destination x coordinate on the frame buffer.

y

The destination y coordinate on the frame buffer.

width

The width desired area of the source 2D array.

height

The height of desired area of the source 2D array.

srcWidth

The distance (in elements) from first value of first line, to first value of second line (the source 2D array width)

alpha

The alpha value to use for blending. This is applied on every pixel, in addition to the per-pixel alpha value (255 = solid, no blending)

References

LocationText
HAL.hpp:441
virtual void blitCopyARGB8888(const uint16_t* pSrc, uint16_t x, uint16_t y, uint16_t width, uint16_t height, uint16_t srcWidth, uint8_t alpha);