TftOverlayAreaRect(wOriginX As wTftLibParameter1, wOriginY As wTftLibParameter2, wAreaWidth As wTftLibParameter3, wAreaHeight As wTftLibParameter4, bOverlay As bTftLibParameter1, wOverlayColor As wTftLibParameter5)
Apply pixel overlay processing 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 overlay area |
|
wOriginY |
Y-coordinate of the bottom-left corner of the overlay area |
|
wAreaWidth |
Width of the region to which the overlay is applied |
|
wAreaHeight |
Height of the region to which the overlay is applied |
|
bOverlay |
Pixel overlay effect to apply: |
|
wOverlayColor |
Overlay color value used for the selected pixel processing mode |
The overlay operation is relatively slow, as it requires 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 overlay operation is applied.
If the area is partially outside the screen, it is automatically clipped to the visible boundaries.
Created with the Personal Edition of HelpNDoc: Free help authoring environment