주요 내용으로 건너뛰기

BlitOp

touchgfx/hal/BlitOp.hpp

BlitOp instances carry the required information for performing operations on the LCD (framebuffer) using DMA.

Public Attributes

uint8_talpha
The alpha to use.
colortypecolor
Color to fill.
uint8_tdstFormat
The destination format.
uint16_tdstLoopStride
The number of bytes to stride the destination after every loop.
uint16_tnLoops
The number of lines.
uint16_tnSteps
The number of pixels in a line.
uint32_toperation
The operation to perform.
const uint8_t *pClut
Pointer to the source CLUT entires.
uint16_t *pDst
Pointer to the destination.
const uint16_t *pSrc
Pointer to the source (pixels or indexes)
boolreplaceBgAlpha
Replace the background per pixel alpha value with 255 = solid.
boolreplaceFgAlpha
Replace the fourground per pixel alpha value with 255 = solid.
uint8_tsrcFormat
The source format.
uint16_tsrcLoopStride
The number of bytes to stride the source after every loop.

Public Attributes Documentation

alpha

uint8_t alpha

The alpha to use.

color

colortype color

Color to fill.

dstFormat

uint8_t dstFormat

The destination format.

dstLoopStride

uint16_t dstLoopStride

The number of bytes to stride the destination after every loop.

nLoops

uint16_t nLoops

The number of lines.

nSteps

uint16_t nSteps

The number of pixels in a line.

operation

uint32_t operation

The operation to perform.

pClut

const uint8_t * pClut

Pointer to the source CLUT entires.

pDst

uint16_t * pDst

Pointer to the destination.

pSrc

const uint16_t * pSrc

Pointer to the source (pixels or indexes)

replaceBgAlpha

bool replaceBgAlpha

Replace the background per pixel alpha value with 255 = solid.

replaceFgAlpha

bool replaceFgAlpha

Replace the fourground per pixel alpha value with 255 = solid.

srcFormat

uint8_t srcFormat

The source format.

srcLoopStride

uint16_t srcLoopStride

The number of bytes to stride the source after every loop.