test: Rewrite AVM filter tests and regroup them in a single file

This uncovers some bugs in our implementation, so mark the test as a
known failure for now.
This commit is contained in:
Moulins 2024-01-22 16:39:52 +01:00 committed by Nathan Adams
parent 225f42db2a
commit 31e69c51b5
45 changed files with 936 additions and 1354 deletions

View File

@ -1,156 +0,0 @@
// test.filters[0].angle
44.999253346525
// test.filters[0].blurX
10
// test.filters[0].blurY
10
// test.filters[0].distance
10
// test.filters[0].highlightAlpha
1
// test.filters[0].highlightColor
65280
// test.filters[0].knockout
false
// test.filters[0].quality
2
// test.filters[0].shadowAlpha
1
// test.filters[0].shadowColor
255
// test.filters[0].strength
1.5
// test.filters[0].type
inner
// new BevelFilter
[object Object]
// x.clone()
[object Object]
// x.clone() == x
false
// x.angle
44.9999999772279
// x.blurX
4
// x.blurY
4
// x.distance
4
// x.highlightAlpha
1
// x.highlightColor
16777215
// x.knockout
false
// x.quality
1
// x.shadowAlpha
1
// x.shadowColor
0
// x.strength
1
// x.type
inner
test.filters = [x]
// test.filters[0].angle
44.9999999772279
// test.filters[0].blurX
4
// test.filters[0].blurY
4
// test.filters[0].distance
4
// test.filters[0].highlightAlpha
1
// test.filters[0].highlightColor
16777215
// test.filters[0].knockout
false
// test.filters[0].quality
1
// test.filters[0].shadowAlpha
1
// test.filters[0].shadowColor
0
// test.filters[0].strength
1
// test.filters[0].type
inner
// x.angle (after set to 360)
0
// x.angle (after set to 361)
1
// x.blurX(after set to 100)
100
// x.blurY(after set to 100)
100
// x.distance (after set to 1000)
1000
// x.distance (after set to 2.5)
2.5
// x.highlightAlpha (after set to 1.5)
1
// x.highlightColor (after set to 0x1000000)
0
// x.quality(after set to 100)
15
// x.shadowAlpha (after set to 1.5)
1
// x.shadowColor (after set to 1.5)
1
// x.shadowColor (after set to 0x1000000)
0
// x.strength (after set to 256)
255
// x.strength (after set to 1.5)
1.5
// x.angle (after set to -1)
-1
// x.angle (after set to -366)
-6
// x.blurX(after set to -1)
0
// x.blurY(after set to -1)
0
// x.distance (after set to -1)
-1
// x.highlightAlpha (after set to -1)
0
// x.highlightColor (after set to -1)
16777215
// x.highlightColor (after set to -10)
16777206
// x.quality(after set to 2.5)
2
// x.quality(after set to -1)
0
// x.shadowAlpha (after set to -1)
0
// x.shadowColor (after set to -1)
16777215
// x.shadowColor (after set to -0x11234567)
14465689
// x.strength (after set to -1)
0
// x.type (after set to "invalid")
full
// x.type (after set to "INNER")
full
// x.type (after set to 0)
full
// oob_under.blurX
4
// oob_under.blurY
4
// oob_under.quality
1
// oob_over.blurX
4
// oob_over.blurY
4
// oob_over.quality
1

View File

@ -1,4 +0,0 @@
num_frames = 1
[approximations]
epsilon = 0.001

View File

@ -1,6 +0,0 @@
// new BitmapFilter
[object Object]
// x.clone()
undefined
// x.clone() == x
false

View File

@ -1 +0,0 @@
num_frames = 1

View File

@ -0,0 +1,382 @@
// Compile with:
// mtasc -main -version 8 Test.as -swf assets.swf -out test.swf
class Test {
static function main(current) {
{
var f = constructAndTestClone("BitmapFilter");
}
trace("");
{
var f = constructAndTestClone("BevelFilter");
testMovieClipFilterSetter(current, "bevelMC", f);
testAngleSetter(f);
testDistanceSetter(f);
testColorAndAlphaSetters(f, "highlightColor", "highlightAlpha");
testColorAndAlphaSetters(f, "shadowColor", "shadowAlpha");
testQualitySetter(f);
testStrengthSetter(f);
testBlurSetters(f);
testTypeSetter(f);
testBooleanSetter(f, "knockout");
}
trace("");
{
var f = constructAndTestClone("BlurFilter");
testMovieClipFilterSetter(current, "blurMC", f);
testQualitySetter(f);
testBlurSetters(f);
}
trace("");
{
var f = constructAndTestClone("ColorMatrixFilter");
testMovieClipFilterSetter(current, "colorMatrixMC", f);
var fClass = flash.filters.ColorMatrixFilter;
trace("// new ColorMatrixFilter(null)");
traceAllProps(new fClass(null));
trace("// new ColorMatrixFilter(undefined)");
traceAllProps(new fClass(undefined));
trace("// new ColorMatrixFilter(-1)");
traceAllProps(new fClass(-1));
setAndTraceProp(f, "matrix", []);
setAndTraceProp(f, "matrix", [0]);
setAndTraceProp(f, "matrix", [1.5]);
setAndTraceProp(f, "matrix", [1000]);
setAndTraceProp(f, "matrix", [-1000]);
setAndTraceProp(f, "matrix", [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]);
setAndTraceProp(f, "matrix", null);
setAndTraceProp(f, "matrix", undefined);
setAndTraceProp(f, "matrix", [null, null]);
setAndTraceProp(f, "matrix", ["test", undefined]);
setAndTraceProp(f, "matrix", [true, false]);
setAndTraceProp(f, "matrix", "ASDASDASD");
setAndTraceProp(f, "matrix", -1);
}
trace("");
{
var f = constructAndTestClone("ConvolutionFilter");
testMovieClipFilterSetter(current, "convolutionMC", f);
testColorAndAlphaSetters(f, "color", "alpha");
setAndTraceProp(f, "bias", 100.5);
setAndTraceProp(f, "bias", -100.5);
setAndTraceProp(f, "divisor", 100.5);
setAndTraceProp(f, "divisor", -100.5);
testBooleanSetter(f, "preserveAlpha");
testBooleanSetter(f, "clamp");
var opts = { trace: ["matrixX", "matrixY", "matrix"] };
setAndTraceProp(f, "matrix", [1, 2, 3, 4], opts);
setAndTraceProp(f, "matrix", "ASDASD", opts);
setAndTraceProp(f, "matrix", { length: -1 }, opts);
setAndTraceProp(f, "matrix", [-1000.5], opts);
setAndTraceProp(f, "matrixX", 2, opts);
setAndTraceProp(f, "matrixY", 2, opts);
setAndTraceProp(f, "matrix", "ASDASDASD", opts);
setAndTraceProp(f, "matrix", 1234, opts);
setAndTraceProp(f, "matrix", [-1, -2, -3, -4, -5], opts);
setAndTraceProp(f, "matrixX", 3.5, opts);
setAndTraceProp(f, "matrixY", 4.5, opts);
setAndTraceProp(f, "matrix", "ASD", opts);
setAndTraceProp(f, "matrix", ["1aaa", "2", null, undefined, 5], opts);
trace("// f.matrixX = f.matrixY = -100");
f.matrixX = f.matrixY = -100;
traceProps(f, opts.trace);
trace("// f.matrixX = f.matrixY = 100");
f.matrixX = f.matrixY = 100;
traceProps(f, opts.trace);
}
trace("");
{
// NOTE: DisplacementMapFilters can't be embedded in SWFs.
var f = constructAndTestClone("DisplacementMapFilter");
traceAllProps(f);
testColorAndAlphaSetters(f, "color", "alpha");
trace("// f.componentX = f.componentY = 123");
f.componentX = f.componentY = 123;
traceProps(f, ["componentX", "componentY"]);
trace("// f.componentX = f.componentY = -234.5");
f.componentX = f.componentY = -234.5;
traceProps(f, ["componentX", "componentY"]);
trace("// f.scaleX = f.scaleY = -234.5");
f.scaleX = f.scaleY = -234.5;
traceProps(f, ["scaleX", "scaleY"]);
trace("// f.scaleX = f.scaleY = 65536");
f.scaleX = f.scaleY = 65536;
traceProps(f, ["scaleX", "scaleY"]);
trace("// f.scaleX = f.scaleY = -65536");
f.scaleX = f.scaleY = -65536;
traceProps(f, ["scaleX", "scaleY"]);
setAndTraceProp(f, "mode", "clamp");
setAndTraceProp(f, "mode", "test");
setAndTraceProp(f, "mode", "ignore");
setAndTraceProp(f, "mode", null);
setAndTraceProp(f, "mode", "color");
setAndTraceProp(f, "mode", "wrap");
setAndTraceProp(f, "mode", "Color");
var bm = new flash.display.BitmapData(10, 10);
setAndTraceProp(f, "mapBitmap", bm);
trace("// f.mapBitmap.setPixel32(0, 0, 0xFF0000FF)");
f.mapBitmap = bm;
bm.setPixel(0, 0, 0xFF0000FF);
trace("width = " + f.mapBitmap.width
+ ", height = " + f.mapBitmap.height
+ ", getPixel(0, 0) = " + f.mapBitmap.getPixel32(0, 0)
);
trace ("// f.mapBitmap.dispose()");
bm.dispose();
trace("width = " + f.mapBitmap.width + ", height = " + f.mapBitmap.height);
setAndTraceProp(f, "mapBitmap", 45);
setAndTraceProp(f, "mapPoint", new flash.geom.Point(12.5, -4200));
setAndTraceProp(f, "mapPoint", { x: 3 });
setAndTraceProp(f, "mapPoint", { x: 65540, y: -65540 });
setAndTraceProp(f, "mapPoint", null);
trace("// f.mapPoint == f.mapPoint");
trace(f.mapPoint == f.mapPoint);
trace("// f.mapPoint.x += 10");
f.mapPoint.x += 10;
trace("mapPoint=" + f.mapPoint);
}
trace("");
{
var f = constructAndTestClone("DropShadowFilter");
testMovieClipFilterSetter(current, "dropShadowMC", f);
testDistanceSetter(f);
testAngleSetter(f);
testColorAndAlphaSetters(f, "color", "alpha");
testQualitySetter(f);
testStrengthSetter(f);
testBlurSetters(f);
testBooleanSetter(f, "inner");
testBooleanSetter(f, "knockout");
testBooleanSetter(f, "hideObject");
}
trace("");
{
var f = constructAndTestClone("GlowFilter");
testMovieClipFilterSetter(current, "glowMC", f);
testColorAndAlphaSetters(f, "color", "alpha");
testQualitySetter(f);
testStrengthSetter(f);
testBlurSetters(f);
testBooleanSetter(f, "inner");
testBooleanSetter(f, "knockout");
}
trace("");
{
var f = constructAndTestClone("GradientBevelFilter");
testMovieClipFilterSetter(current, "gradientBevelMC", f);
testDistanceSetter(f);
testAngleSetter(f);
testGradientArraySetters(f);
testBlurSetters(f);
testQualitySetter(f);
testStrengthSetter(f);
testBooleanSetter(f, "knockout");
testTypeSetter(f);
}
trace("");
{
var f = constructAndTestClone("GradientGlowFilter");
testMovieClipFilterSetter(current, "gradientGlowMC", f);
testDistanceSetter(f);
testAngleSetter(f);
testGradientArraySetters(f);
testBlurSetters(f);
testQualitySetter(f);
testStrengthSetter(f);
testBooleanSetter(f, "knockout");
testTypeSetter(f);
}
}
/**** SHARED TESTS ****/
static function constructAndTestClone(className) {
trace("// new " + className);
var f = new _global.flash.filters[className]();
trace(f);
trace("// f.clone()");
var cloned = f.clone();
trace(cloned);
trace("// f == f.clone()");
trace(f == cloned);
return f;
}
static function testMovieClipFilterSetter(current, clipName, f) {
var clip = current[clipName];
trace("// " + clipName + ".filters[0]");
traceAllProps(clip.filters[0]);
trace("// " + clipName + ".filters = [f]");
clip.filters = [f];
traceAllProps(clip.filters[0]);
}
static function testDistanceSetter(f) {
setAndTraceProp(f, "distance", 1000);
setAndTraceProp(f, "distance", 2.5);
setAndTraceProp(f, "distance", -1);
}
static function testAngleSetter(f) {
setAndTraceProp(f, "angle", 360);
setAndTraceProp(f, "angle", 361);
setAndTraceProp(f, "angle", -1);
setAndTraceProp(f, "angle", 366);
}
static function testBlurSetters(f) {
trace("// f.blurX = f.blurY = 100.5");
f.blurX = f.blurY = 100.5;
traceProps(f, ["blurX", "blurY"]);
trace("// f.blurX = f.blurY = -1");
f.blurX = f.blurY = -1;
traceProps(f, ["blurX", "blurY"]);
trace("// f.blurX = f.blurY = 256");
f.blurX = f.blurY = 256;
traceProps(f, ["blurX", "blurY"]);
}
static function testQualitySetter(f) {
setAndTraceProp(f, "quality", 2.5);
setAndTraceProp(f, "quality", -1);
setAndTraceProp(f, "quality", 100);
}
static function testStrengthSetter(f) {
setAndTraceProp(f, "strength", 256);
setAndTraceProp(f, "strength", 1.5);
setAndTraceProp(f, "strength", -1);
}
static function testBooleanSetter(f, name) {
setAndTraceProp(f, name, false);
setAndTraceProp(f, name, true);
setAndTraceProp(f, name, null);
}
static function testTypeSetter(f) {
f.type = "outer";
setAndTraceProp(f, "type", "invalid");
f.type = "outer";
setAndTraceProp(f, "type", "INNER");
f.type = "outer";
setAndTraceProp(f, "type", 0);
}
static function testColorAndAlphaSetters(f, colorName, alphaName) {
var opts = { trace: [colorName, alphaName] };
// Order is important, to make sure color and alpha are independent
setAndTraceProp(f, alphaName, 0.5, opts);
setAndTraceProp(f, colorName, 0x10000FF, opts);
setAndTraceProp(f, alphaName, 1.5, opts);
setAndTraceProp(f, colorName, -0x12345678, opts);
setAndTraceProp(f, alphaName, -1, opts);
}
static function testGradientArraySetters(f) {
var opts = { trace: ["colors", "alphas", "ratios"] };
setAndTraceProp(f, "alphas", [1], opts);
setAndTraceProp(f, "colors", [-0x12345678, 10], opts);
setAndTraceProp(f, "ratios", [500, 50.5, 100], opts);
setAndTraceProp(f, "colors", "ASDF", opts);
setAndTraceProp(f, "ratios", null, opts);
setAndTraceProp(f, "alphas", [0.5, 1.5, -0.5], opts);
setAndTraceProp(f, "ratios", [50], opts);
setAndTraceProp(f, "colors", 5, opts);
setAndTraceProp(f, "colors", [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17], opts);
}
/**** HELPERS ****/
static function valueToString(v) {
return v instanceof Array ? ("[" + v + "]") : ("" + v);
}
static function setAndTraceProp(f, propName, propValue, options) {
trace("// f." + propName + " = " + valueToString(propValue));
f[propName] = propValue;
if (options.trace === undefined) {
trace(propName + "=" + valueToString(f[propName]));
} else {
traceProps(f, options.trace);
}
}
static function traceProps(f , props) {
if (f == null) {
trace(f);
return;
}
var str = "";
for (var i = 0; i < props.length; i++) {
var prop = props[i];
if (str != "") str += ", ";
str += prop + "=" + valueToString(f[prop]);
}
trace(str);
}
static function traceAllProps(f) {
if (f == null) {
trace(f);
return;
}
var props = [];
for (var prop in f) {
props.push(prop);
}
// Flash returns properties in reverse order.
props.reverse();
traceProps(f, props);
}
}

Binary file not shown.

View File

@ -0,0 +1,548 @@
// new BitmapFilter
[object Object]
// f.clone()
undefined
// f == f.clone()
false
// new BevelFilter
[object Object]
// f.clone()
[object Object]
// f == f.clone()
false
// bevelMC.filters[0]
distance=10, angle=44.999253346525, highlightColor=65280, highlightAlpha=1, shadowColor=255, shadowAlpha=1, quality=2, strength=1.5, knockout=false, blurX=10, blurY=10, type=inner, clone=[type Function]
// bevelMC.filters = [f]
distance=4, angle=44.9999999772279, highlightColor=16777215, highlightAlpha=1, shadowColor=0, shadowAlpha=1, quality=1, strength=1, knockout=false, blurX=4, blurY=4, type=inner, clone=[type Function]
// f.angle = 360
angle=0
// f.angle = 361
angle=1
// f.angle = -1
angle=-1
// f.angle = 366
angle=6
// f.distance = 1000
distance=1000
// f.distance = 2.5
distance=2.5
// f.distance = -1
distance=-1
// f.highlightAlpha = 0.5
highlightColor=16777215, highlightAlpha=0.498039215686275
// f.highlightColor = 16777471
highlightColor=255, highlightAlpha=0.498039215686275
// f.highlightAlpha = 1.5
highlightColor=255, highlightAlpha=1
// f.highlightColor = -305419896
highlightColor=13347208, highlightAlpha=1
// f.highlightAlpha = -1
highlightColor=13347208, highlightAlpha=0
// f.shadowAlpha = 0.5
shadowColor=0, shadowAlpha=0.498039215686275
// f.shadowColor = 16777471
shadowColor=255, shadowAlpha=0.498039215686275
// f.shadowAlpha = 1.5
shadowColor=255, shadowAlpha=1
// f.shadowColor = -305419896
shadowColor=13347208, shadowAlpha=1
// f.shadowAlpha = -1
shadowColor=13347208, shadowAlpha=0
// f.quality = 2.5
quality=2
// f.quality = -1
quality=0
// f.quality = 100
quality=15
// f.strength = 256
strength=255
// f.strength = 1.5
strength=1.5
// f.strength = -1
strength=0
// f.blurX = f.blurY = 100.5
blurX=100.5, blurY=100.5
// f.blurX = f.blurY = -1
blurX=0, blurY=0
// f.blurX = f.blurY = 256
blurX=255, blurY=255
// f.type = invalid
type=full
// f.type = INNER
type=full
// f.type = 0
type=full
// f.knockout = false
knockout=false
// f.knockout = true
knockout=true
// f.knockout = null
knockout=false
// new BlurFilter
[object Object]
// f.clone()
[object Object]
// f == f.clone()
false
// blurMC.filters[0]
blurX=9, blurY=9, quality=2, clone=[type Function]
// blurMC.filters = [f]
blurX=4, blurY=4, quality=1, clone=[type Function]
// f.quality = 2.5
quality=2
// f.quality = -1
quality=0
// f.quality = 100
quality=15
// f.blurX = f.blurY = 100.5
blurX=100.5, blurY=100.5
// f.blurX = f.blurY = -1
blurX=0, blurY=0
// f.blurX = f.blurY = 256
blurX=255, blurY=255
// new ColorMatrixFilter
[object Object]
// f.clone()
[object Object]
// f == f.clone()
false
// colorMatrixMC.filters[0]
matrix=[1.10561990737915,0.896963536739349,-1.15258347988129,0,28.2250022888184,-0.257689893245697,0.772316873073578,0.335373044013977,0,28.2250003814697,0.8850017786026,-0.860078454017639,0.825076699256897,0,28.2250003814697,0,0,0,1,0], clone=[type Function]
// colorMatrixMC.filters = [f]
matrix=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0], clone=[type Function]
// new ColorMatrixFilter(null)
matrix=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0], clone=[type Function]
// new ColorMatrixFilter(undefined)
matrix=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0], clone=[type Function]
// new ColorMatrixFilter(-1)
matrix=[NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN], clone=[type Function]
// f.matrix = []
matrix=[NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN]
// f.matrix = [0]
matrix=[0,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN]
// f.matrix = [1.5]
matrix=[1.5,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN]
// f.matrix = [1000]
matrix=[1000,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN]
// f.matrix = [-1000]
matrix=[-1000,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN]
// f.matrix = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]
matrix=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]
// f.matrix = null
matrix=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]
// f.matrix = undefined
matrix=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]
// f.matrix = [null,null]
matrix=[NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN]
// f.matrix = [test,undefined]
matrix=[NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN]
// f.matrix = [true,false]
matrix=[1,0,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN]
// f.matrix = ASDASDASD
matrix=[NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN]
// f.matrix = -1
matrix=[NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN]
// new ConvolutionFilter
[object Object]
// f.clone()
[object Object]
// f == f.clone()
false
// convolutionMC.filters[0]
matrixX=3, matrixY=3, matrix=[0.200000002980232,0,-0.5,2.29999995231628,1,0,0,0.699999988079071,-1.60000002384186], divisor=2, bias=1, preserveAlpha=false, clamp=true, color=16737792, alpha=1, clone=[type Function]
// convolutionMC.filters = [f]
matrixX=0, matrixY=0, matrix=[], divisor=1, bias=0, preserveAlpha=true, clamp=true, color=0, alpha=0, clone=[type Function]
// f.alpha = 0.5
color=0, alpha=0.498039215686275
// f.color = 16777471
color=255, alpha=0.498039215686275
// f.alpha = 1.5
color=255, alpha=1
// f.color = -305419896
color=13347208, alpha=1
// f.alpha = -1
color=13347208, alpha=0
// f.bias = 100.5
bias=100.5
// f.bias = -100.5
bias=-100.5
// f.divisor = 100.5
divisor=100.5
// f.divisor = -100.5
divisor=-100.5
// f.preserveAlpha = false
preserveAlpha=false
// f.preserveAlpha = true
preserveAlpha=true
// f.preserveAlpha = null
preserveAlpha=false
// f.clamp = false
clamp=false
// f.clamp = true
clamp=true
// f.clamp = null
clamp=false
// f.matrix = [1,2,3,4]
matrixX=0, matrixY=0, matrix=[1,2,3,4]
// f.matrix = ASDASD
matrixX=0, matrixY=0, matrix=[NaN,NaN,NaN,NaN,NaN,NaN]
// f.matrix = [object Object]
matrixX=0, matrixY=0, matrix=[]
// f.matrix = [-1000.5]
matrixX=0, matrixY=0, matrix=[-1000.5]
// f.matrixX = 2
matrixX=2, matrixY=0, matrix=[-1000.5]
// f.matrixY = 2
matrixX=2, matrixY=2, matrix=[-1000.5,0,0,0]
// f.matrix = ASDASDASD
matrixX=2, matrixY=2, matrix=[NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN]
// f.matrix = 1234
matrixX=2, matrixY=2, matrix=[0,0,0,0]
// f.matrix = [-1,-2,-3,-4,-5]
matrixX=2, matrixY=2, matrix=[-1,-2,-3,-4,-5]
// f.matrixX = 3.5
matrixX=3, matrixY=2, matrix=[-1,-2,-3,-4,-5,0]
// f.matrixY = 4.5
matrixX=3, matrixY=4, matrix=[-1,-2,-3,-4,-5,0,0,0,0,0,0,0]
// f.matrix = ASD
matrixX=3, matrixY=4, matrix=[NaN,NaN,NaN,0,0,0,0,0,0,0,0,0]
// f.matrix = [1aaa,2,null,undefined,5]
matrixX=3, matrixY=4, matrix=[NaN,2,NaN,NaN,5,0,0,0,0,0,0,0]
// f.matrixX = f.matrixY = -100
matrixX=0, matrixY=0, matrix=[NaN,2,NaN,NaN,5,0,0,0,0,0,0,0]
// f.matrixX = f.matrixY = 100
matrixX=15, matrixY=15, matrix=[NaN,2,NaN,NaN,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
// new DisplacementMapFilter
[object Object]
// f.clone()
[object Object]
// f == f.clone()
false
mapBitmap=undefined, mapPoint=(x=0, y=0), componentX=0, componentY=0, scaleX=0, scaleY=0, mode=wrap, color=0, alpha=0, clone=[type Function]
// f.alpha = 0.5
color=0, alpha=0.498039215686275
// f.color = 16777471
color=255, alpha=0.498039215686275
// f.alpha = 1.5
color=255, alpha=1
// f.color = -305419896
color=13347208, alpha=1
// f.alpha = -1
color=13347208, alpha=0
// f.componentX = f.componentY = 123
componentX=123, componentY=123
// f.componentX = f.componentY = -234.5
componentX=-234, componentY=-234
// f.scaleX = f.scaleY = -234.5
scaleX=-234.5, scaleY=-234.5
// f.scaleX = f.scaleY = 65536
scaleX=65535, scaleY=65535
// f.scaleX = f.scaleY = -65536
scaleX=-65535, scaleY=-65535
// f.mode = clamp
mode=clamp
// f.mode = test
mode=wrap
// f.mode = ignore
mode=ignore
// f.mode = null
mode=wrap
// f.mode = color
mode=color
// f.mode = wrap
mode=wrap
// f.mode = Color
mode=wrap
// f.mapBitmap = [object Object]
mapBitmap=[object Object]
// f.mapBitmap.setPixel32(0, 0, 0xFF0000FF)
width = 10, height = 10, getPixel(0, 0) = -16776961
// f.mapBitmap.dispose()
width = -1, height = -1
// f.mapBitmap = 45
mapBitmap=[object Object]
// f.mapPoint = (x=12.5, y=-4200)
mapPoint=(x=12, y=-4200)
// f.mapPoint = [object Object]
mapPoint=(x=0, y=0)
// f.mapPoint = [object Object]
mapPoint=(x=65540, y=-65540)
// f.mapPoint = null
mapPoint=(x=0, y=0)
// f.mapPoint == f.mapPoint
false
// f.mapPoint.x += 10
mapPoint=(x=0, y=0)
// new DropShadowFilter
[object Object]
// f.clone()
[object Object]
// f == f.clone()
false
// dropShadowMC.filters[0]
distance=10, angle=49.9991703850277, color=0, alpha=1, quality=2, inner=true, knockout=true, blurX=10, blurY=10, strength=1.09765625, hideObject=false, clone=[type Function]
// dropShadowMC.filters = [f]
distance=4, angle=44.9999999772279, color=0, alpha=1, quality=1, inner=false, knockout=false, blurX=4, blurY=4, strength=1, hideObject=false, clone=[type Function]
// f.distance = 1000
distance=1000
// f.distance = 2.5
distance=2.5
// f.distance = -1
distance=-1
// f.angle = 360
angle=0
// f.angle = 361
angle=1
// f.angle = -1
angle=-1
// f.angle = 366
angle=6
// f.alpha = 0.5
color=0, alpha=0.498039215686275
// f.color = 16777471
color=255, alpha=0.498039215686275
// f.alpha = 1.5
color=255, alpha=1
// f.color = -305419896
color=13347208, alpha=1
// f.alpha = -1
color=13347208, alpha=0
// f.quality = 2.5
quality=2
// f.quality = -1
quality=0
// f.quality = 100
quality=15
// f.strength = 256
strength=255
// f.strength = 1.5
strength=1.5
// f.strength = -1
strength=0
// f.blurX = f.blurY = 100.5
blurX=100.5, blurY=100.5
// f.blurX = f.blurY = -1
blurX=0, blurY=0
// f.blurX = f.blurY = 256
blurX=255, blurY=255
// f.inner = false
inner=false
// f.inner = true
inner=true
// f.inner = null
inner=false
// f.knockout = false
knockout=false
// f.knockout = true
knockout=true
// f.knockout = null
knockout=false
// f.hideObject = false
hideObject=false
// f.hideObject = true
hideObject=true
// f.hideObject = null
hideObject=false
// new GlowFilter
[object Object]
// f.clone()
[object Object]
// f == f.clone()
false
// glowMC.filters[0]
color=65535, alpha=1, quality=2, inner=true, knockout=true, blurX=10, blurY=10, strength=1.3984375, clone=[type Function]
// glowMC.filters = [f]
color=16711680, alpha=1, quality=1, inner=false, knockout=false, blurX=6, blurY=6, strength=2, clone=[type Function]
// f.alpha = 0.5
color=16711680, alpha=0.498039215686275
// f.color = 16777471
color=255, alpha=0.498039215686275
// f.alpha = 1.5
color=255, alpha=1
// f.color = -305419896
color=13347208, alpha=1
// f.alpha = -1
color=13347208, alpha=0
// f.quality = 2.5
quality=2
// f.quality = -1
quality=0
// f.quality = 100
quality=15
// f.strength = 256
strength=255
// f.strength = 1.5
strength=1.5
// f.strength = -1
strength=0
// f.blurX = f.blurY = 100.5
blurX=100.5, blurY=100.5
// f.blurX = f.blurY = -1
blurX=0, blurY=0
// f.blurX = f.blurY = 256
blurX=255, blurY=255
// f.inner = false
inner=false
// f.inner = true
inner=true
// f.inner = null
inner=false
// f.knockout = false
knockout=false
// f.knockout = true
knockout=true
// f.knockout = null
knockout=false
// new GradientBevelFilter
[object Object]
// f.clone()
[object Object]
// f == f.clone()
false
// gradientBevelMC.filters[0]
distance=10, angle=49.9991703850277, colors=[16711935,16711680,65484], alphas=[1,0,1], ratios=[0,128,255], blurX=10, blurY=10, quality=2, strength=1.09765625, knockout=true, type=outer, clone=[type Function]
// gradientBevelMC.filters = [f]
distance=4, angle=44.9999999772279, colors=[], alphas=[], ratios=[], blurX=4, blurY=4, quality=1, strength=1, knockout=false, type=inner, clone=[type Function]
// f.distance = 1000
distance=1000
// f.distance = 2.5
distance=2.5
// f.distance = -1
distance=-1
// f.angle = 360
angle=0
// f.angle = 361
angle=1
// f.angle = -1
angle=-1
// f.angle = 366
angle=6
// f.alphas = [1]
colors=[], alphas=[], ratios=[]
// f.colors = [-305419896,10]
colors=[13347208,10], alphas=[0,0], ratios=[0,0]
// f.ratios = [500,50.5,100]
colors=[13347208,10], alphas=[0,0], ratios=[255,50]
// f.colors = ASDF
colors=[0,0,0,0], alphas=[0,0,0,0], ratios=[255,50,0,0]
// f.ratios = null
colors=[0,0,0,0], alphas=[0,0,0,0], ratios=[255,50,0,0]
// f.alphas = [0.5,1.5,-0.5]
colors=[0,0,0,0], alphas=[0.501960784313725,1,0,1], ratios=[255,50,0,0]
// f.ratios = [50]
colors=[0], alphas=[0.501960784313725], ratios=[50]
// f.colors = 5
colors=[], alphas=[], ratios=[]
// f.colors = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]
colors=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16], alphas=[0.501960784313725,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0], ratios=[50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
// f.blurX = f.blurY = 100.5
blurX=100.5, blurY=100.5
// f.blurX = f.blurY = -1
blurX=0, blurY=0
// f.blurX = f.blurY = 256
blurX=255, blurY=255
// f.quality = 2.5
quality=2
// f.quality = -1
quality=0
// f.quality = 100
quality=15
// f.strength = 256
strength=255
// f.strength = 1.5
strength=1.5
// f.strength = -1
strength=0
// f.knockout = false
knockout=false
// f.knockout = true
knockout=true
// f.knockout = null
knockout=false
// f.type = invalid
type=full
// f.type = INNER
type=full
// f.type = 0
type=full
// new GradientGlowFilter
[object Object]
// f.clone()
[object Object]
// f == f.clone()
false
// gradientGlowMC.filters[0]
distance=10, angle=49.9991703850277, colors=[16711935,65280], alphas=[0,1], ratios=[0,255], blurX=10, blurY=10, quality=2, strength=1.09765625, knockout=true, type=full, clone=[type Function]
// gradientGlowMC.filters = [f]
distance=4, angle=44.9999999772279, colors=[], alphas=[], ratios=[], blurX=4, blurY=4, quality=1, strength=1, knockout=false, type=inner, clone=[type Function]
// f.distance = 1000
distance=1000
// f.distance = 2.5
distance=2.5
// f.distance = -1
distance=-1
// f.angle = 360
angle=0
// f.angle = 361
angle=1
// f.angle = -1
angle=-1
// f.angle = 366
angle=6
// f.alphas = [1]
colors=[], alphas=[], ratios=[]
// f.colors = [-305419896,10]
colors=[13347208,10], alphas=[0,0], ratios=[0,0]
// f.ratios = [500,50.5,100]
colors=[13347208,10], alphas=[0,0], ratios=[255,50]
// f.colors = ASDF
colors=[0,0,0,0], alphas=[0,0,0,0], ratios=[255,50,0,0]
// f.ratios = null
colors=[0,0,0,0], alphas=[0,0,0,0], ratios=[255,50,0,0]
// f.alphas = [0.5,1.5,-0.5]
colors=[0,0,0,0], alphas=[0.501960784313725,1,0,1], ratios=[255,50,0,0]
// f.ratios = [50]
colors=[0], alphas=[0.501960784313725], ratios=[50]
// f.colors = 5
colors=[], alphas=[], ratios=[]
// f.colors = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]
colors=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16], alphas=[0.501960784313725,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0], ratios=[50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
// f.blurX = f.blurY = 100.5
blurX=100.5, blurY=100.5
// f.blurX = f.blurY = -1
blurX=0, blurY=0
// f.blurX = f.blurY = 256
blurX=255, blurY=255
// f.quality = 2.5
quality=2
// f.quality = -1
quality=0
// f.quality = 100
quality=15
// f.strength = 256
strength=255
// f.strength = 1.5
strength=1.5
// f.strength = -1
strength=0
// f.knockout = false
knockout=false
// f.knockout = true
knockout=true
// f.knockout = null
knockout=false
// f.type = invalid
type=full
// f.type = INNER
type=full
// f.type = 0
type=full

Binary file not shown.

View File

@ -0,0 +1,6 @@
num_ticks = 1
known_failure = true
[approximations]
number_patterns = ["angle=([\\d.]+)"]
epsilon = 0.001

View File

@ -1,51 +0,0 @@
test.filters[0].quality
2
test.filters[0].blurX
9
test.filters[0].blurY
9
// new BlurFilter
[object Object]
// x.clone()
[object Object]
// x.clone() == x
false
// x.blurX
4
// x.blurY
4
// x.quality
1
// test.filters = [x]
test.filters[0].quality
1
test.filters[0].blurX
4
test.filters[0].blurY
4
// x.quality(after set to 100)
15
// x.blurX(after set to 100)
100
// x.blurY(after set to 100)
100
// x.quality(after set to -1)
0
// x.blurX(after set to -1)
0
// x.blurY(after set to -1)
0
// oob_under.blurX
0
// oob_under.blurY
0
// oob_under.quality
0
// oob_over.blurX
255
// oob_over.blurY
255
// oob_over.quality
15

View File

@ -1 +0,0 @@
num_frames = 1

View File

@ -1,49 +0,0 @@
// test.filters[0].matrix
1.10561990737915,0.896963536739349,-1.15258347988129,0,28.2250022888184,-0.257689893245697,0.772316873073578,0.335373044013977,0,28.2250003814697,0.8850017786026,-0.860078454017639,0.825076699256897,0,28.2250003814697,0,0,0,1,0
// new ColorMatrixFilter
[object Object]
// x.clone()
[object Object]
// x.clone() == x
false
// x.matrix
1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0
// test.filters = [x]
// test.filters[0].matrix
1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0
// x.matrix after set to [0]
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// x.matrix after set to [1]
1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// x.matrix after set to [0,1,...20] (larger than 4*5)
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19
// x.matrix after set to -1 (wrong type)
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19
// new ColorMatrixFilter(null).matrix
1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0
// new ColorMatrixFilter(undefined).matrix
1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0
// new ColorMatrixFilter([1]).matrix
1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// x.matrix after set to [1000]
1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// x.matrix after set to [-1000]
-1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// x.matrix after set to [null, null]
NaN,NaN,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// x.matrix after set to ['test', undefined]
NaN,NaN,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// x.matrix after set to []
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// x.matrix after set to [1.0]
1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// x.matrix after set to [1.5]
1.5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// x.matrix after set to [true, false]
1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// f.matrix (after set to [22]
22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// f.matrix (after set to 'ASDASDSAD'
22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

View File

@ -1 +0,0 @@
num_frames = 1

View File

@ -1,184 +0,0 @@
// new ConvolutionFilter
[object Object]
// x.clone()
[object Object]
// x.clone() == x
false
// x.alpha
0
// x.bias
0
// x.clamp
true
// x.color
0
// x.divisor
1
// x.matrix
// x.matrixX
0
// x.matrixY
0
// x.preserveAlpha
true
// test.filters = [x]
// test.filters[0].alpha
0
// test.filters[0].bias
0
// test.filters[0].clamp
true
// test.filters[0].color
0
// test.filters[0].divisor
1
// test.filters[0].matrix
// test.filters[0].matrixX
0
// test.filters[0].matrixY
0
// test.filters[0].preserveAlpha
true
// x.alpha (after set to 100)
1
// x.bias (after set to 100.5)
100.5
// x.color (after set to 0xFFFFFFFF)
16777215
// x.divisor (after set to 100.5)
100.5
// x.matrix (after set to [1, 2, 3, 4]
1,2,3,4
// x.matrix (after set to [1000.5]
1000.5
// x.matrixX (after set to 100)
15
// x.matrix
1000.5
// x.matrixY (after set to 100)
15
// x.matrix
1000.5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// x.alpha (after set to -100)
0
// x.bias (after set to -100.5)
-100.5
// x.color (after set to -0xFFFFFFFF)
1
// x.divisor (after set to -100.5)
-100.5
// x.matrix (after set to [-1, -2, -3, -4]
-1,-2,-3,-4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// x.matrix (after set to [-1000.5]
-1000.5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// x.matrixX (after set to -100)
0
// x.matrix
-1000.5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// x.matrixY (after set to -100)
0
// x.matrix
-1000.5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// x.matrixY (after set to 1.5)
1
// x.matrixX (after set to 1.5)
1
// x.matrix
0
// x.matrixX
0
// x.matrixY
0
// x.matrix
1,0
// x.matrixX
1
// x.matrixY
2
// x.matrix
1,0
// x.matrixX
1
// x.matrixY
1
// x.matrix
1,0
// x.matrixX
0
// x.matrixY
0
// x.matrix
// x.matrixX
0
// x.matrixY
0
// x.matrix
0,0,0,0
// x.matrixX
2
// x.matrixY
2
// x.matrix
1,0,0,0
// x.matrixX
2
// x.matrixY
2
// x.matrix
1,2,3,4
// x.matrixX
1
// x.matrixY
1
// x.matrix
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// x.matrixX
15
// x.matrixY
15
// x.matrix
0,0,0,0
// x.matrixX
2
// x.matrixY
2
// oob_over.alpha
1
// oob_over.bias
100
// oob_over.clamp
false
// oob_over.color
16777215
// oob_over.divisor
100
// oob_over.matrix
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
// oob_over.matrixX
15
// oob_over.matrixY
15
// oob_over.preserveAlpha
false
// oob_under.alpha
0
// oob_under.bias
-100
// oob_under.clamp
false
// oob_under.color
1
// oob_under.divisor
-100
// oob_under.matrix
// oob_under.matrixX
0
// oob_under.matrixY
0
// oob_under.preserveAlpha
false

View File

@ -1 +0,0 @@
num_frames = 1

View File

@ -1,158 +0,0 @@
// new DisplacementMapFilter
[object Object]
// x.clone()
[object Object]
// x.clone() == x
false
// x.alpha
0
// x.color
0
// x.componentX
0
// x.componentY
0
// x.mapBitmap
undefined
// x.mapPoint
(x=0, y=0)
// x.mode
wrap
// x.scaleX
0
// x.scaleY
0
// test.filters = [x]
// test.filters[0].alpha
0
// test.filters[0].color
0
// test.filters[0].componentX
0
// test.filters[0].componentY
0
// test.filters[0].mapBitmap
undefined
// test.filters[0].mapPoint
(x=0, y=0)
// test.filters[0].mode
wrap
// test.filters[0].scaleX
0
// test.filters[0].scaleY
0
// x.alpha (after set to 100)
1
// x.color (after set to 0xFFFFFFFF)
16777215
// x.componentX (after set to 100)
100
// x.componentX (after set to 100.5)
100
// x.componentY (after set to 100)
100
// x.componentY (after set to 100.5)
100
// x.mapBitmap (after set to null)
undefined
// x.mapPoint (after set to null)
(x=0, y=0)
// x.mapPoint (after set to Point(1000, 1000))
(x=1000, y=1000)
// x.mapPoint (after set to Point(1.5, 1.5))
(x=1, y=1)
// x.mode (after set to 'test')
wrap
// x.scaleX (after set to 100)
100
// x.scaleY (after set to 100)
100
// x.componentX (after set to 2 | 8)
10
// x.alpha (after set to -100)
0
// x.color (after set to -0xFFFFFFFF)
1
// x.componentX (after set to -100)
-100
// x.componentY (after set to -100)
-100
// x.mapPoint (after set to Point(-1000, -1000))
(x=-1000, y=-1000)
// x.mode (after set to null)
wrap
// x.scaleX (after set to -100)
-100
// x.scaleY (after set to -100)
-100
// x.mode (after set to wrap)
wrap
// x.mode (after set to clamp)
clamp
// x.mode (after set to ignore)
ignore
// x.mode (after set to color)
color
// x.mode (after set to Wrap)
wrap
// x.mapPoint (after .x += 10)
(x=-1000, y=-1000)
// test.mapBitmap.getPixel32(0, 0) after setPixel32(0, 0, 0xff0000ff)
-16776961
// test.mapBitmap.width
10
// test.mapBitmap.width (after dispose)
-1
// test.mapPoint
(x=0, y=5)
// test.mapPoint (after normalize(1))
(x=0, y=5)
// test.mapPoint (after setting to normalized reference)
(x=0, y=1)
// test.alpha
0.4
// test.color
16711935
// test.mapBitmap.width
10
// test.mapBitmap.height
10
// test.mapBitmap.width (after disposing original reference)
-1
// oob_under.alpha
0
// oob_under.color
1
// oob_under.componentX
-100
// oob_under.componentY
-100
// oob_under.mapBitmap
undefined
// oob_under.mapPoint
(x=0, y=0)
// oob_under.mode
wrap
// oob_under.scaleX
-100
// oob_under.scaleY
-100
// oob_over.alpha
1
// oob_over.color
16777215
// oob_over.componentX
100
// oob_over.componentY
100
// oob_over.mapBitmap
undefined
// oob_over.mapPoint
(x=0, y=0)
// oob_over.mode
wrap
// oob_over.scaleX
100
// oob_over.scaleY
100

View File

@ -1 +0,0 @@
num_frames = 1

View File

@ -1,171 +0,0 @@
// test.filters[0].alpha
1
// test.filters[0].angle
49.9991703850277
// test.filters[0].blurX
10
// test.filters[0].blurY
10
// test.filters[0].color
0
// test.filters[0].distance
10
// test.filters[0].hideObject
false
// test.filters[0].inner
true
// test.filters[0].knockout
true
// test.filters[0].quality
2
// test.filters[0].strength
1.09765625
// new DropShadowFilter
[object Object]
// x.clone()
[object Object]
// x.clone() == x
false
// x.distance
4
// x.angle
44.9999999772279
// x.color
0
// x.alpha
1
// x.blurX
4
// x.blurY
4
// x.strength
1
// x.quality
1
// x.inner
false
// x.knockout
false
// x.hideObject
false
// test.filters = [x]
// test.filters[0].alpha
1
// test.filters[0].angle
44.9999999772279
// test.filters[0].blurX
4
// test.filters[0].blurY
4
// test.filters[0].color
0
// test.filters[0].distance
4
// test.filters[0].hideObject
false
// test.filters[0].inner
false
// test.filters[0].knockout
false
// test.filters[0].quality
1
// test.filters[0].strength
1
// x.distance (after set to 1000)
1000
// x.distance (after set to 2.5)
2.5
// x.angle (after set to 360)
0
// x.angle (after set to 361)
1
// x.color (after set to 0x1000000)
0
// x.alpha (after set to 1.5)
1
// x.blurX(after set to 100)
100
// x.blurY(after set to 100)
100
// x.strength (after set to 256)
255
// x.strength (after set to 1.5)
1.5
// x.quality(after set to 100)
15
// x.inner (after set to null)
false
// x.knockout (after set to null)
false
// x.hideObject (after set to null)
false
// x.distance (after set to -1)
-1
// x.angle (after set to -1)
-1
// x.angle (after set to -366)
-6
// x.color (after set to -1)
16777215
// x.color (after set to -10)
16777206
// x.color (after set to -0x11234567)
14465689
// x.alpha (after set to -1)
0
// x.blurX(after set to -1)
0
// x.blurY(after set to -1)
0
// x.strength (after set to -1)
0
// x.quality(after set to 2.5)
2
// x.quality(after set to -1)
0
// oob_under.distance
-1
// oob_under.angle
-1
// oob_under.color
16777215
// oob_under.alpha
0
// oob_under.blurX
0
// oob_under.blurY
0
// oob_under.strength
0
// oob_under.quality
0
// oob_under.inner
false
// oob_under.knockout
false
// oob_under.hideObject
false
// oob_over.distance
256
// oob_over.angle
256
// oob_over.color
16777215
// oob_over.alpha
1
// oob_over.blurX
255
// oob_over.blurY
255
// oob_over.strength
255
// oob_over.quality
15
// oob_over.inner
true
// oob_over.knockout
true
// oob_over.hideObject
true

View File

@ -1,4 +0,0 @@
num_frames = 1
[approximations]
epsilon = 0.001

View File

@ -1,89 +0,0 @@
// test.filters[0].alpha
1
// test.filters[0].blurX
10
// test.filters[0].blurY
10
// test.filters[0].color
65535
// test.filters[0].inner
true
// test.filters[0].knockout
true
// test.filters[0].quality
2
// test.filters[0].strength
1.3984375
// new GlowFilter
[object Object]
// x.clone()
[object Object]
// x.clone() == x
false
// x.blurX
6
// x.blurY
6
// x.quality
1
// x.alpha
1
// x.inner
false
// x.color
16711680
// x.knockout
false
// x.strength
2
// test.filters = [x]
// test.filters[0].alpha
1
// test.filters[0].blurX
10
// test.filters[0].blurY
10
// test.filters[0].color
65535
// test.filters[0].inner
true
// test.filters[0].knockout
true
// test.filters[0].quality
2
// test.filters[0].strength
1.3984375
// x.quality(after set to 100)
15
// x.blurX(after set to 100)
100
// x.blurY(after set to 100)
100
//x.alpha(after set to 100)
1
//x.color(after set to 0xFFFFFFF
16777215
// x.quality(after set to -1)
0
// x.blurX(after set to -1)
0
// x.blurY(after set to -1)
0
//x.alpha(after set to -1)
0
//x.color(after set to -0xFFFFFFF
1
// oob_under.blurX
0
// oob_under.blurY
0
// oob_under.quality
0
// oob_over.blurX
100
// oob_over.blurY
100
// oob_over.quality
15

View File

@ -1 +0,0 @@
num_frames = 1

View File

@ -1,235 +0,0 @@
// test.filters[0].alphas
1,0,1
// test.filters[0].angle
49.9991703850277
// test.filters[0].blurX
10
// test.filters[0].blurY
10
// test.filters[0].colors
16711935,16711680,65484
// test.filters[0].distance
10
// test.filters[0].knockout
true
// test.filters[0].quality
2
// test.filters[0].ratios
0,128,255
// test.filters[0].strength
1.09765625
// test.filters[0].type
outer
// new GradientBevelFilter
[object Object]
// x.clone()
[object Object]
// x.clone() == x
false
// x.alphas
// x.angle
44.9999999772279
// x.blurX
4
// x.blurY
4
// x.colors
// x.distance
4
// x.knockout
false
// x.quality
1
// x.ratios
// x.strength
1
// x.type
inner
// test.filters = [x];
// test.filters[0].alphas
// test.filters[0].angle
44.9999999772279
// test.filters[0].blurX
4
// test.filters[0].blurY
4
// test.filters[0].colors
// test.filters[0].distance
4
// test.filters[0].knockout
false
// test.filters[0].quality
1
// test.filters[0].ratios
// test.filters[0].strength
1
// test.filters[0].type
inner
// x.alphas
// x.colors
// x.ratios
// x.alphas
0
// x.colors
0
// x.ratios
0
// x.alphas
1
// x.colors
1
// x.ratios
0
// x.alphas
1
// x.colors
1
// x.ratios
0
// x.alphas
// x.colors
// x.ratios
// x.alphas
1
// x.colors
65535
// x.ratios
1
// x.alphas
0.4
// x.colors
65535
// x.ratios
1
// x.alphas
0
// x.colors
65535
// x.ratios
1
// x.alphas
0.4
// x.colors
65535
// x.ratios
1
// x.alphas
0.4
// x.colors
65535
// x.ratios
1
// x.alphas
1
// x.colors
16777215
// x.ratios
255
// x.alphas
0
// x.colors
1
// x.ratios
0
// x.alphas (after set to null)
0.4
// x.colors (after set to null)
65535
// x.ratios (after set to null)
1
// x.angle (after set to 1000)
280
// x.blurX (after set to 1000)
255
// x.blurY (after set to 1000)
4
// x.distance (after set to 1000)
1000
// x.quality (after set to 1000)
15
// x.strength (after set to 1000)
255
// x.type (after set to null)
full
// x.angle (after set to -1000)
-280
// x.blurX (after set to -1000)
0
// x.blurY (after set to -1000)
4
// x.distance (after set to -1000)
-1000
// x.quality (after set to -1000)
0
// x.strength (after set to -1000)
0
// x.angle (after set to 1.5)
1.5
// x.blurX (after set to 1.5)
1.5
// x.blurY (after set to 1.5)
4
// x.distance (after set to 1.5)
1.5
// x.quality (after set to 1.5)
1
// x.strength (after set to 1.5)
0
// oob_over.alphas
// oob_over.angle
280
// oob_over.blurX
255
// oob_over.blurY
255
// oob_over.colors
// oob_over.distance
1000
// oob_over.knockout
false
// oob_over.quality
15
// oob_over.ratios
// oob_over.strength
255
// oob_over.type
full
// oob_under.alphas
// oob_under.angle
-280
// oob_under.blurX
0
// oob_under.blurY
0
// oob_under.colors
// oob_under.distance
-1000
// oob_under.knockout
false
// oob_under.quality
0
// oob_under.ratios
// oob_under.strength
0
// oob_under.type
full

View File

@ -1,4 +0,0 @@
num_frames = 1
[approximations]
epsilon = 0.001

View File

@ -1,233 +0,0 @@
// test.filters[0].alphas
0,1
// test.filters[0].angle
49.9991703850277
// test.filters[0].blurX
10
// test.filters[0].blurY
10
// test.filters[0].colors
16711935,65280
// test.filters[0].distance
10
// test.filters[0].knockout
true
// test.filters[0].quality
2
// test.filters[0].ratios
0,255
// test.filters[0].strength
1.09765625
// test.filters[0].type
full
// new GradientGlowFilter
[object Object]
// x.clone()
[object Object]
// x.clone() == x
false
// x.alphas
// x.angle
44.9999999772279
// x.blurX
4
// x.blurY
4
// x.colors
// x.distance
4
// x.knockout
false
// x.quality
1
// x.ratios
// x.strength
1
// x.type
inner
// test.filters = [x]
// test.filters[0].alphas
// test.filters[0].angle
44.9999999772279
// test.filters[0].blurX
4
// test.filters[0].blurY
4
// test.filters[0].colors
// test.filters[0].distance
4
// test.filters[0].knockout
false
// test.filters[0].quality
1
// test.filters[0].ratios
// test.filters[0].strength
1
// test.filters[0].type
inner
// x.alphas
// x.colors
// x.ratios
// x.alphas
0
// x.colors
0
// x.ratios
0
// x.alphas
1
// x.colors
1
// x.ratios
0
// x.alphas
1
// x.colors
1
// x.ratios
0
// x.alphas
// x.colors
// x.ratios
// x.alphas
1
// x.colors
65535
// x.ratios
1
// x.alphas
0.4
// x.colors
65535
// x.ratios
1
// x.alphas
0
// x.colors
65535
// x.ratios
1
// x.alphas
0.4
// x.colors
65535
// x.ratios
1
// x.alphas
0.4
// x.colors
65535
// x.ratios
1
// x.alphas
1
// x.colors
16777215
// x.ratios
255
// x.alphas
0
// x.colors
1
// x.ratios
0
// x.alphas (after set to null)
0.4
// x.colors (after set to null)
65535
// x.ratios (after set to null)
1
// x.angle (after set to 1000)
280
// x.blurX (after set to 1000)
255
// x.blurY (after set to 1000)
4
// x.distance (after set to 1000)
1000
// x.quality (after set to 1000)
15
// x.strength (after set to 1000)
255
// x.type (after set to null)
full
// x.angle (after set to -1000)
-280
// x.blurX (after set to -1000)
0
// x.blurY (after set to -1000)
4
// x.distance (after set to -1000)
-1000
// x.quality (after set to -1000)
0
// x.strength (after set to -1000)
0
// x.angle (after set to 1.5)
1.5
// x.blurX (after set to 1.5)
1.5
// x.blurY (after set to 1.5)
4
// x.distance (after set to 1.5)
1.5
// x.quality (after set to 1.5)
1
// x.strength (after set to 1.5)
0
// oob_over.alphas
// oob_over.angle
280
// oob_over.blurX
255
// oob_over.blurY
255
// oob_over.colors
// oob_over.distance
1000
// oob_over.knockout
false
// oob_over.quality
15
// oob_over.ratios
// oob_over.strength
255
// oob_over.type
full
// oob_under.alphas
// oob_under.angle
-280
// oob_under.blurX
0
// oob_under.blurY
0
// oob_under.colors
// oob_under.distance
-1000
// oob_under.knockout
false
// oob_under.quality
0
// oob_under.ratios
// oob_under.strength
0
// oob_under.type
full

View File

@ -1,4 +0,0 @@
num_frames = 1
[approximations]
epsilon = 0.001