summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2017-04-17 03:44:20 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2017-04-17 04:54:48 +0200
commited6ee28f57beb440006d04a694dd0715e152b690 (patch)
tree66389fd0bd3d436ff9b13411f21e39dd173d9817 /filter
parent463378bc5d1ea91a5d0f71cd118bf2d06f724097 (diff)
svg filter: fix eslint no-unused-vars
Change-Id: Ia3e80992d2c5310e0a2c810ef74d710f7a0e1e0b
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/presentation_engine.js12
1 files changed, 3 insertions, 9 deletions
diff --git a/filter/source/svg/presentation_engine.js b/filter/source/svg/presentation_engine.js
index e7bcca035a64..4c42fc1ed72a 100644
--- a/filter/source/svg/presentation_engine.js
+++ b/filter/source/svg/presentation_engine.js
@@ -4960,7 +4960,7 @@ aClockDirectionOutMap = [ 'clockwise', 'counter-clockwise' ];
// Attribute Value Types
-UNKNOWN_PROPERTY = 0;
+UNKNOWN_PROPERTY = 0; // TODO
NUMBER_PROPERTY = 1;
ENUM_PROPERTY = 2;
COLOR_PROPERTY = 3;
@@ -5037,8 +5037,6 @@ TRANSITION_INVALID = 0; // Invalid type
TRANSITION_CLIP_POLYPOLYGON = 1; // Transition expressed by parametric clip polygon
TRANSITION_SPECIAL = 2; // Transition expressed by hand-crafted function
-aTransitionClassOutMap = ['invalid', 'clip polypolygon', 'special'];
-
/*
* All Transition types should be in sync with aTransitionTypeInMap:
* Comments '//' followed by integers represent the transition values in their
@@ -5284,7 +5282,6 @@ aTransitionSubtypeInMap = {
TRANSITION_MODE_IN = 1;
TRANSITION_MODE_OUT = 0;
-aTransitionModeInMap = { 'out': TRANSITION_MODE_OUT, 'in': TRANSITION_MODE_IN };
aTransitionModeOutMap = [ 'out', 'in' ];
@@ -5307,9 +5304,6 @@ REVERSEMETHOD_FLIP_X = 5;
// Reverse by flipping polygon at the x axis.
REVERSEMETHOD_FLIP_Y = 6;
-aReverseMethodOutMap = ['ignore', 'invert sweep', 'subtract polygon',
- 'subtract and invert', 'rotate 180', 'flip x', 'flip y'];
-
// Transition filter info table
@@ -10518,7 +10512,7 @@ SnakeWipePath.prototype.calcSnake = function(t)
}
SnakeWipePath.prototype.calcHalfDiagonalSnake = function(nT, bIn) {
- var res = createEmptyPath(), aTransform;
+ var res = createEmptyPath();
if(bIn) {
const sqrtArea2 = Math.sqrt(nT * this.sqrtElements * this.sqrtElements);
@@ -14756,7 +14750,7 @@ function extractAttributeValues( eValueType, aValueList, aValueSet, aBBox, nSlid
}
-function evalValuesAttribute( aValueList, aValueSet, aBBox, nSlideWidth, nSlideHeight )
+function evalValuesAttribute( aValueList, aValueSet )
{
var reMath = /abs|sqrt|asin|acos|atan|sin|cos|tan|exp|log|min|max/g;