TftInvOverAreaRect(wOriginX As wTftLibParameter1, wOriginY As wTftLibParameter2, wAreaWidth As wTftLibParameter3, wAreaHeight As wTftLibParameter4, bOverlay As bTftLibParameter1, wOverlayColor As wTftLibParameter5)
Invert pixels and apply a pixel overlay effect using a specified overlay color within a defined rectangular area on the TFT screen.
|
Parameter |
Description |
|
wOriginX |
X-coordinate of the bottom-left corner of the area to be inverted and overlaid |
|
wOriginY |
Y-coordinate of the bottom-left corner of the area to be inverted and overlaid |
|
wAreaWidth |
Width of the region to be inverted and overlaid |
|
wAreaHeight |
Height of the region to be inverted and overlaid |
|
bOverlay |
Pixel overlay effect: |
|
wOverlayColor |
Overlay color value used when the selected overlay effect is applied |
The inversion and overlay operations are relatively slow, as they require reading and rewriting each pixel within the target area.
If the global TftPixelCheck flag is enabled, boundary checking is performed:
If the defined area lies completely outside the visible screen, no inversion or overlay is applied.
If the area is partially outside the screen, it is clipped to the visible display boundaries.
Created with the Personal Edition of HelpNDoc: Save time and frustration with HelpNDoc's WinHelp HLP to CHM conversion feature