touchgfx::HAL::blitFill() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

touchgfx::HAL::blitFill() method

@fn virtual void HAL::blitFill(colortype color, uint16_t x, uint16_t y, uint16_t width, uint16_t height, uint8_t alpha); Blits a color value to the frame buffer performing alpha-blending (and transparency keying) as specified. Blits a color value to the frame buffer performing alpha-blending (and transparency keying) as specified.

Syntax

virtual void blitFill(colortype color,     uint16_t x,     uint16_t y,     uint16_t width,     uint16_t height,     uint8_t alpha);

Arguments

color

The desired fill-color.

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.

alpha

The alpha value to use for blending (255 = solid, no blending)

Notes

Alpha=255 is assumed "solid" and shall be used if HAL does not support BLIT_OP_FILL_WITH_ALPHA.

References

LocationText
HAL.hpp:484
virtual void blitFill(colortype color, uint16_t x, uint16_t y, uint16_t width, uint16_t height, uint8_t alpha);