TftOverTransAreaRect(wOriginX As wTftLibParameter1, wOriginY As wTftLibParameter2, wAreaWidth As wTftLibParameter3, wAreaHeight As wTftLibParameter4, wAlpColor As wTftLibParameter5, bOverlay As bTftLibParameter1, wOverColor As wTftLibParameter6)
Apply bitwise pixel processing with an overlay color to a defined rectangular area on the TFT screen, while also supporting a transparent layer.
|
Parameter |
Description |
|
wOriginX |
X-coordinate of the bottom-left corner of the area to be processed. |
|
wOriginY |
Y-coordinate of the bottom-left corner of the area to be processed. |
|
wAreaWidth |
Width of the rectangular region to apply the overlay effect to. |
|
wAreaHeight |
Height of the rectangular region to apply the overlay effect to. |
|
wAlpColor |
Alpha color value used when transparent processing is enabled. Pixels matching this color are skipped. |
|
bOverlay |
Pixel overlay effect mode: |
|
wOverColor |
Overlay color value used for bitwise pixel processing. |
The overlay operation is relatively slow, as it requires reading, modifying, and rewriting each pixel within the target area.
When the global TftPixelCheck flag is enabled, boundary checks are performed:
If the defined area lies completely outside the visible screen, no operation is performed.
If the area is partially outside the visible screen, it is clipped to the valid screen boundaries before processing.
Created with the Personal Edition of HelpNDoc: Converting Word Docs to eBooks Made Easy with HelpNDoc