touchgfx::LCD16bpp::blitCopy() method
@fn virtual void LCD16bpp::blitCopy(const uint8_t* sourceData, Bitmap::BitmapFormat sourceFormat, const Rect& source, const Rect& blitRect, uint8_t alpha, bool hasTransparentPixels); Blits a 2D source-array to the framebuffer while converting the format. Blits a 2D source-array to the framebuffer perfoming alpha-blending (and tranparency keying) as specified. Performs a software blend if HAL does not support BLIT_COPY_WITH_ALPHA and alpha != 255. LCD16 supports source data formats: RGB565 and ARGB8888.
Arguments
hasTransparentPixels
If true, this data copy contains transparent pixels and require hardware support for that to be enabled.
sourceData
The source-array pointer (points to the beginning of the data). The sourceData must be stored in a format suitable for the selected display.
The bitmap format used in the source 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 (255 = solid, no blending)
Methods overriding this one
touchgfx::LCD16bpp::blitCopy()