TftBmpMemIndexOver(wFileIndex As wTftLibParameter1, wX_Pos As wTftLibParameter2, wY_Pos As wTftLibParameter3, bTransparent As bTftLibParameter1, wAlphaColor As wTftLibParameter4, bInvert As bTftLibParameter2, bOverlay As bTftLibParameter3), Byte
Renders a BMP image stored in FLASH memory by file index and applies optional transparency, color inversion, and pixel-overlay effects.
|
Parameter |
Description |
|
wFileIndex |
Zero-based BMP file index in FLASH memory. |
|
wX_Pos |
X-coordinate of the image’s lower-left corner. |
|
wY_Pos |
Y-coordinate of the image’s lower-left corner. |
|
bTransparent |
Transparency mode: |
|
wAlphaColor |
Alpha-key color used when transparency is enabled. |
|
bInvert |
Color inversion: |
|
bOverlay |
Pixel overlay/blending mode: |
|
Value |
Meaning |
|
0 |
Operation completed successfully |
|
1 |
Origin point lies outside the visible display area |
|
2 |
BMP has zero width or height |
|
4 |
BMP partially printed outside visible area |
Processing order: transparency check → color inversion → overlay → draw.
Transparent mode is slower because each pixel must be evaluated individually.
Overlay modes are also slower because they require reading and writing each destination pixel.
If global TftPixelCheck is enabled then images partially outside the view area are skipped.
For fastest rendering with no effects, use TftBmpFromMemIndex() instead.
Created with the Personal Edition of HelpNDoc: Import and export Markdown documents