TftFromCodeRotate180(dwBmp As dwTftLibParameter1, wOriginX As wTftLibParameter2, wOriginY As wTftLibParameter3, bTransparent As bTftLibParameter1, wAlphaColor As wTftLibParameter6, bInvert As bTftLibParameter2, bOverlay As bTftLibParameter3), Byte
Renders a BMP image stored in program (FLASH) memory, rotates it at 180 degrees, and applies optional transparency, color inversion, and pixel-overlay effects.
|
Parameter |
Description |
|
dwBmp |
Symbolic name of the BMP image table stored in program memory. |
|
wOriginX |
X-coordinate of the rotated image’s lower-left corner. |
|
wOriginY |
Y-coordinate of the rotated 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 |
Success |
|
1 |
Origin outside the visible display area |
|
2 |
BMP width or height is zero |
|
4 |
Image partially clipped outside the visible area |
Processing order: transparency → inversion → overlay → render.
Transparency mode is slower because every pixel must be evaluated individually.
Overlay modes are slower due to pixel read-modify-write operations.
When TftPixelCheck is enabled:
Images fully outside the visible area are skipped.
Images partially outside are clipped to display boundaries.
For maximum performance without effects, use TftBmpFromCode().
Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source