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

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.

Syntax

virtual void blitCopy(const uint8_t* sourceData,     Bitmap::BitmapFormat sourceFormat,     const Rect& source,     const Rect& blitRect,     uint8_t alpha,     bool hasTransparentPixels);

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.

sourceFormat

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)

References

LocationText
LCD16bpp.hpp:93
virtual void blitCopy(const uint16_t* sourceData, const Rect& source, const Rect& blitRect, uint8_t alpha, bool hasTransparentPixels);
LCD16bpp.hpp:115
virtual void blitCopy(const uint8_t* sourceData, Bitmap::BitmapFormat sourceFormat, const Rect& source, const Rect& blitRect, uint8_t alpha, bool hasTransparentPixels);

Override Tree

Methods overriding this one
touchgfx::LCD16bpp::blitCopy()
all items filtered out