spelling: interpolation

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2024-10-22 09:56:20 -04:00
committed by Jindra Petřík
parent a76b593697
commit 1bb581c4c1
6 changed files with 17 additions and 17 deletions

View File

@@ -3326,9 +3326,9 @@ public class SWFInputStream implements AutoCloseable {
MORPHGRADIENT ret = new MORPHGRADIENT();
newDumpLevel(name, "MORPHGRADIENT");
// Despite of documentation (UI8 1-8), there are two fields
// spreadMode and interPolationMode which are same as in GRADIENT
// spreadMode and interpolationMode which are same as in GRADIENT
ret.spreadMode = (int) readUB(2, "spreadMode");
ret.interPolationMode = (int) readUB(2, "interPolationMode");
ret.interpolationMode = (int) readUB(2, "interpolationMode");
int numGradients = (int) readUB(4, "numGradients");
ret.gradientRecords = new MORPHGRADRECORD[numGradients];
for (int i = 0; i < numGradients; i++) {
@@ -3352,7 +3352,7 @@ public class SWFInputStream implements AutoCloseable {
MORPHFOCALGRADIENT ret = new MORPHFOCALGRADIENT();
newDumpLevel(name, "MORPHFOCALGRADIENT");
ret.spreadMode = (int) readUB(2, "spreadMode");
ret.interPolationMode = (int) readUB(2, "interPolationMode");
ret.interpolationMode = (int) readUB(2, "interpolationMode");
int numGradients = (int) readUB(4, "numGradients");
ret.gradientRecords = new MORPHGRADRECORD[numGradients];
for (int i = 0; i < numGradients; i++) {