TftInvOverTransAreaRect(wOriginX As wTftLibParameter1, wOriginY As wTftLibParameter2, wAWidth As wTftLibParameter3, wAHeight As wTftLibParameter4, wAColor As wTftLibParameter5, bOverlay As bTftLibParameter1, wOColor As wTftLibParameter6)
Invert pixels and apply bitwise overlay processing using an overlay color within a defined rectangular area on the TFT screen, with transparent layer support.
|
Parameter |
Description |
|
wOriginX |
X-coordinate of the bottom-left corner of the area to invert and overlay |
|
wOriginY |
Y-coordinate of the bottom-left corner of the area to invert and overlay |
|
wAWidth |
Width of the region to invert and overlay |
|
wAHeight |
Height of the region to invert and overlay |
|
wAColor |
Alpha color value used for transparent processing |
|
bOverlay |
Pixel overlay effect: |
|
wOColor |
Overlay color value used when bitwise overlay processing is applied |
The inversion and overlay operations are relatively slow, as each pixel in the target area must be read, processed, and written back individually.
If the global "TftPixelCheck" flag is enabled, boundary checking is performed:
If the area lies completely outside the visible screen, no inversion or overlay is applied.
If the area is partially outside, it is clipped to the visible screen boundaries.
Created with the Personal Edition of HelpNDoc: Simplify Your Help Documentation Process with a Help Authoring Tool