TftBmpMemNameOver(sFileName As sStringParameter1, 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 filename) and applies optional transparency, inversion, and pixel-blend overlay effects.
|
Parameter |
Description |
|
sFileName |
BMP filename (max 12 characters plus dot/extension). |
|
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 |
|
3 |
File not found |
|
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: Qt Help documentation made easy