touchgfx::LCD::blitCopy() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

touchgfx::LCD::blitCopy() method

@fn virtual void LCD::blitCopy(const uint8_t* sourceData, Bitmap::BitmapFormat sourceFormat, const Rect& source, const Rect& blitRect, uint8_t alpha, bool hasTransparentPixels) = 0; Blits a 2D source-array to the frame buffer while converting the format. Blits a 2D source-array to the frame buffer performing alpha-blending (and transparency keying) as specified. Performs a software blend if HAL does not support BLIT_COPY_WITH_ALPHA and alpha != 255.

Syntax

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

Arguments

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.

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.

References

LocationReferrerScopeText
LCD.hpp:130
virtual void blitCopy(const uint16_t* sourceData, const Rect& source, const Rect& blitRect, uint8_t alpha, bool hasTransparentPixels) = 0;
LCD.hpp:151
virtual void blitCopy(const uint8_t* sourceData, Bitmap::BitmapFormat sourceFormat, const Rect& source, const Rect& blitRect, uint8_t alpha, bool hasTransparentPixels) = 0;
LCD16bpp.hpp:93touchgfx::LCD16bpp::blitCopy()touchgfx::LCD16bpp
virtual void blitCopy(const uint16_t* sourceData, const Rect& source, const Rect& blitRect, uint8_t alpha, bool hasTransparentPixels);
LCD16bpp.hpp:115touchgfx::LCD16bpp::blitCopy()touchgfx::LCD16bpp
virtual void blitCopy(const uint8_t* sourceData, Bitmap::BitmapFormat sourceFormat, const Rect& source, const Rect& blitRect, uint8_t alpha, bool hasTransparentPixels);
LCD24bpp.hpp:95touchgfx::LCD24bpp::blitCopy()touchgfx::LCD24bpp
virtual void blitCopy(const uint16_t* sourceData, const Rect& source, const Rect& blitRect, uint8_t alpha, bool hasTransparentPixels);
LCD24bpp.hpp:117touchgfx::LCD24bpp::blitCopy()touchgfx::LCD24bpp
virtual void blitCopy(const uint8_t* sourceData, Bitmap::BitmapFormat sourceFormat, const Rect& source, const Rect& blitRect, uint8_t alpha, bool hasTransparentPixels);

Override Tree

Overridden methods
touchgfx::LCD::blitCopy()