SptRotateSqrBuf(bBufferS As bTftLibParameter1, bBufferD As bTftLibParameter2, wAngleDeg As wTftLibParameter1, wBackGround As wTftLibParameter2), Byte
Rotate the contents of a square source sprite buffer CW by an integer angle and write the rotated result to a destination buffer.
|
Parameter |
Description |
|
bBufferS |
Source sprite buffer. |
|
bBufferD |
Destination sprite buffer (must be large enough to hold the result). |
|
wAngleDeg |
Rotation angle in degrees (integer). |
|
wBackGround |
Fill color used for corner gaps introduced by rotation. |
|
Value |
Meaning |
|
0 |
Success |
|
1 |
Invalid source buffer |
|
2 |
Invalid destination buffer |
|
3 |
Destination buffer is smaller than the source buffer |
Created with the Personal Edition of HelpNDoc: Effortlessly Create High-Quality Documentation with a Help Authoring Tool