TftSepiaRect()

Library Description ›› System ››
Parent Previous Next

TftSepiaRect(wOriginX As wTftLibParameter1, wOriginY As wTftLibParameter2, wAreaWidth As wTftLibParameter3, wAreaHeight As wTftLibParameter4)


Apply a sepia filter to a defined rectangular area of the TFT screen.


wOriginX    = X coordinate of the bottom-left corner of the target area

wOriginY    = Y coordinate of the bottom-left corner of the target area

wAreaWidth  = Width of the rectangular area to process

wAreaHeight = Height of the rectangular area to process


Notes:

The sepia filter is relatively slow, as it requires reading and rewriting each pixel in the target area.

If the global "TftPixelCheck" flag is enabled, boundary checking is performed:

If the area lies completely outside the visible screen, no processing is applied.

If the area is partially outside, it will be clipped to the visible screen boundaries.

Created with the Personal Edition of HelpNDoc: Easily create PDF Help documents