TftInvAreaRect(wOriginX As wTftLibParameter1, wOriginY As wTftLibParameter2, wAreaWidth As wTftLibParameter3, wAreaHeight As wTftLibParameter4)
Inverts all pixels within a specified rectangular region on the TFT screen.
Parameters:
wOriginX – X coordinate of the bottom-left corner of the area to be inverted
wOriginY – Y coordinate of the bottom-left corner of the area to be inverted
wAreaWidth – Width of the rectangular region to invert
wAreaHeight – Height of the rectangular region to invert
Notes:
The inversion operation is relatively slow, as it requires reading each pixel in the target area, inverting its color, and writing it back to the display.
If the global TftPixelCheck flag is enabled, boundary checking is performed:
If the defined area lies completely outside the visible screen region, no inversion is performed.
If the area extends partially outside the visible screen, it is automatically clipped to the valid screen boundaries before processing.
Created with the Personal Edition of HelpNDoc: HelpNDoc's Project Analyzer: Incredible documentation assistant