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

touchgfx::LCD24bpp::blitCopy() method

@fn virtual void LCD24bpp::blitCopy(const uint16_t* sourceData, const Rect& source, const Rect& blitRect, uint8_t alpha, bool hasTransparentPixels); Blits a 2D source-array to the framebuffer. 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.

Syntax

virtual void blitCopy(const uint16_t* sourceData,     const Rect& source,     const Rect& blitRect,     uint8_t alpha,     bool hasTransparentPixels);

Arguments

sourceData

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

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)

hasTransparentPixels

If true, this data copy contains transparent pixels and require hardware support for that to be enabled.

References

LocationText
LCD24bpp.hpp:95
virtual void blitCopy(const uint16_t* sourceData, const Rect& source, const Rect& blitRect, uint8_t alpha, bool hasTransparentPixels);
LCD24bpp.hpp:117
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::LCD24bpp::blitCopy()
all items filtered out