SptWriteTft()

Parent Previous Next

Proc SptWriteTft(wOrgX As wTftLibParameter1, wOrgY As wTftLibParameter2, bBuffer As bTftLibParameter1, bTransparent As bTftLibParameter2, wAlphaColor As wTftLibParameter3, bInvert As bTftLibParameter3, bOverlay As bTftLibParameter4)

  

Transfers an entire sprite buffer to the TFT screen. The buffer’s width and height metadata define the transfer area.


wOrgX - X coordinate of the bottom-left corner of the screen destination

wOrgY - Y coordinate of the bottom-left corner of the screen destination

bBuffer - Sprite buffer to be written to the screen

bTransparent - Transparency mode:

0 = Normal rendering (no transparency)

1 = Transparent rendering (skip pixels matching wAlphaColor)

wAlphaColor - Alpha color value used when transparency is enabled

bInvert - Color inversion mode:

0 = Normal colors

1 = Inverted colors

bOverlay - Pixel overlay / blending mode:

0  = NONE  - No overlay; direct pixel replacement

1  = OR    - Bitwise OR; lightens overlapping areas

2  = AND   - Bitwise AND; intersection-style effect

3  = XOR   - Bitwise XOR; highlights differences

4  = NAND  - Inverted AND; brightens overlap zones

5  = NOR   - Inverted OR; creates darker overlays

6  = XNOR  - Inverted XOR; strong masking effect

7  = ADD   - Color addition; brightens overlapping regions

8  = SUB   - Color subtraction; darkens overlapping regions

9  = AVG   - Color averaging; soft blending effect

10  = SCR   - Screen blend; brightens highlights

11  = MUL   - Multiply blend; darkens overlapping areas

12  = CON   - Contrast blend; non-linear midtone enhancement


Notes:

Created with the Personal Edition of HelpNDoc: Import and export Markdown documents