touchgfx::HAL::blitCopyGlyph() method
@fn virtual void HAL::blitCopyGlyph(const uint8_t* pSrc, uint16_t x, uint16_t y, uint16_t width, uint16_t height, uint16_t srcWidth, colortype color, uint8_t alpha, BlitOperations operation); Blits a 4bpp or 8bpp glyph - maybe use the same method and supply additional color mode arg. Blits a 4bpp or 8bpp glyph - maybe use the same method and supply additional color mode arg.
Arguments
pSrc
The source-array pointer (points to first value to copy)
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.
srcWidth
The distance (in elements) from first value of first line, to first value of second line (the source 2D array width)
color
Color of the text.
alpha
The alpha value to use for blending (255 = solid, no blending)
operation
The operation type to use for blit copy.