SptBlur()

Parent Previous Next

SptBlur(bBuffer As bTftLibParameter1, bStrength As bTftLibParameter2, bTransparent As bTftLibParameter3, wAlphaColor As wTftLibParameter1), Byte


Applies a blur effect to a sprite buffer, using the larger dimension to create a more natural and balanced blur. Optional transparency support is available.


bBuffer – Working sprite buffer to be processed.

bStrength – Number of internal blur passes; higher values increase blur intensity.

bTransparent – Transparency mode:

0 – Apply blur to all pixels

1 – Skip pixels matching the alpha-key color

wAlphaColor – Alpha-key color used when transparency is enabled.


Result:

0 – Success

1 – Invalid source buffer

Created with the Personal Edition of HelpNDoc: Write eBooks for the Kindle