1*cdf0e10cSrcweir /*************************************************************************
2*cdf0e10cSrcweir  *
3*cdf0e10cSrcweir  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir  *
5*cdf0e10cSrcweir  * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir  *
7*cdf0e10cSrcweir  * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir  *
9*cdf0e10cSrcweir  * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir  *
11*cdf0e10cSrcweir  * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir  * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir  * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir  *
15*cdf0e10cSrcweir  * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir  * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir  * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir  *
21*cdf0e10cSrcweir  * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir  * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir  * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir  * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir  *
26*cdf0e10cSrcweir  ************************************************************************/
27*cdf0e10cSrcweir 
28*cdf0e10cSrcweir // MARKER(update_precomp.py): autogen include statement, do not remove
29*cdf0e10cSrcweir #include "precompiled_slideshow.hxx"
30*cdf0e10cSrcweir 
31*cdf0e10cSrcweir #include <boost/current_function.hpp>
32*cdf0e10cSrcweir #include <basegfx/numeric/ftools.hxx>
33*cdf0e10cSrcweir #include <com/sun/star/animations/TransitionType.hpp>
34*cdf0e10cSrcweir #include <com/sun/star/animations/TransitionSubType.hpp>
35*cdf0e10cSrcweir 
36*cdf0e10cSrcweir #include "transitionfactory.hxx"
37*cdf0e10cSrcweir #include "tools.hxx"
38*cdf0e10cSrcweir 
39*cdf0e10cSrcweir #include <algorithm>
40*cdf0e10cSrcweir 
41*cdf0e10cSrcweir using namespace ::com::sun::star;
42*cdf0e10cSrcweir 
43*cdf0e10cSrcweir namespace slideshow {
44*cdf0e10cSrcweir namespace internal {
45*cdf0e10cSrcweir 
46*cdf0e10cSrcweir namespace {
47*cdf0e10cSrcweir 
48*cdf0e10cSrcweir static const TransitionInfo lcl_transitionInfo[] =
49*cdf0e10cSrcweir {
50*cdf0e10cSrcweir     {
51*cdf0e10cSrcweir         0,
52*cdf0e10cSrcweir         0,
53*cdf0e10cSrcweir         TransitionInfo::TRANSITION_INVALID,
54*cdf0e10cSrcweir         0.0,
55*cdf0e10cSrcweir         0.0,
56*cdf0e10cSrcweir         0.0,
57*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
58*cdf0e10cSrcweir         false,
59*cdf0e10cSrcweir         false
60*cdf0e10cSrcweir     },
61*cdf0e10cSrcweir     {
62*cdf0e10cSrcweir         // mapped to BarWipePolyPolygon:
63*cdf0e10cSrcweir         animations::TransitionType::BARWIPE,
64*cdf0e10cSrcweir         animations::TransitionSubType::LEFTTORIGHT, // (1)
65*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
66*cdf0e10cSrcweir         0.0, // no rotation
67*cdf0e10cSrcweir         1.0, // no scaling
68*cdf0e10cSrcweir         1.0, // no scaling
69*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
70*cdf0e10cSrcweir         false, // 'out' by subtraction
71*cdf0e10cSrcweir         false // scale isotrophically to target size
72*cdf0e10cSrcweir     },
73*cdf0e10cSrcweir     {
74*cdf0e10cSrcweir         // mapped to BarWipePolyPolygon:
75*cdf0e10cSrcweir         animations::TransitionType::BARWIPE,
76*cdf0e10cSrcweir         animations::TransitionSubType::TOPTOBOTTOM, // (2)
77*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
78*cdf0e10cSrcweir         90.0, // rotation
79*cdf0e10cSrcweir         1.0, // no scaling
80*cdf0e10cSrcweir         1.0, // no scaling
81*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_Y,
82*cdf0e10cSrcweir         false, // 'out' by subtraction
83*cdf0e10cSrcweir         false // scale isotrophically to target size
84*cdf0e10cSrcweir     },
85*cdf0e10cSrcweir 
86*cdf0e10cSrcweir     {
87*cdf0e10cSrcweir         // mapped to BarWipePolyPolygon(nBars=5):
88*cdf0e10cSrcweir         animations::TransitionType::BLINDSWIPE,
89*cdf0e10cSrcweir         animations::TransitionSubType::VERTICAL,
90*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
91*cdf0e10cSrcweir         0.0, // no rotation
92*cdf0e10cSrcweir         1.0, // no scaling
93*cdf0e10cSrcweir         1.0, // no scaling
94*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_Y,
95*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
96*cdf0e10cSrcweir         false // scale isotrophically to target size
97*cdf0e10cSrcweir     },
98*cdf0e10cSrcweir     {
99*cdf0e10cSrcweir         // mapped to BarWipePolyPolygon(nBars=5):
100*cdf0e10cSrcweir         animations::TransitionType::BLINDSWIPE,
101*cdf0e10cSrcweir         animations::TransitionSubType::HORIZONTAL,
102*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
103*cdf0e10cSrcweir         90.0, // rotation
104*cdf0e10cSrcweir         1.0, // no scaling
105*cdf0e10cSrcweir         1.0, // no scaling
106*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
107*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
108*cdf0e10cSrcweir         false // scale isotrophically to target size
109*cdf0e10cSrcweir     },
110*cdf0e10cSrcweir 
111*cdf0e10cSrcweir     {
112*cdf0e10cSrcweir         // mapped to BoxWipe:
113*cdf0e10cSrcweir         animations::TransitionType::BOXWIPE,
114*cdf0e10cSrcweir         animations::TransitionSubType::TOPLEFT, // (3)
115*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
116*cdf0e10cSrcweir         0.0, // no rotation
117*cdf0e10cSrcweir         1.0, // no scaling
118*cdf0e10cSrcweir         1.0, // no scaling
119*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE, // possible via bottomRight
120*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
121*cdf0e10cSrcweir         false // scale isotrophically to target size
122*cdf0e10cSrcweir     },
123*cdf0e10cSrcweir     {
124*cdf0e10cSrcweir         // mapped to BoxWipe:
125*cdf0e10cSrcweir         animations::TransitionType::BOXWIPE,
126*cdf0e10cSrcweir         animations::TransitionSubType::TOPRIGHT, // (4)
127*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
128*cdf0e10cSrcweir         90.0, // rotation
129*cdf0e10cSrcweir         1.0, // no scaling
130*cdf0e10cSrcweir         1.0, // no scaling
131*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE, // possible via bottomLeft
132*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
133*cdf0e10cSrcweir         false // scale isotrophically to target size
134*cdf0e10cSrcweir     },
135*cdf0e10cSrcweir     {
136*cdf0e10cSrcweir         // mapped to BoxWipe:
137*cdf0e10cSrcweir         animations::TransitionType::BOXWIPE,
138*cdf0e10cSrcweir         animations::TransitionSubType::BOTTOMRIGHT, // (5)
139*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
140*cdf0e10cSrcweir         180.0, // rotation
141*cdf0e10cSrcweir         1.0, // no scaling
142*cdf0e10cSrcweir         1.0, // no scaling
143*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE, // possible via topLeft
144*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
145*cdf0e10cSrcweir         false // scale isotrophically to target size
146*cdf0e10cSrcweir     },
147*cdf0e10cSrcweir     {
148*cdf0e10cSrcweir         // mapped to BoxWipe:
149*cdf0e10cSrcweir         animations::TransitionType::BOXWIPE,
150*cdf0e10cSrcweir         animations::TransitionSubType::BOTTOMLEFT, // (6)
151*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
152*cdf0e10cSrcweir         -90.0, // rotation
153*cdf0e10cSrcweir         1.0, // no scaling
154*cdf0e10cSrcweir         1.0, // no scaling
155*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE, // possible via topRight
156*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
157*cdf0e10cSrcweir         false // scale isotrophically to target size
158*cdf0e10cSrcweir     },
159*cdf0e10cSrcweir     {
160*cdf0e10cSrcweir         // mapped to BoxWipe:
161*cdf0e10cSrcweir         animations::TransitionType::BOXWIPE,
162*cdf0e10cSrcweir         animations::TransitionSubType::TOPCENTER, // (23)
163*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
164*cdf0e10cSrcweir         0.0, // no rotation
165*cdf0e10cSrcweir         1.0, // no scaling
166*cdf0e10cSrcweir         1.0, // no scaling
167*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_Y,
168*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
169*cdf0e10cSrcweir         false // scale isotrophically to target size
170*cdf0e10cSrcweir     },
171*cdf0e10cSrcweir     {
172*cdf0e10cSrcweir         // mapped to BoxWipe:
173*cdf0e10cSrcweir         animations::TransitionType::BOXWIPE,
174*cdf0e10cSrcweir         animations::TransitionSubType::RIGHTCENTER, // (24)
175*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
176*cdf0e10cSrcweir         90.0, // rotation
177*cdf0e10cSrcweir         1.0, // no scaling
178*cdf0e10cSrcweir         1.0, // no scaling
179*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
180*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
181*cdf0e10cSrcweir         false // scale isotrophically to target size
182*cdf0e10cSrcweir     },
183*cdf0e10cSrcweir     {
184*cdf0e10cSrcweir         // mapped to BoxWipe:
185*cdf0e10cSrcweir         animations::TransitionType::BOXWIPE,
186*cdf0e10cSrcweir         animations::TransitionSubType::BOTTOMCENTER, // (25)
187*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
188*cdf0e10cSrcweir         180.0, // rotation
189*cdf0e10cSrcweir         1.0, // no scaling
190*cdf0e10cSrcweir         1.0, // no scaling
191*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_Y,
192*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
193*cdf0e10cSrcweir         false // scale isotrophically to target size
194*cdf0e10cSrcweir     },
195*cdf0e10cSrcweir     {
196*cdf0e10cSrcweir         // mapped to BoxWipe:
197*cdf0e10cSrcweir         animations::TransitionType::BOXWIPE,
198*cdf0e10cSrcweir         animations::TransitionSubType::LEFTCENTER, // (26)
199*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
200*cdf0e10cSrcweir         -90.0, // rotation
201*cdf0e10cSrcweir         1.0, // no scaling
202*cdf0e10cSrcweir         1.0, // no scaling
203*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
204*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
205*cdf0e10cSrcweir         false // scale isotrophically to target size
206*cdf0e10cSrcweir     },
207*cdf0e10cSrcweir 
208*cdf0e10cSrcweir     {
209*cdf0e10cSrcweir         // mapped to FourBoxWipe:
210*cdf0e10cSrcweir         animations::TransitionType::FOURBOXWIPE,
211*cdf0e10cSrcweir         animations::TransitionSubType::CORNERSIN, // (7)
212*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
213*cdf0e10cSrcweir         0.0, // no rotation
214*cdf0e10cSrcweir         1.0, // no scaling
215*cdf0e10cSrcweir         1.0, // no scaling
216*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
217*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
218*cdf0e10cSrcweir         false // scale isotrophically to target size
219*cdf0e10cSrcweir     },
220*cdf0e10cSrcweir     {
221*cdf0e10cSrcweir         // mapped to FourBoxWipe:
222*cdf0e10cSrcweir         animations::TransitionType::FOURBOXWIPE,
223*cdf0e10cSrcweir         animations::TransitionSubType::CORNERSOUT, // (8)
224*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
225*cdf0e10cSrcweir         0.0, // no rotation
226*cdf0e10cSrcweir         1.0, // no scaling
227*cdf0e10cSrcweir         1.0, // no scaling
228*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
229*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
230*cdf0e10cSrcweir         false // scale isotrophically to target size
231*cdf0e10cSrcweir     },
232*cdf0e10cSrcweir 
233*cdf0e10cSrcweir     {
234*cdf0e10cSrcweir         // mapped to BarnDoorWipe:
235*cdf0e10cSrcweir         animations::TransitionType::BARNDOORWIPE,
236*cdf0e10cSrcweir         animations::TransitionSubType::VERTICAL, // (21)
237*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
238*cdf0e10cSrcweir         0.0, // no rotation
239*cdf0e10cSrcweir         1.0, // no scaling
240*cdf0e10cSrcweir         1.0, // no scaling
241*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
242*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
243*cdf0e10cSrcweir         false // scale isotrophically to target size
244*cdf0e10cSrcweir     },
245*cdf0e10cSrcweir     {
246*cdf0e10cSrcweir         // mapped to BarnDoorWipe:
247*cdf0e10cSrcweir         animations::TransitionType::BARNDOORWIPE,
248*cdf0e10cSrcweir         animations::TransitionSubType::HORIZONTAL, // (22)
249*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
250*cdf0e10cSrcweir         90.0, // rotation
251*cdf0e10cSrcweir         1.0, // no scaling
252*cdf0e10cSrcweir         1.0, // no scaling
253*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
254*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
255*cdf0e10cSrcweir         false // scale isotrophically to target size
256*cdf0e10cSrcweir     },
257*cdf0e10cSrcweir     {
258*cdf0e10cSrcweir         // mapped to BarnDoorWipe:
259*cdf0e10cSrcweir         animations::TransitionType::BARNDOORWIPE,
260*cdf0e10cSrcweir         animations::TransitionSubType::DIAGONALBOTTOMLEFT, // (45)
261*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
262*cdf0e10cSrcweir         45.0, // rotation
263*cdf0e10cSrcweir         M_SQRT2, // scaling
264*cdf0e10cSrcweir         M_SQRT2, // scaling
265*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
266*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
267*cdf0e10cSrcweir         false // scale isotrophically to target size
268*cdf0e10cSrcweir     },
269*cdf0e10cSrcweir     {
270*cdf0e10cSrcweir         // mapped to BarnDoorWipe:
271*cdf0e10cSrcweir         animations::TransitionType::BARNDOORWIPE,
272*cdf0e10cSrcweir         animations::TransitionSubType::DIAGONALTOPLEFT, // (46)
273*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
274*cdf0e10cSrcweir         -45.0, // rotation
275*cdf0e10cSrcweir         M_SQRT2, // scaling
276*cdf0e10cSrcweir         M_SQRT2, // scaling
277*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
278*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
279*cdf0e10cSrcweir         false // scale isotrophically to target size
280*cdf0e10cSrcweir     },
281*cdf0e10cSrcweir 
282*cdf0e10cSrcweir     {
283*cdf0e10cSrcweir         // mapped to BarWipePolyPolygon:
284*cdf0e10cSrcweir         animations::TransitionType::DIAGONALWIPE,
285*cdf0e10cSrcweir         animations::TransitionSubType::TOPLEFT, // (41)
286*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
287*cdf0e10cSrcweir         45.0, // rotation
288*cdf0e10cSrcweir         M_SQRT2, // scaling
289*cdf0e10cSrcweir         M_SQRT2, // scaling
290*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
291*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
292*cdf0e10cSrcweir         false // scale isotrophically to target size
293*cdf0e10cSrcweir     },
294*cdf0e10cSrcweir     {
295*cdf0e10cSrcweir         // mapped to BarWipePolyPolygon:
296*cdf0e10cSrcweir         animations::TransitionType::DIAGONALWIPE,
297*cdf0e10cSrcweir         animations::TransitionSubType::TOPRIGHT, // (42)
298*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
299*cdf0e10cSrcweir         135.0, // rotation
300*cdf0e10cSrcweir         M_SQRT2, // scaling
301*cdf0e10cSrcweir         M_SQRT2, // scaling
302*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
303*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
304*cdf0e10cSrcweir         false // scale isotrophically to target size
305*cdf0e10cSrcweir     },
306*cdf0e10cSrcweir 
307*cdf0e10cSrcweir 
308*cdf0e10cSrcweir     {
309*cdf0e10cSrcweir         animations::TransitionType::BOWTIEWIPE,
310*cdf0e10cSrcweir         animations::TransitionSubType::VERTICAL,
311*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
312*cdf0e10cSrcweir         // TODO(F2): Setup parameters
313*cdf0e10cSrcweir         0.0,                    // no rotation
314*cdf0e10cSrcweir         1.0,                    // no scaling
315*cdf0e10cSrcweir         1.0,                    // no scaling
316*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
317*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
318*cdf0e10cSrcweir         false                   // scale isotrophically to target size
319*cdf0e10cSrcweir     },
320*cdf0e10cSrcweir     {
321*cdf0e10cSrcweir         animations::TransitionType::BOWTIEWIPE,
322*cdf0e10cSrcweir         animations::TransitionSubType::HORIZONTAL,
323*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
324*cdf0e10cSrcweir         // TODO(F2): Setup parameters
325*cdf0e10cSrcweir         0.0,                    // no rotation
326*cdf0e10cSrcweir         1.0,                    // no scaling
327*cdf0e10cSrcweir         1.0,                    // no scaling
328*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
329*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
330*cdf0e10cSrcweir         false                   // scale isotrophically to target size
331*cdf0e10cSrcweir     },
332*cdf0e10cSrcweir 
333*cdf0e10cSrcweir     {
334*cdf0e10cSrcweir         // mapped to BarnDoorWipe (doubled=true):
335*cdf0e10cSrcweir         animations::TransitionType::MISCDIAGONALWIPE,
336*cdf0e10cSrcweir         animations::TransitionSubType::DOUBLEBARNDOOR, // (47)
337*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
338*cdf0e10cSrcweir         45.0, // rotation
339*cdf0e10cSrcweir         M_SQRT2, // scaling
340*cdf0e10cSrcweir         M_SQRT2, // scaling
341*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
342*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
343*cdf0e10cSrcweir         false // scale isotrophically to target size
344*cdf0e10cSrcweir     },
345*cdf0e10cSrcweir     {
346*cdf0e10cSrcweir         // mapped to DoubleDiamondWipe:
347*cdf0e10cSrcweir         animations::TransitionType::MISCDIAGONALWIPE,
348*cdf0e10cSrcweir         animations::TransitionSubType::DOUBLEDIAMOND, // (48)
349*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
350*cdf0e10cSrcweir         0.0, // no rotation
351*cdf0e10cSrcweir         1.0, // no scaling
352*cdf0e10cSrcweir         1.0, // no scaling
353*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
354*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
355*cdf0e10cSrcweir         false // scale isotrophically to target size
356*cdf0e10cSrcweir     },
357*cdf0e10cSrcweir 
358*cdf0e10cSrcweir     {
359*cdf0e10cSrcweir         // mapped to VeeWipe:
360*cdf0e10cSrcweir         animations::TransitionType::VEEWIPE,
361*cdf0e10cSrcweir         animations::TransitionSubType::DOWN, // (61)
362*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
363*cdf0e10cSrcweir         0.0, // no rotation
364*cdf0e10cSrcweir         1.0, // no scaling
365*cdf0e10cSrcweir         1.0, // no scaling
366*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_Y,
367*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
368*cdf0e10cSrcweir         false // scale isotrophically to target size
369*cdf0e10cSrcweir     },
370*cdf0e10cSrcweir     {
371*cdf0e10cSrcweir         // mapped to VeeWipe:
372*cdf0e10cSrcweir         animations::TransitionType::VEEWIPE,
373*cdf0e10cSrcweir         animations::TransitionSubType::LEFT, // (62)
374*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
375*cdf0e10cSrcweir         90.0, // rotation
376*cdf0e10cSrcweir         1.0, // no scaling
377*cdf0e10cSrcweir         1.0, // no scaling
378*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
379*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
380*cdf0e10cSrcweir         false // scale isotrophically to target size
381*cdf0e10cSrcweir     },
382*cdf0e10cSrcweir     {
383*cdf0e10cSrcweir         animations::TransitionType::VEEWIPE,
384*cdf0e10cSrcweir         animations::TransitionSubType::UP, // (63)
385*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
386*cdf0e10cSrcweir         180.0, // rotation
387*cdf0e10cSrcweir         1.0, // no scaling
388*cdf0e10cSrcweir         1.0, // no scaling
389*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_Y,
390*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
391*cdf0e10cSrcweir         false // scale isotrophically to target size
392*cdf0e10cSrcweir     },
393*cdf0e10cSrcweir     {
394*cdf0e10cSrcweir         animations::TransitionType::VEEWIPE,
395*cdf0e10cSrcweir         animations::TransitionSubType::RIGHT,
396*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
397*cdf0e10cSrcweir         -90.0, // rotation
398*cdf0e10cSrcweir         1.0, // no scaling
399*cdf0e10cSrcweir         1.0, // no scaling
400*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
401*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
402*cdf0e10cSrcweir         false // scale isotrophically to target size
403*cdf0e10cSrcweir     },
404*cdf0e10cSrcweir 
405*cdf0e10cSrcweir 
406*cdf0e10cSrcweir     {
407*cdf0e10cSrcweir         animations::TransitionType::BARNVEEWIPE,
408*cdf0e10cSrcweir         animations::TransitionSubType::TOP,
409*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
410*cdf0e10cSrcweir         // TODO(F2): Setup parameters
411*cdf0e10cSrcweir         0.0,                    // no rotation
412*cdf0e10cSrcweir         1.0,                    // no scaling
413*cdf0e10cSrcweir         1.0,                    // no scaling
414*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
415*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
416*cdf0e10cSrcweir         false                   // scale isotrophically to target size
417*cdf0e10cSrcweir     },
418*cdf0e10cSrcweir     {
419*cdf0e10cSrcweir         animations::TransitionType::BARNVEEWIPE,
420*cdf0e10cSrcweir         animations::TransitionSubType::LEFT,
421*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
422*cdf0e10cSrcweir         // TODO(F2): Setup parameters
423*cdf0e10cSrcweir         0.0,                    // no rotation
424*cdf0e10cSrcweir         1.0,                    // no scaling
425*cdf0e10cSrcweir         1.0,                    // no scaling
426*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
427*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
428*cdf0e10cSrcweir         false                   // scale isotrophically to target size
429*cdf0e10cSrcweir     },
430*cdf0e10cSrcweir     {
431*cdf0e10cSrcweir         animations::TransitionType::BARNVEEWIPE,
432*cdf0e10cSrcweir         animations::TransitionSubType::UP,
433*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
434*cdf0e10cSrcweir         // TODO(F2): Setup parameters
435*cdf0e10cSrcweir         0.0,                    // no rotation
436*cdf0e10cSrcweir         1.0,                    // no scaling
437*cdf0e10cSrcweir         1.0,                    // no scaling
438*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
439*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
440*cdf0e10cSrcweir         false                   // scale isotrophically to target size
441*cdf0e10cSrcweir     },
442*cdf0e10cSrcweir     {
443*cdf0e10cSrcweir         animations::TransitionType::BARNVEEWIPE,
444*cdf0e10cSrcweir         animations::TransitionSubType::RIGHT,
445*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
446*cdf0e10cSrcweir         // TODO(F2): Setup parameters
447*cdf0e10cSrcweir         0.0,                    // no rotation
448*cdf0e10cSrcweir         1.0,                    // no scaling
449*cdf0e10cSrcweir         1.0,                    // no scaling
450*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
451*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
452*cdf0e10cSrcweir         false                   // scale isotrophically to target size
453*cdf0e10cSrcweir     },
454*cdf0e10cSrcweir 
455*cdf0e10cSrcweir     {
456*cdf0e10cSrcweir         // mapped to ZigZagWipe:
457*cdf0e10cSrcweir         animations::TransitionType::ZIGZAGWIPE,
458*cdf0e10cSrcweir         animations::TransitionSubType::LEFTTORIGHT, // (71)
459*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
460*cdf0e10cSrcweir         0.0, // no rotation
461*cdf0e10cSrcweir         1.0, // no scaling
462*cdf0e10cSrcweir         1.0, // no scaling
463*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
464*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
465*cdf0e10cSrcweir         false // scale isotrophically to target size
466*cdf0e10cSrcweir     },
467*cdf0e10cSrcweir     {
468*cdf0e10cSrcweir         // mapped to ZigZagWipe:
469*cdf0e10cSrcweir         animations::TransitionType::ZIGZAGWIPE,
470*cdf0e10cSrcweir         animations::TransitionSubType::TOPTOBOTTOM, // (72)
471*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
472*cdf0e10cSrcweir         90.0, // rotation
473*cdf0e10cSrcweir         1.0, // no scaling
474*cdf0e10cSrcweir         1.0, // no scaling
475*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_Y,
476*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
477*cdf0e10cSrcweir         false // scale isotrophically to target size
478*cdf0e10cSrcweir     },
479*cdf0e10cSrcweir     {
480*cdf0e10cSrcweir         // mapped to BarnZigZagWipe:
481*cdf0e10cSrcweir         animations::TransitionType::BARNZIGZAGWIPE,
482*cdf0e10cSrcweir         animations::TransitionSubType::VERTICAL, // (73)
483*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
484*cdf0e10cSrcweir         0.0, // no rotation
485*cdf0e10cSrcweir         1.0, // no scaling
486*cdf0e10cSrcweir         1.0, // no scaling
487*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
488*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
489*cdf0e10cSrcweir         false // scale isotrophically to target size
490*cdf0e10cSrcweir     },
491*cdf0e10cSrcweir     {
492*cdf0e10cSrcweir         // mapped to BarnZigZagWipe:
493*cdf0e10cSrcweir         animations::TransitionType::BARNZIGZAGWIPE,
494*cdf0e10cSrcweir         animations::TransitionSubType::HORIZONTAL, // (74)
495*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
496*cdf0e10cSrcweir         90.0, // rotation
497*cdf0e10cSrcweir         1.0, // no scaling
498*cdf0e10cSrcweir         1.0, // no scaling
499*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
500*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
501*cdf0e10cSrcweir         false // scale isotrophically to target size
502*cdf0e10cSrcweir     },
503*cdf0e10cSrcweir 
504*cdf0e10cSrcweir     {
505*cdf0e10cSrcweir         // mapped to IrisWipe:
506*cdf0e10cSrcweir         animations::TransitionType::IRISWIPE,
507*cdf0e10cSrcweir         animations::TransitionSubType::RECTANGLE, // (101)
508*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
509*cdf0e10cSrcweir         0.0, // no rotation
510*cdf0e10cSrcweir         1.0, // no scaling
511*cdf0e10cSrcweir         1.0, // no scaling
512*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
513*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
514*cdf0e10cSrcweir         false // scale isotrophically to target size
515*cdf0e10cSrcweir     },
516*cdf0e10cSrcweir     {
517*cdf0e10cSrcweir         // mapped to IrisWipe:
518*cdf0e10cSrcweir         animations::TransitionType::IRISWIPE,
519*cdf0e10cSrcweir         animations::TransitionSubType::DIAMOND, // (102)
520*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
521*cdf0e10cSrcweir         45.0, // rotation
522*cdf0e10cSrcweir         M_SQRT2, // scaling
523*cdf0e10cSrcweir         M_SQRT2, // scaling
524*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
525*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
526*cdf0e10cSrcweir         false // scale isotrophically to target size
527*cdf0e10cSrcweir     },
528*cdf0e10cSrcweir 
529*cdf0e10cSrcweir 
530*cdf0e10cSrcweir     {
531*cdf0e10cSrcweir         // mapped to FigureWipe(triangle):
532*cdf0e10cSrcweir         animations::TransitionType::TRIANGLEWIPE,
533*cdf0e10cSrcweir         animations::TransitionSubType::UP, // (103)
534*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
535*cdf0e10cSrcweir         0.0, // no rotation
536*cdf0e10cSrcweir         1.0, // no scaling
537*cdf0e10cSrcweir         1.0, // no scaling
538*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
539*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
540*cdf0e10cSrcweir         false // scale isotrophically to target size
541*cdf0e10cSrcweir     },
542*cdf0e10cSrcweir     {
543*cdf0e10cSrcweir         // mapped to FigureWipe(triangle):
544*cdf0e10cSrcweir         animations::TransitionType::TRIANGLEWIPE,
545*cdf0e10cSrcweir         animations::TransitionSubType::RIGHT, // (104)
546*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
547*cdf0e10cSrcweir         90.0, // rotation
548*cdf0e10cSrcweir         1.0, // no scaling
549*cdf0e10cSrcweir         1.0, // no scaling
550*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
551*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
552*cdf0e10cSrcweir         false // scale isotrophically to target size
553*cdf0e10cSrcweir     },
554*cdf0e10cSrcweir     {
555*cdf0e10cSrcweir         // mapped to FigureWipe(triangle):
556*cdf0e10cSrcweir         animations::TransitionType::TRIANGLEWIPE,
557*cdf0e10cSrcweir         animations::TransitionSubType::DOWN, // (105)
558*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
559*cdf0e10cSrcweir         180.0, // rotation
560*cdf0e10cSrcweir         1.0, // no scaling
561*cdf0e10cSrcweir         1.0, // no scaling
562*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
563*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
564*cdf0e10cSrcweir         false // scale isotrophically to target size
565*cdf0e10cSrcweir     },
566*cdf0e10cSrcweir     {
567*cdf0e10cSrcweir         // mapped to FigureWipe(triangle):
568*cdf0e10cSrcweir         animations::TransitionType::TRIANGLEWIPE,
569*cdf0e10cSrcweir         animations::TransitionSubType::LEFT, // (106)
570*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
571*cdf0e10cSrcweir         270.0, // rotation
572*cdf0e10cSrcweir         1.0, // no scaling
573*cdf0e10cSrcweir         1.0, // no scaling
574*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
575*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
576*cdf0e10cSrcweir         false // scale isotrophically to target size
577*cdf0e10cSrcweir     },
578*cdf0e10cSrcweir 
579*cdf0e10cSrcweir     {
580*cdf0e10cSrcweir         // mapped to FigureWipe(arrowHead):
581*cdf0e10cSrcweir         animations::TransitionType::ARROWHEADWIPE,
582*cdf0e10cSrcweir         animations::TransitionSubType::UP, // (107)
583*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
584*cdf0e10cSrcweir         0.0, // no rotation
585*cdf0e10cSrcweir         1.0, // no scaling
586*cdf0e10cSrcweir         1.0, // no scaling
587*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
588*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
589*cdf0e10cSrcweir         false // scale isotrophically to target size
590*cdf0e10cSrcweir     },
591*cdf0e10cSrcweir     {
592*cdf0e10cSrcweir         // mapped to FigureWipe(arrowHead):
593*cdf0e10cSrcweir         animations::TransitionType::ARROWHEADWIPE,
594*cdf0e10cSrcweir         animations::TransitionSubType::RIGHT, // (108)
595*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
596*cdf0e10cSrcweir         90.0, // rotation
597*cdf0e10cSrcweir         1.0, // no scaling
598*cdf0e10cSrcweir         1.0, // no scaling
599*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
600*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
601*cdf0e10cSrcweir         false // scale isotrophically to target size
602*cdf0e10cSrcweir     },
603*cdf0e10cSrcweir     {
604*cdf0e10cSrcweir         // mapped to FigureWipe(arrowHead):
605*cdf0e10cSrcweir         animations::TransitionType::ARROWHEADWIPE,
606*cdf0e10cSrcweir         animations::TransitionSubType::DOWN, // (109)
607*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
608*cdf0e10cSrcweir         180.0, // rotation
609*cdf0e10cSrcweir         1.0, // no scaling
610*cdf0e10cSrcweir         1.0, // no scaling
611*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
612*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
613*cdf0e10cSrcweir         false // scale isotrophically to target size
614*cdf0e10cSrcweir     },
615*cdf0e10cSrcweir     {
616*cdf0e10cSrcweir         // mapped to FigureWipe(arrowHead):
617*cdf0e10cSrcweir         animations::TransitionType::ARROWHEADWIPE,
618*cdf0e10cSrcweir         animations::TransitionSubType::LEFT, // (110)
619*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
620*cdf0e10cSrcweir         270.0, // rotation
621*cdf0e10cSrcweir         1.0, // no scaling
622*cdf0e10cSrcweir         1.0, // no scaling
623*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
624*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
625*cdf0e10cSrcweir         false // scale isotrophically to target size
626*cdf0e10cSrcweir     },
627*cdf0e10cSrcweir 
628*cdf0e10cSrcweir     {
629*cdf0e10cSrcweir         // mapped to FigureWipe(pentagon):
630*cdf0e10cSrcweir         animations::TransitionType::PENTAGONWIPE,
631*cdf0e10cSrcweir         animations::TransitionSubType::UP, // (111)
632*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
633*cdf0e10cSrcweir         0.0, // no rotation
634*cdf0e10cSrcweir         1.0, // no scaling
635*cdf0e10cSrcweir         1.0, // no scaling
636*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
637*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
638*cdf0e10cSrcweir         false // scale isotrophically to target size
639*cdf0e10cSrcweir     },
640*cdf0e10cSrcweir     {
641*cdf0e10cSrcweir         // mapped to FigureWipe(pentagon):
642*cdf0e10cSrcweir         animations::TransitionType::PENTAGONWIPE,
643*cdf0e10cSrcweir         animations::TransitionSubType::DOWN, // (112)
644*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
645*cdf0e10cSrcweir         180.0, // rotation
646*cdf0e10cSrcweir         1.0, // no scaling
647*cdf0e10cSrcweir         1.0, // no scaling
648*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
649*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
650*cdf0e10cSrcweir         false // scale isotrophically to target size
651*cdf0e10cSrcweir     },
652*cdf0e10cSrcweir 
653*cdf0e10cSrcweir     {
654*cdf0e10cSrcweir         // mapped to FigureWipe(hexagon):
655*cdf0e10cSrcweir         animations::TransitionType::HEXAGONWIPE,
656*cdf0e10cSrcweir         animations::TransitionSubType::HORIZONTAL, // (113)
657*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
658*cdf0e10cSrcweir         0.0, // no rotation
659*cdf0e10cSrcweir         1.0, // no scaling
660*cdf0e10cSrcweir         1.0, // no scaling
661*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
662*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
663*cdf0e10cSrcweir         false // scale isotrophically to target size
664*cdf0e10cSrcweir     },
665*cdf0e10cSrcweir     {
666*cdf0e10cSrcweir         // mapped to FigureWipe(hexagon):
667*cdf0e10cSrcweir         animations::TransitionType::HEXAGONWIPE,
668*cdf0e10cSrcweir         animations::TransitionSubType::VERTICAL, // (114)
669*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
670*cdf0e10cSrcweir         90.0, // rotation
671*cdf0e10cSrcweir         1.0, // no scaling
672*cdf0e10cSrcweir         1.0, // no scaling
673*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
674*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
675*cdf0e10cSrcweir         false // scale isotrophically to target size
676*cdf0e10cSrcweir     },
677*cdf0e10cSrcweir 
678*cdf0e10cSrcweir     {
679*cdf0e10cSrcweir         // mapped to EllipseWipe:
680*cdf0e10cSrcweir         animations::TransitionType::ELLIPSEWIPE,
681*cdf0e10cSrcweir         animations::TransitionSubType::CIRCLE,
682*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
683*cdf0e10cSrcweir         0.0, // no rotation
684*cdf0e10cSrcweir         1.0, // no scaling
685*cdf0e10cSrcweir         1.0, // no scaling
686*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
687*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
688*cdf0e10cSrcweir         true // scale isotrophically to target size
689*cdf0e10cSrcweir     },
690*cdf0e10cSrcweir     {
691*cdf0e10cSrcweir         // mapped to EllipseWipe:
692*cdf0e10cSrcweir         animations::TransitionType::ELLIPSEWIPE,
693*cdf0e10cSrcweir         animations::TransitionSubType::HORIZONTAL,
694*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
695*cdf0e10cSrcweir         0.0, // no rotation
696*cdf0e10cSrcweir         1.0, // no scaling
697*cdf0e10cSrcweir         1.0, // no scaling
698*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
699*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
700*cdf0e10cSrcweir         false // scale isotrophically to target size
701*cdf0e10cSrcweir     },
702*cdf0e10cSrcweir     {
703*cdf0e10cSrcweir         // mapped to EllipseWipe:
704*cdf0e10cSrcweir         animations::TransitionType::ELLIPSEWIPE,
705*cdf0e10cSrcweir         animations::TransitionSubType::VERTICAL,
706*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
707*cdf0e10cSrcweir         90.0, // rotation
708*cdf0e10cSrcweir         1.0, // no scaling
709*cdf0e10cSrcweir         1.0, // no scaling
710*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
711*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
712*cdf0e10cSrcweir         false // scale isotrophically to target size
713*cdf0e10cSrcweir     },
714*cdf0e10cSrcweir 
715*cdf0e10cSrcweir 
716*cdf0e10cSrcweir     {
717*cdf0e10cSrcweir         animations::TransitionType::EYEWIPE,
718*cdf0e10cSrcweir         animations::TransitionSubType::HORIZONTAL,
719*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
720*cdf0e10cSrcweir         // TODO(F2): Setup parameters
721*cdf0e10cSrcweir         0.0,                    // no rotation
722*cdf0e10cSrcweir         1.0,                    // no scaling
723*cdf0e10cSrcweir         1.0,                    // no scaling
724*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
725*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
726*cdf0e10cSrcweir         false                   // scale isotrophically to target size
727*cdf0e10cSrcweir     },
728*cdf0e10cSrcweir     {
729*cdf0e10cSrcweir         animations::TransitionType::EYEWIPE,
730*cdf0e10cSrcweir         animations::TransitionSubType::VERTICAL,
731*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
732*cdf0e10cSrcweir         // TODO(F2): Setup parameters
733*cdf0e10cSrcweir         0.0,                    // no rotation
734*cdf0e10cSrcweir         1.0,                    // no scaling
735*cdf0e10cSrcweir         1.0,                    // no scaling
736*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
737*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
738*cdf0e10cSrcweir         false                   // scale isotrophically to target size
739*cdf0e10cSrcweir     },
740*cdf0e10cSrcweir     {
741*cdf0e10cSrcweir         animations::TransitionType::ROUNDRECTWIPE,
742*cdf0e10cSrcweir         animations::TransitionSubType::HORIZONTAL,
743*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
744*cdf0e10cSrcweir         // TODO(F2): Setup parameters
745*cdf0e10cSrcweir         0.0,                    // no rotation
746*cdf0e10cSrcweir         1.0,                    // no scaling
747*cdf0e10cSrcweir         1.0,                    // no scaling
748*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
749*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
750*cdf0e10cSrcweir         false                   // scale isotrophically to target size
751*cdf0e10cSrcweir     },
752*cdf0e10cSrcweir     {
753*cdf0e10cSrcweir         animations::TransitionType::ROUNDRECTWIPE,
754*cdf0e10cSrcweir         animations::TransitionSubType::VERTICAL,
755*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
756*cdf0e10cSrcweir         // TODO(F2): Setup parameters
757*cdf0e10cSrcweir         0.0,                    // no rotation
758*cdf0e10cSrcweir         1.0,                    // no scaling
759*cdf0e10cSrcweir         1.0,                    // no scaling
760*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
761*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
762*cdf0e10cSrcweir         false                   // scale isotrophically to target size
763*cdf0e10cSrcweir     },
764*cdf0e10cSrcweir 
765*cdf0e10cSrcweir     {
766*cdf0e10cSrcweir         // mapped to FigureWipe(star, points=4):
767*cdf0e10cSrcweir         animations::TransitionType::STARWIPE,
768*cdf0e10cSrcweir         animations::TransitionSubType::FOURPOINT, // (127)
769*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
770*cdf0e10cSrcweir         0.0, // no rotation
771*cdf0e10cSrcweir         1.0, // no scaling
772*cdf0e10cSrcweir         1.0, // no scaling
773*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
774*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
775*cdf0e10cSrcweir         false // scale isotrophically to target size
776*cdf0e10cSrcweir     },
777*cdf0e10cSrcweir     {
778*cdf0e10cSrcweir         // mapped to FigureWipe(star, points=5):
779*cdf0e10cSrcweir         animations::TransitionType::STARWIPE,
780*cdf0e10cSrcweir         animations::TransitionSubType::FIVEPOINT, // (128)
781*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
782*cdf0e10cSrcweir         0.0, // no rotation
783*cdf0e10cSrcweir         1.0, // no scaling
784*cdf0e10cSrcweir         1.0, // no scaling
785*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
786*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
787*cdf0e10cSrcweir         false // scale isotrophically to target size
788*cdf0e10cSrcweir     },
789*cdf0e10cSrcweir     {
790*cdf0e10cSrcweir         // mapped to FigureWipe(star, points=6):
791*cdf0e10cSrcweir         animations::TransitionType::STARWIPE,
792*cdf0e10cSrcweir         animations::TransitionSubType::SIXPOINT, // (129)
793*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
794*cdf0e10cSrcweir         0.0, // no rotation
795*cdf0e10cSrcweir         1.0, // no scaling
796*cdf0e10cSrcweir         1.0, // no scaling
797*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
798*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
799*cdf0e10cSrcweir         false // scale isotrophically to target size
800*cdf0e10cSrcweir     },
801*cdf0e10cSrcweir 
802*cdf0e10cSrcweir     {
803*cdf0e10cSrcweir         animations::TransitionType::MISCSHAPEWIPE,
804*cdf0e10cSrcweir         animations::TransitionSubType::HEART,
805*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
806*cdf0e10cSrcweir         // TODO(F2): Setup parameters
807*cdf0e10cSrcweir         0.0,                    // no rotation
808*cdf0e10cSrcweir         1.0,                    // no scaling
809*cdf0e10cSrcweir         1.0,                    // no scaling
810*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
811*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
812*cdf0e10cSrcweir         false                   // scale isotrophically to target size
813*cdf0e10cSrcweir     },
814*cdf0e10cSrcweir     {
815*cdf0e10cSrcweir         animations::TransitionType::MISCSHAPEWIPE,
816*cdf0e10cSrcweir         animations::TransitionSubType::KEYHOLE,
817*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
818*cdf0e10cSrcweir         // TODO(F2): Setup parameters
819*cdf0e10cSrcweir         0.0,                    // no rotation
820*cdf0e10cSrcweir         1.0,                    // no scaling
821*cdf0e10cSrcweir         1.0,                    // no scaling
822*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
823*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
824*cdf0e10cSrcweir         false                   // scale isotrophically to target size
825*cdf0e10cSrcweir     },
826*cdf0e10cSrcweir 
827*cdf0e10cSrcweir     {
828*cdf0e10cSrcweir         // mapped to ClockWipe:
829*cdf0e10cSrcweir         animations::TransitionType::CLOCKWIPE,
830*cdf0e10cSrcweir         animations::TransitionSubType::CLOCKWISETWELVE, // (201)
831*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
832*cdf0e10cSrcweir         0.0, // no rotation
833*cdf0e10cSrcweir         1.0, // no scaling
834*cdf0e10cSrcweir         1.0, // no scaling
835*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
836*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
837*cdf0e10cSrcweir         false // scale isotrophically to target size
838*cdf0e10cSrcweir     },
839*cdf0e10cSrcweir     {
840*cdf0e10cSrcweir         // mapped to ClockWipe:
841*cdf0e10cSrcweir         animations::TransitionType::CLOCKWIPE,
842*cdf0e10cSrcweir         animations::TransitionSubType::CLOCKWISETHREE, // (202)
843*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
844*cdf0e10cSrcweir         90.0, // rotation
845*cdf0e10cSrcweir         1.0, // no scaling
846*cdf0e10cSrcweir         1.0, // no scaling
847*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_ROTATE_180,
848*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
849*cdf0e10cSrcweir         false // scale isotrophically to target size
850*cdf0e10cSrcweir     },
851*cdf0e10cSrcweir     {
852*cdf0e10cSrcweir         // mapped to ClockWipe:
853*cdf0e10cSrcweir         animations::TransitionType::CLOCKWIPE,
854*cdf0e10cSrcweir         animations::TransitionSubType::CLOCKWISESIX, // (203)
855*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
856*cdf0e10cSrcweir         180.0, // rotation
857*cdf0e10cSrcweir         1.0, // no scaling
858*cdf0e10cSrcweir         1.0, // no scaling
859*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_ROTATE_180,
860*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
861*cdf0e10cSrcweir         false // scale isotrophically to target size
862*cdf0e10cSrcweir     },
863*cdf0e10cSrcweir     {
864*cdf0e10cSrcweir         // mapped to ClockWipe:
865*cdf0e10cSrcweir         animations::TransitionType::CLOCKWIPE,
866*cdf0e10cSrcweir         animations::TransitionSubType::CLOCKWISENINE, // (204)
867*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
868*cdf0e10cSrcweir         270.0, // rotation
869*cdf0e10cSrcweir         1.0, // no scaling
870*cdf0e10cSrcweir         1.0, // no scaling
871*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_ROTATE_180,
872*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
873*cdf0e10cSrcweir         false // scale isotrophically to target size
874*cdf0e10cSrcweir     },
875*cdf0e10cSrcweir 
876*cdf0e10cSrcweir     {
877*cdf0e10cSrcweir         // mapped to PinWheelWipe:
878*cdf0e10cSrcweir         animations::TransitionType::PINWHEELWIPE,
879*cdf0e10cSrcweir         animations::TransitionSubType::ONEBLADE,
880*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
881*cdf0e10cSrcweir         0.0, // no rotation
882*cdf0e10cSrcweir         1.0, // no scaling
883*cdf0e10cSrcweir         1.0, // no scaling
884*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
885*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
886*cdf0e10cSrcweir         true // scale isotrophically to target size, like ppt
887*cdf0e10cSrcweir     },
888*cdf0e10cSrcweir     {
889*cdf0e10cSrcweir         // mapped to PinWheelWipe:
890*cdf0e10cSrcweir         animations::TransitionType::PINWHEELWIPE,
891*cdf0e10cSrcweir         animations::TransitionSubType::TWOBLADEVERTICAL, // (205)
892*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
893*cdf0e10cSrcweir         0.0, // no rotation
894*cdf0e10cSrcweir         1.0, // no scaling
895*cdf0e10cSrcweir         1.0, // no scaling
896*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
897*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
898*cdf0e10cSrcweir         true // scale isotrophically to target size, like ppt
899*cdf0e10cSrcweir     },
900*cdf0e10cSrcweir     {
901*cdf0e10cSrcweir         // mapped to PinWheelWipe:
902*cdf0e10cSrcweir         animations::TransitionType::PINWHEELWIPE,
903*cdf0e10cSrcweir         animations::TransitionSubType::TWOBLADEHORIZONTAL, // (206)
904*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
905*cdf0e10cSrcweir         -90.0, // rotation
906*cdf0e10cSrcweir         1.0, // no scaling
907*cdf0e10cSrcweir         1.0, // no scaling
908*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_Y,
909*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
910*cdf0e10cSrcweir         true // scale isotrophically to target size, like ppt
911*cdf0e10cSrcweir     },
912*cdf0e10cSrcweir     {
913*cdf0e10cSrcweir         // mapped to PinWheelWipe:
914*cdf0e10cSrcweir         animations::TransitionType::PINWHEELWIPE,
915*cdf0e10cSrcweir         animations::TransitionSubType::THREEBLADE,
916*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
917*cdf0e10cSrcweir         0.0, // no rotation
918*cdf0e10cSrcweir         1.0, // no scaling
919*cdf0e10cSrcweir         1.0, // no scaling
920*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
921*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
922*cdf0e10cSrcweir         true // scale isotrophically to target size, like ppt
923*cdf0e10cSrcweir     },
924*cdf0e10cSrcweir     {
925*cdf0e10cSrcweir         // mapped to PinWheelWipe:
926*cdf0e10cSrcweir         animations::TransitionType::PINWHEELWIPE,
927*cdf0e10cSrcweir         animations::TransitionSubType::FOURBLADE, // (207)
928*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
929*cdf0e10cSrcweir         0.0, // no rotation
930*cdf0e10cSrcweir         1.0, // no scaling
931*cdf0e10cSrcweir         1.0, // no scaling
932*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
933*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
934*cdf0e10cSrcweir         true // scale isotrophically to target size, like ppt
935*cdf0e10cSrcweir     },
936*cdf0e10cSrcweir     {
937*cdf0e10cSrcweir         // mapped to PinWheelWipe:
938*cdf0e10cSrcweir         animations::TransitionType::PINWHEELWIPE,
939*cdf0e10cSrcweir         animations::TransitionSubType::EIGHTBLADE,
940*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
941*cdf0e10cSrcweir         0.0, // no rotation
942*cdf0e10cSrcweir         1.0, // no scaling
943*cdf0e10cSrcweir         1.0, // no scaling
944*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
945*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
946*cdf0e10cSrcweir         true // scale isotrophically to target size, like ppt
947*cdf0e10cSrcweir     },
948*cdf0e10cSrcweir 
949*cdf0e10cSrcweir     {
950*cdf0e10cSrcweir         // mapped to SweepWipe (center=true, single=true):
951*cdf0e10cSrcweir         animations::TransitionType::SINGLESWEEPWIPE,
952*cdf0e10cSrcweir         animations::TransitionSubType::CLOCKWISETOP, // (221)
953*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
954*cdf0e10cSrcweir         0.0, // no rotation
955*cdf0e10cSrcweir         1.0, // no scaling
956*cdf0e10cSrcweir         1.0, // no scaling
957*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
958*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
959*cdf0e10cSrcweir         false // scale isotrophically to target size
960*cdf0e10cSrcweir     },
961*cdf0e10cSrcweir     {
962*cdf0e10cSrcweir         // mapped to SweepWipe (center=true, single=true):
963*cdf0e10cSrcweir         animations::TransitionType::SINGLESWEEPWIPE,
964*cdf0e10cSrcweir         animations::TransitionSubType::CLOCKWISERIGHT, // (222)
965*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
966*cdf0e10cSrcweir         90.0, // rotation
967*cdf0e10cSrcweir         1.0, // no scaling
968*cdf0e10cSrcweir         1.0, // no scaling
969*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
970*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
971*cdf0e10cSrcweir         false // scale isotrophically to target size
972*cdf0e10cSrcweir     },
973*cdf0e10cSrcweir     {
974*cdf0e10cSrcweir         // mapped to SweepWipe (center=true, single=true):
975*cdf0e10cSrcweir         animations::TransitionType::SINGLESWEEPWIPE,
976*cdf0e10cSrcweir         animations::TransitionSubType::CLOCKWISEBOTTOM, // (223)
977*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
978*cdf0e10cSrcweir         180.0, // rotation
979*cdf0e10cSrcweir         1.0, // no scaling
980*cdf0e10cSrcweir         1.0, // no scaling
981*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
982*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
983*cdf0e10cSrcweir         false // scale isotrophically to target size
984*cdf0e10cSrcweir     },
985*cdf0e10cSrcweir     {
986*cdf0e10cSrcweir         // mapped to SweepWipe (center=true, single=true):
987*cdf0e10cSrcweir         animations::TransitionType::SINGLESWEEPWIPE,
988*cdf0e10cSrcweir         animations::TransitionSubType::CLOCKWISELEFT, // (224)
989*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
990*cdf0e10cSrcweir         270.0, // rotation
991*cdf0e10cSrcweir         1.0, // no scaling
992*cdf0e10cSrcweir         1.0, // no scaling
993*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
994*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
995*cdf0e10cSrcweir         false // scale isotrophically to target size
996*cdf0e10cSrcweir     },
997*cdf0e10cSrcweir     {
998*cdf0e10cSrcweir         // mapped to SweepWipe (center=false, single=true):
999*cdf0e10cSrcweir         animations::TransitionType::SINGLESWEEPWIPE,
1000*cdf0e10cSrcweir         animations::TransitionSubType::CLOCKWISETOPLEFT, // (241)
1001*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1002*cdf0e10cSrcweir         0.0, // no rotation
1003*cdf0e10cSrcweir         1.0, // no scaling
1004*cdf0e10cSrcweir         1.0, // no scaling
1005*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1006*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1007*cdf0e10cSrcweir         false // scale isotrophically to target size
1008*cdf0e10cSrcweir     },
1009*cdf0e10cSrcweir     {
1010*cdf0e10cSrcweir         // mapped to SweepWipe (center=false, single=true, flipOnYAxis=true):
1011*cdf0e10cSrcweir         animations::TransitionType::SINGLESWEEPWIPE,
1012*cdf0e10cSrcweir         animations::TransitionSubType::COUNTERCLOCKWISEBOTTOMLEFT, // (242)
1013*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1014*cdf0e10cSrcweir         180.0, // rotation
1015*cdf0e10cSrcweir         1.0, // no scaling
1016*cdf0e10cSrcweir         1.0, // no scaling
1017*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1018*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1019*cdf0e10cSrcweir         false // scale isotrophically to target size
1020*cdf0e10cSrcweir     },
1021*cdf0e10cSrcweir     {
1022*cdf0e10cSrcweir         // mapped to SweepWipe (center=false, single=true):
1023*cdf0e10cSrcweir         animations::TransitionType::SINGLESWEEPWIPE,
1024*cdf0e10cSrcweir         animations::TransitionSubType::CLOCKWISEBOTTOMRIGHT, // (243)
1025*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1026*cdf0e10cSrcweir         180.0, // rotation
1027*cdf0e10cSrcweir         1.0, // no scaling
1028*cdf0e10cSrcweir         1.0, // no scaling
1029*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1030*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1031*cdf0e10cSrcweir         false // scale isotrophically to target size
1032*cdf0e10cSrcweir     },
1033*cdf0e10cSrcweir     {
1034*cdf0e10cSrcweir         // mapped to SweepWipe (center=false, single=true, flipOnYAxis=true):
1035*cdf0e10cSrcweir         animations::TransitionType::SINGLESWEEPWIPE,
1036*cdf0e10cSrcweir         animations::TransitionSubType::COUNTERCLOCKWISETOPRIGHT, // (244)
1037*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1038*cdf0e10cSrcweir         0.0, // no rotation
1039*cdf0e10cSrcweir         1.0, // no scaling
1040*cdf0e10cSrcweir         1.0, // no scaling
1041*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1042*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1043*cdf0e10cSrcweir         false // scale isotrophically to target size
1044*cdf0e10cSrcweir     },
1045*cdf0e10cSrcweir 
1046*cdf0e10cSrcweir     {
1047*cdf0e10cSrcweir         // mapped to FanWipe(center=true):
1048*cdf0e10cSrcweir         animations::TransitionType::FANWIPE,
1049*cdf0e10cSrcweir         animations::TransitionSubType::CENTERTOP, // (211)
1050*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1051*cdf0e10cSrcweir         0.0, // no rotation
1052*cdf0e10cSrcweir         1.0, // no scaling
1053*cdf0e10cSrcweir         1.0, // no scaling
1054*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_Y,
1055*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1056*cdf0e10cSrcweir         false // scale isotrophically to target size
1057*cdf0e10cSrcweir     },
1058*cdf0e10cSrcweir     {
1059*cdf0e10cSrcweir         // mapped to FanWipe(center=true):
1060*cdf0e10cSrcweir         animations::TransitionType::FANWIPE,
1061*cdf0e10cSrcweir         animations::TransitionSubType::CENTERRIGHT, // (212)
1062*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1063*cdf0e10cSrcweir         90.0, // rotation
1064*cdf0e10cSrcweir         1.0, // no scaling
1065*cdf0e10cSrcweir         1.0, // no scaling
1066*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
1067*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1068*cdf0e10cSrcweir         false // scale isotrophically to target size
1069*cdf0e10cSrcweir     },
1070*cdf0e10cSrcweir     {
1071*cdf0e10cSrcweir         // mapped to FanWipe:
1072*cdf0e10cSrcweir         animations::TransitionType::FANWIPE,
1073*cdf0e10cSrcweir         animations::TransitionSubType::TOP, // (231)
1074*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1075*cdf0e10cSrcweir         180.0, // rotation
1076*cdf0e10cSrcweir         1.0, // no scaling
1077*cdf0e10cSrcweir         1.0, // no scaling
1078*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_Y,
1079*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1080*cdf0e10cSrcweir         false // scale isotrophically to target size
1081*cdf0e10cSrcweir     },
1082*cdf0e10cSrcweir     {
1083*cdf0e10cSrcweir         // mapped to FanWipe:
1084*cdf0e10cSrcweir         animations::TransitionType::FANWIPE,
1085*cdf0e10cSrcweir         animations::TransitionSubType::RIGHT, // (232)
1086*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1087*cdf0e10cSrcweir         -90.0, // rotation
1088*cdf0e10cSrcweir         1.0, // no scaling
1089*cdf0e10cSrcweir         1.0, // no scaling
1090*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
1091*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1092*cdf0e10cSrcweir         false // scale isotrophically to target size
1093*cdf0e10cSrcweir     },
1094*cdf0e10cSrcweir     {
1095*cdf0e10cSrcweir         // mapped to FanWipe:
1096*cdf0e10cSrcweir         animations::TransitionType::FANWIPE,
1097*cdf0e10cSrcweir         animations::TransitionSubType::BOTTOM, // (233)
1098*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1099*cdf0e10cSrcweir         0.0, // no rotation
1100*cdf0e10cSrcweir         1.0, // no scaling
1101*cdf0e10cSrcweir         1.0, // no scaling
1102*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_Y,
1103*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1104*cdf0e10cSrcweir         false // scale isotrophically to target size
1105*cdf0e10cSrcweir     },
1106*cdf0e10cSrcweir     {
1107*cdf0e10cSrcweir         // mapped to FanWipe:
1108*cdf0e10cSrcweir         animations::TransitionType::FANWIPE,
1109*cdf0e10cSrcweir         animations::TransitionSubType::LEFT, // (234)
1110*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1111*cdf0e10cSrcweir         90.0, // rotation
1112*cdf0e10cSrcweir         1.0, // no scaling
1113*cdf0e10cSrcweir         1.0, // no scaling
1114*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
1115*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1116*cdf0e10cSrcweir         false // scale isotrophically to target size
1117*cdf0e10cSrcweir     },
1118*cdf0e10cSrcweir 
1119*cdf0e10cSrcweir     {
1120*cdf0e10cSrcweir         // mapped to FanWipe(center=true, single=false, fanIn=false):
1121*cdf0e10cSrcweir         animations::TransitionType::DOUBLEFANWIPE,
1122*cdf0e10cSrcweir         animations::TransitionSubType::FANOUTVERTICAL, // (213)
1123*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1124*cdf0e10cSrcweir         0.0, // no rotation
1125*cdf0e10cSrcweir         1.0, // no scaling
1126*cdf0e10cSrcweir         1.0, // no scaling
1127*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1128*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1129*cdf0e10cSrcweir         false // scale isotrophically to target size
1130*cdf0e10cSrcweir     },
1131*cdf0e10cSrcweir     {
1132*cdf0e10cSrcweir         // mapped to FanWipe(center=true, single=false, fanIn=false):
1133*cdf0e10cSrcweir         animations::TransitionType::DOUBLEFANWIPE,
1134*cdf0e10cSrcweir         animations::TransitionSubType::FANOUTHORIZONTAL, // (214)
1135*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1136*cdf0e10cSrcweir         90.0, // rotation
1137*cdf0e10cSrcweir         1.0, // no scaling
1138*cdf0e10cSrcweir         1.0, // no scaling
1139*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1140*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1141*cdf0e10cSrcweir         false // scale isotrophically to target size
1142*cdf0e10cSrcweir     },
1143*cdf0e10cSrcweir     {
1144*cdf0e10cSrcweir         // mapped to FanWipe(center=true, single=false, fanIn=true):
1145*cdf0e10cSrcweir         animations::TransitionType::DOUBLEFANWIPE,
1146*cdf0e10cSrcweir         animations::TransitionSubType::FANINVERTICAL, // (235)
1147*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1148*cdf0e10cSrcweir         0.0, // no rotation
1149*cdf0e10cSrcweir         1.0, // no scaling
1150*cdf0e10cSrcweir         1.0, // no scaling
1151*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1152*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1153*cdf0e10cSrcweir         false // scale isotrophically to target size
1154*cdf0e10cSrcweir     },
1155*cdf0e10cSrcweir     {
1156*cdf0e10cSrcweir         // mapped to FanWipe(center=true, single=false, fanIn=true):
1157*cdf0e10cSrcweir         animations::TransitionType::DOUBLEFANWIPE,
1158*cdf0e10cSrcweir         animations::TransitionSubType::FANINHORIZONTAL, // (236)
1159*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1160*cdf0e10cSrcweir         90.0, // rotation
1161*cdf0e10cSrcweir         1.0, // no scaling
1162*cdf0e10cSrcweir         1.0, // no scaling
1163*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1164*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1165*cdf0e10cSrcweir         false // scale isotrophically to target size
1166*cdf0e10cSrcweir     },
1167*cdf0e10cSrcweir 
1168*cdf0e10cSrcweir     {
1169*cdf0e10cSrcweir         // mapped to SweepWipe (center=true, single=false):
1170*cdf0e10cSrcweir         animations::TransitionType::DOUBLESWEEPWIPE,
1171*cdf0e10cSrcweir         animations::TransitionSubType::PARALLELVERTICAL, // (225)
1172*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1173*cdf0e10cSrcweir         0.0, // no rotation
1174*cdf0e10cSrcweir         1.0, // no scaling
1175*cdf0e10cSrcweir         1.0, // no scaling
1176*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1177*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1178*cdf0e10cSrcweir         false // scale isotrophically to target size
1179*cdf0e10cSrcweir     },
1180*cdf0e10cSrcweir     {
1181*cdf0e10cSrcweir         // mapped to SweepWipe (center=true, single=false):
1182*cdf0e10cSrcweir         animations::TransitionType::DOUBLESWEEPWIPE,
1183*cdf0e10cSrcweir         animations::TransitionSubType::PARALLELDIAGONAL, // (226)
1184*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1185*cdf0e10cSrcweir         -90.0, // rotation
1186*cdf0e10cSrcweir         1.0, // no scaling
1187*cdf0e10cSrcweir         1.0, // no scaling
1188*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1189*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1190*cdf0e10cSrcweir         false // scale isotrophically to target size
1191*cdf0e10cSrcweir     },
1192*cdf0e10cSrcweir     {
1193*cdf0e10cSrcweir         // mapped to SweepWipe (center=true, single=false,
1194*cdf0e10cSrcweir         //                      oppositeVertical=true):
1195*cdf0e10cSrcweir         animations::TransitionType::DOUBLESWEEPWIPE,
1196*cdf0e10cSrcweir         animations::TransitionSubType::OPPOSITEVERTICAL, // (227)
1197*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1198*cdf0e10cSrcweir         0.0, // no rotation
1199*cdf0e10cSrcweir         1.0, // no scaling
1200*cdf0e10cSrcweir         1.0, // no scaling
1201*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1202*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1203*cdf0e10cSrcweir         false // scale isotrophically to target size
1204*cdf0e10cSrcweir     },
1205*cdf0e10cSrcweir     {
1206*cdf0e10cSrcweir         // mapped to SweepWipe (center=true, single=false,
1207*cdf0e10cSrcweir         //                      oppositeVertical=true):
1208*cdf0e10cSrcweir         animations::TransitionType::DOUBLESWEEPWIPE,
1209*cdf0e10cSrcweir         animations::TransitionSubType::OPPOSITEHORIZONTAL,
1210*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1211*cdf0e10cSrcweir         -90.0, // rotation
1212*cdf0e10cSrcweir         1.0, // no scaling
1213*cdf0e10cSrcweir         1.0, // no scaling
1214*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1215*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1216*cdf0e10cSrcweir         false // scale isotrophically to target size
1217*cdf0e10cSrcweir     },
1218*cdf0e10cSrcweir     {
1219*cdf0e10cSrcweir         // mapped to SweepWipe (center=false, single=false):
1220*cdf0e10cSrcweir         animations::TransitionType::DOUBLESWEEPWIPE,
1221*cdf0e10cSrcweir         animations::TransitionSubType::PARALLELDIAGONALTOPLEFT,
1222*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1223*cdf0e10cSrcweir         0.0, // no rotation
1224*cdf0e10cSrcweir         1.0, // no scaling
1225*cdf0e10cSrcweir         1.0, // no scaling
1226*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1227*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1228*cdf0e10cSrcweir         false // scale isotrophically to target size
1229*cdf0e10cSrcweir     },
1230*cdf0e10cSrcweir     {
1231*cdf0e10cSrcweir         // mapped to SweepWipe (center=false, single=false):
1232*cdf0e10cSrcweir         animations::TransitionType::DOUBLESWEEPWIPE,
1233*cdf0e10cSrcweir         animations::TransitionSubType::PARALLELDIAGONALBOTTOMLEFT,
1234*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1235*cdf0e10cSrcweir         -90.0, // rotation
1236*cdf0e10cSrcweir         1.0, // no scaling
1237*cdf0e10cSrcweir         1.0, // no scaling
1238*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1239*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1240*cdf0e10cSrcweir         false // scale isotrophically to target size
1241*cdf0e10cSrcweir     },
1242*cdf0e10cSrcweir 
1243*cdf0e10cSrcweir     {
1244*cdf0e10cSrcweir         animations::TransitionType::SALOONDOORWIPE,
1245*cdf0e10cSrcweir         animations::TransitionSubType::TOP, // (251)
1246*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1247*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1248*cdf0e10cSrcweir         0.0,                    // no rotation
1249*cdf0e10cSrcweir         1.0,                    // no scaling
1250*cdf0e10cSrcweir         1.0,                    // no scaling
1251*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_Y,
1252*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1253*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1254*cdf0e10cSrcweir     },
1255*cdf0e10cSrcweir     {
1256*cdf0e10cSrcweir         animations::TransitionType::SALOONDOORWIPE,
1257*cdf0e10cSrcweir         animations::TransitionSubType::LEFT, // (252)
1258*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1259*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1260*cdf0e10cSrcweir         0.0,                    // no rotation
1261*cdf0e10cSrcweir         1.0,                    // no scaling
1262*cdf0e10cSrcweir         1.0,                    // no scaling
1263*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
1264*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1265*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1266*cdf0e10cSrcweir     },
1267*cdf0e10cSrcweir     {
1268*cdf0e10cSrcweir         animations::TransitionType::SALOONDOORWIPE,
1269*cdf0e10cSrcweir         animations::TransitionSubType::BOTTOM, // (253)
1270*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1271*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1272*cdf0e10cSrcweir         0.0,                    // no rotation
1273*cdf0e10cSrcweir         1.0,                    // no scaling
1274*cdf0e10cSrcweir         1.0,                    // no scaling
1275*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_Y,
1276*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1277*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1278*cdf0e10cSrcweir     },
1279*cdf0e10cSrcweir     {
1280*cdf0e10cSrcweir         animations::TransitionType::SALOONDOORWIPE,
1281*cdf0e10cSrcweir         animations::TransitionSubType::RIGHT, // (254)
1282*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1283*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1284*cdf0e10cSrcweir         0.0,                    // no rotation
1285*cdf0e10cSrcweir         1.0,                    // no scaling
1286*cdf0e10cSrcweir         1.0,                    // no scaling
1287*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
1288*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1289*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1290*cdf0e10cSrcweir     },
1291*cdf0e10cSrcweir     {
1292*cdf0e10cSrcweir         animations::TransitionType::WINDSHIELDWIPE,
1293*cdf0e10cSrcweir         animations::TransitionSubType::RIGHT,
1294*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1295*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1296*cdf0e10cSrcweir         0.0,                    // no rotation
1297*cdf0e10cSrcweir         1.0,                    // no scaling
1298*cdf0e10cSrcweir         1.0,                    // no scaling
1299*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
1300*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1301*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1302*cdf0e10cSrcweir     },
1303*cdf0e10cSrcweir     {
1304*cdf0e10cSrcweir         animations::TransitionType::WINDSHIELDWIPE,
1305*cdf0e10cSrcweir         animations::TransitionSubType::UP,
1306*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1307*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1308*cdf0e10cSrcweir         0.0,                    // no rotation
1309*cdf0e10cSrcweir         1.0,                    // no scaling
1310*cdf0e10cSrcweir         1.0,                    // no scaling
1311*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_Y,
1312*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1313*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1314*cdf0e10cSrcweir     },
1315*cdf0e10cSrcweir     {
1316*cdf0e10cSrcweir         animations::TransitionType::WINDSHIELDWIPE,
1317*cdf0e10cSrcweir         animations::TransitionSubType::VERTICAL,
1318*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1319*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1320*cdf0e10cSrcweir         0.0,                    // no rotation
1321*cdf0e10cSrcweir         1.0,                    // no scaling
1322*cdf0e10cSrcweir         1.0,                    // no scaling
1323*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1324*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1325*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1326*cdf0e10cSrcweir     },
1327*cdf0e10cSrcweir     {
1328*cdf0e10cSrcweir         animations::TransitionType::WINDSHIELDWIPE,
1329*cdf0e10cSrcweir         animations::TransitionSubType::HORIZONTAL,
1330*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1331*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1332*cdf0e10cSrcweir         0.0,                    // no rotation
1333*cdf0e10cSrcweir         1.0,                    // no scaling
1334*cdf0e10cSrcweir         1.0,                    // no scaling
1335*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1336*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1337*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1338*cdf0e10cSrcweir     },
1339*cdf0e10cSrcweir 
1340*cdf0e10cSrcweir     {
1341*cdf0e10cSrcweir         // mapped to SnakeWipe:
1342*cdf0e10cSrcweir         animations::TransitionType::SNAKEWIPE,
1343*cdf0e10cSrcweir         animations::TransitionSubType::TOPLEFTHORIZONTAL, // (301)
1344*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1345*cdf0e10cSrcweir         0.0, // no rotation
1346*cdf0e10cSrcweir         1.0, // no scaling
1347*cdf0e10cSrcweir         1.0, // no scaling
1348*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_ROTATE_180,
1349*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1350*cdf0e10cSrcweir         false // scale isotrophically to target size
1351*cdf0e10cSrcweir     },
1352*cdf0e10cSrcweir     {
1353*cdf0e10cSrcweir         // mapped to SnakeWipe(flipOnYAxis=true):
1354*cdf0e10cSrcweir         animations::TransitionType::SNAKEWIPE,
1355*cdf0e10cSrcweir         animations::TransitionSubType::TOPLEFTVERTICAL, // (302)
1356*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1357*cdf0e10cSrcweir         -90.0, // rotation
1358*cdf0e10cSrcweir         1.0, // no scaling
1359*cdf0e10cSrcweir         1.0, // no scaling
1360*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_ROTATE_180,
1361*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1362*cdf0e10cSrcweir         false // scale isotrophically to target size
1363*cdf0e10cSrcweir     },
1364*cdf0e10cSrcweir     {
1365*cdf0e10cSrcweir         // mapped to SnakeWipe(diagonal=true):
1366*cdf0e10cSrcweir         animations::TransitionType::SNAKEWIPE,
1367*cdf0e10cSrcweir         animations::TransitionSubType::TOPLEFTDIAGONAL, // (303)
1368*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1369*cdf0e10cSrcweir         0.0, // no rotation
1370*cdf0e10cSrcweir         1.0, // no scaling
1371*cdf0e10cSrcweir         1.0, // no scaling
1372*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_ROTATE_180,
1373*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1374*cdf0e10cSrcweir         false // scale isotrophically to target size
1375*cdf0e10cSrcweir     },
1376*cdf0e10cSrcweir     {
1377*cdf0e10cSrcweir         // mapped to SnakeWipe(diagonal=true, flipOnYAxis=true):
1378*cdf0e10cSrcweir         animations::TransitionType::SNAKEWIPE,
1379*cdf0e10cSrcweir         animations::TransitionSubType::TOPRIGHTDIAGONAL, // (304)
1380*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1381*cdf0e10cSrcweir         0.0, // no rotation
1382*cdf0e10cSrcweir         1.0, // no scaling
1383*cdf0e10cSrcweir         1.0, // no scaling
1384*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_ROTATE_180,
1385*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1386*cdf0e10cSrcweir         false // scale isotrophically to target size
1387*cdf0e10cSrcweir     },
1388*cdf0e10cSrcweir     {
1389*cdf0e10cSrcweir         // mapped to SnakeWipe(diagonal=true):
1390*cdf0e10cSrcweir         animations::TransitionType::SNAKEWIPE,
1391*cdf0e10cSrcweir         animations::TransitionSubType::BOTTOMRIGHTDIAGONAL, // (305)
1392*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1393*cdf0e10cSrcweir         180.0, // rotation
1394*cdf0e10cSrcweir         1.0, // no scaling
1395*cdf0e10cSrcweir         1.0, // no scaling
1396*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_ROTATE_180,
1397*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1398*cdf0e10cSrcweir         false // scale isotrophically to target size
1399*cdf0e10cSrcweir     },
1400*cdf0e10cSrcweir     {
1401*cdf0e10cSrcweir         // mapped to SnakeWipe(diagonal=true, flipOnYAxis=true):
1402*cdf0e10cSrcweir         animations::TransitionType::SNAKEWIPE,
1403*cdf0e10cSrcweir         animations::TransitionSubType::BOTTOMLEFTDIAGONAL, // (306)
1404*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1405*cdf0e10cSrcweir         180.0, // rotation
1406*cdf0e10cSrcweir         1.0, // no scaling
1407*cdf0e10cSrcweir         1.0, // no scaling
1408*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_ROTATE_180,
1409*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1410*cdf0e10cSrcweir         false // scale isotrophically to target size
1411*cdf0e10cSrcweir     },
1412*cdf0e10cSrcweir 
1413*cdf0e10cSrcweir     {
1414*cdf0e10cSrcweir         // mapped to SpiralWipe:
1415*cdf0e10cSrcweir         animations::TransitionType::SPIRALWIPE,
1416*cdf0e10cSrcweir         animations::TransitionSubType::TOPLEFTCLOCKWISE, // (310)
1417*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1418*cdf0e10cSrcweir         0.0, // no rotation
1419*cdf0e10cSrcweir         1.0, // no scaling
1420*cdf0e10cSrcweir         1.0, // no scaling
1421*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1422*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1423*cdf0e10cSrcweir         false // scale isotrophically to target size
1424*cdf0e10cSrcweir     },
1425*cdf0e10cSrcweir     {
1426*cdf0e10cSrcweir         // mapped to SpiralWipe:
1427*cdf0e10cSrcweir         animations::TransitionType::SPIRALWIPE,
1428*cdf0e10cSrcweir         animations::TransitionSubType::TOPRIGHTCLOCKWISE, // (311)
1429*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1430*cdf0e10cSrcweir         90.0, // rotation
1431*cdf0e10cSrcweir         1.0, // no scaling
1432*cdf0e10cSrcweir         1.0, // no scaling
1433*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1434*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1435*cdf0e10cSrcweir         false // scale isotrophically to target size
1436*cdf0e10cSrcweir     },
1437*cdf0e10cSrcweir     {
1438*cdf0e10cSrcweir         // mapped to SpiralWipe:
1439*cdf0e10cSrcweir         animations::TransitionType::SPIRALWIPE,
1440*cdf0e10cSrcweir         animations::TransitionSubType::BOTTOMRIGHTCLOCKWISE, // (312)
1441*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1442*cdf0e10cSrcweir         180.0, // rotation
1443*cdf0e10cSrcweir         1.0, // no scaling
1444*cdf0e10cSrcweir         1.0, // no scaling
1445*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1446*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1447*cdf0e10cSrcweir         false // scale isotrophically to target size
1448*cdf0e10cSrcweir     },
1449*cdf0e10cSrcweir     {
1450*cdf0e10cSrcweir         // mapped to SpiralWipe:
1451*cdf0e10cSrcweir         animations::TransitionType::SPIRALWIPE,
1452*cdf0e10cSrcweir         animations::TransitionSubType::BOTTOMLEFTCLOCKWISE, // (313)
1453*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1454*cdf0e10cSrcweir         270.0, // rotation
1455*cdf0e10cSrcweir         1.0, // no scaling
1456*cdf0e10cSrcweir         1.0, // no scaling
1457*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1458*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1459*cdf0e10cSrcweir         false // scale isotrophically to target size
1460*cdf0e10cSrcweir     },
1461*cdf0e10cSrcweir     {
1462*cdf0e10cSrcweir         // mapped to SpiralWipe(flipOnYAxis=true):
1463*cdf0e10cSrcweir         animations::TransitionType::SPIRALWIPE,
1464*cdf0e10cSrcweir         animations::TransitionSubType::TOPLEFTCOUNTERCLOCKWISE, // (314)
1465*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1466*cdf0e10cSrcweir         90.0, // rotation
1467*cdf0e10cSrcweir         1.0, // no scaling
1468*cdf0e10cSrcweir         1.0, // no scaling
1469*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1470*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1471*cdf0e10cSrcweir         false // scale isotrophically to target size
1472*cdf0e10cSrcweir     },
1473*cdf0e10cSrcweir     {
1474*cdf0e10cSrcweir         // mapped to SpiralWipe(flipOnYAxis=true):
1475*cdf0e10cSrcweir         animations::TransitionType::SPIRALWIPE,
1476*cdf0e10cSrcweir         animations::TransitionSubType::TOPRIGHTCOUNTERCLOCKWISE, // (315)
1477*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1478*cdf0e10cSrcweir         180.0, // rotation
1479*cdf0e10cSrcweir         1.0, // no scaling
1480*cdf0e10cSrcweir         1.0, // no scaling
1481*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1482*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1483*cdf0e10cSrcweir         false // scale isotrophically to target size
1484*cdf0e10cSrcweir     },
1485*cdf0e10cSrcweir     {
1486*cdf0e10cSrcweir         // mapped to SpiralWipe(flipOnYAxis=true):
1487*cdf0e10cSrcweir         animations::TransitionType::SPIRALWIPE,
1488*cdf0e10cSrcweir         animations::TransitionSubType::BOTTOMRIGHTCOUNTERCLOCKWISE, // (316)
1489*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1490*cdf0e10cSrcweir         270.0, // rotation
1491*cdf0e10cSrcweir         1.0, // no scaling
1492*cdf0e10cSrcweir         1.0, // no scaling
1493*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1494*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1495*cdf0e10cSrcweir         false // scale isotrophically to target size
1496*cdf0e10cSrcweir     },
1497*cdf0e10cSrcweir     {
1498*cdf0e10cSrcweir         // mapped to SpiralWipe(flipOnYAxis=true):
1499*cdf0e10cSrcweir         animations::TransitionType::SPIRALWIPE,
1500*cdf0e10cSrcweir         animations::TransitionSubType::BOTTOMLEFTCOUNTERCLOCKWISE, // (317)
1501*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1502*cdf0e10cSrcweir         0.0, // no rotation
1503*cdf0e10cSrcweir         1.0, // no scaling
1504*cdf0e10cSrcweir         1.0, // no scaling
1505*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT,
1506*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1507*cdf0e10cSrcweir         false // scale isotrophically to target size
1508*cdf0e10cSrcweir     },
1509*cdf0e10cSrcweir 
1510*cdf0e10cSrcweir     {
1511*cdf0e10cSrcweir         // mapped to ParallelSnakesWipe:
1512*cdf0e10cSrcweir         animations::TransitionType::PARALLELSNAKESWIPE,
1513*cdf0e10cSrcweir         animations::TransitionSubType::VERTICALTOPSAME,
1514*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1515*cdf0e10cSrcweir         0.0, // no rotation
1516*cdf0e10cSrcweir         1.0, // no scaling
1517*cdf0e10cSrcweir         1.0, // no scaling
1518*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1519*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1520*cdf0e10cSrcweir         false // scale isotrophically to target size
1521*cdf0e10cSrcweir     },
1522*cdf0e10cSrcweir     {
1523*cdf0e10cSrcweir         // mapped to ParallelSnakesWipe:
1524*cdf0e10cSrcweir         animations::TransitionType::PARALLELSNAKESWIPE,
1525*cdf0e10cSrcweir         animations::TransitionSubType::VERTICALBOTTOMSAME,
1526*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1527*cdf0e10cSrcweir         180.0, // rotation
1528*cdf0e10cSrcweir         1.0, // no scaling
1529*cdf0e10cSrcweir         1.0, // no scaling
1530*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1531*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1532*cdf0e10cSrcweir         false // scale isotrophically to target size
1533*cdf0e10cSrcweir     },
1534*cdf0e10cSrcweir     {
1535*cdf0e10cSrcweir         // mapped to ParallelSnakesWipe (opposite=true):
1536*cdf0e10cSrcweir         animations::TransitionType::PARALLELSNAKESWIPE,
1537*cdf0e10cSrcweir         animations::TransitionSubType::VERTICALTOPLEFTOPPOSITE,
1538*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1539*cdf0e10cSrcweir         0.0, // no rotation
1540*cdf0e10cSrcweir         1.0, // no scaling
1541*cdf0e10cSrcweir         1.0, // no scaling
1542*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1543*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1544*cdf0e10cSrcweir         false // scale isotrophically to target size
1545*cdf0e10cSrcweir     },
1546*cdf0e10cSrcweir     {
1547*cdf0e10cSrcweir         // mapped to ParallelSnakesWipe (flipOnYAxis=true, opposite=true):
1548*cdf0e10cSrcweir         animations::TransitionType::PARALLELSNAKESWIPE,
1549*cdf0e10cSrcweir         animations::TransitionSubType::VERTICALBOTTOMLEFTOPPOSITE,
1550*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1551*cdf0e10cSrcweir         0.0, // no rotation
1552*cdf0e10cSrcweir         1.0, // no scaling
1553*cdf0e10cSrcweir         1.0, // no scaling
1554*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1555*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1556*cdf0e10cSrcweir         false // scale isotrophically to target size
1557*cdf0e10cSrcweir     },
1558*cdf0e10cSrcweir     {
1559*cdf0e10cSrcweir         // mapped to ParallelSnakesWipe:
1560*cdf0e10cSrcweir         animations::TransitionType::PARALLELSNAKESWIPE,
1561*cdf0e10cSrcweir         animations::TransitionSubType::HORIZONTALLEFTSAME,
1562*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1563*cdf0e10cSrcweir         -90.0, // rotation
1564*cdf0e10cSrcweir         1.0, // no scaling
1565*cdf0e10cSrcweir         1.0, // no scaling
1566*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1567*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1568*cdf0e10cSrcweir         false // scale isotrophically to target size
1569*cdf0e10cSrcweir     },
1570*cdf0e10cSrcweir     {
1571*cdf0e10cSrcweir         // mapped to ParallelSnakesWipe:
1572*cdf0e10cSrcweir         animations::TransitionType::PARALLELSNAKESWIPE,
1573*cdf0e10cSrcweir         animations::TransitionSubType::HORIZONTALRIGHTSAME,
1574*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1575*cdf0e10cSrcweir         90.0, // rotation
1576*cdf0e10cSrcweir         1.0, // no scaling
1577*cdf0e10cSrcweir         1.0, // no scaling
1578*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1579*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1580*cdf0e10cSrcweir         false // scale isotrophically to target size
1581*cdf0e10cSrcweir     },
1582*cdf0e10cSrcweir     {
1583*cdf0e10cSrcweir         // mapped to ParallelSnakesWipe (flipOnYAxis=true, opposite=true):
1584*cdf0e10cSrcweir         animations::TransitionType::PARALLELSNAKESWIPE,
1585*cdf0e10cSrcweir         animations::TransitionSubType::HORIZONTALTOPLEFTOPPOSITE,
1586*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1587*cdf0e10cSrcweir         -90.0, // rotation
1588*cdf0e10cSrcweir         1.0, // no scaling
1589*cdf0e10cSrcweir         1.0, // no scaling
1590*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1591*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1592*cdf0e10cSrcweir         false // scale isotrophically to target size
1593*cdf0e10cSrcweir     },
1594*cdf0e10cSrcweir     {
1595*cdf0e10cSrcweir         // mapped to ParallelSnakesWipe (opposite=true):
1596*cdf0e10cSrcweir         animations::TransitionType::PARALLELSNAKESWIPE,
1597*cdf0e10cSrcweir         animations::TransitionSubType::HORIZONTALTOPRIGHTOPPOSITE,
1598*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1599*cdf0e10cSrcweir         -90.0, // rotation
1600*cdf0e10cSrcweir         1.0, // no scaling
1601*cdf0e10cSrcweir         1.0, // no scaling
1602*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1603*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1604*cdf0e10cSrcweir         false // scale isotrophically to target size
1605*cdf0e10cSrcweir     },
1606*cdf0e10cSrcweir     {
1607*cdf0e10cSrcweir         // mapped to ParallelSnakesWipe (diagonal=true, opposite=true):
1608*cdf0e10cSrcweir         animations::TransitionType::PARALLELSNAKESWIPE,
1609*cdf0e10cSrcweir         animations::TransitionSubType::DIAGONALBOTTOMLEFTOPPOSITE,
1610*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1611*cdf0e10cSrcweir         0.0, // no rotation
1612*cdf0e10cSrcweir         1.0, // no scaling
1613*cdf0e10cSrcweir         1.0, // no scaling
1614*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1615*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1616*cdf0e10cSrcweir         false // scale isotrophically to target size
1617*cdf0e10cSrcweir     },
1618*cdf0e10cSrcweir     {
1619*cdf0e10cSrcweir         // mapped to ParallelSnakesWipe (diagonal=true, opposite=true,
1620*cdf0e10cSrcweir         //                               flipOnYAxis=true):
1621*cdf0e10cSrcweir         animations::TransitionType::PARALLELSNAKESWIPE,
1622*cdf0e10cSrcweir         animations::TransitionSubType::DIAGONALTOPLEFTOPPOSITE,
1623*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1624*cdf0e10cSrcweir         0.0, // no rotation
1625*cdf0e10cSrcweir         1.0, // no scaling
1626*cdf0e10cSrcweir         1.0, // no scaling
1627*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1628*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1629*cdf0e10cSrcweir         false // scale isotrophically to target size
1630*cdf0e10cSrcweir     },
1631*cdf0e10cSrcweir 
1632*cdf0e10cSrcweir     {
1633*cdf0e10cSrcweir         // mapped to BoxSnakesWipe:
1634*cdf0e10cSrcweir         animations::TransitionType::BOXSNAKESWIPE,
1635*cdf0e10cSrcweir         animations::TransitionSubType::TWOBOXTOP, // (340)
1636*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1637*cdf0e10cSrcweir         90.0, // rotation
1638*cdf0e10cSrcweir         1.0, // no scaling
1639*cdf0e10cSrcweir         1.0, // no scaling
1640*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1641*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1642*cdf0e10cSrcweir         false // scale isotrophically to target size
1643*cdf0e10cSrcweir     },
1644*cdf0e10cSrcweir     {
1645*cdf0e10cSrcweir         // mapped to BoxSnakesWipe:
1646*cdf0e10cSrcweir         animations::TransitionType::BOXSNAKESWIPE,
1647*cdf0e10cSrcweir         animations::TransitionSubType::TWOBOXBOTTOM, // (341)
1648*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1649*cdf0e10cSrcweir         -90.0, // rotation
1650*cdf0e10cSrcweir         1.0, // no scaling
1651*cdf0e10cSrcweir         1.0, // no scaling
1652*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1653*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1654*cdf0e10cSrcweir         false // scale isotrophically to target size
1655*cdf0e10cSrcweir     },
1656*cdf0e10cSrcweir     {
1657*cdf0e10cSrcweir         // mapped to BoxSnakesWipe:
1658*cdf0e10cSrcweir         animations::TransitionType::BOXSNAKESWIPE,
1659*cdf0e10cSrcweir         animations::TransitionSubType::TWOBOXLEFT, // (342)
1660*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1661*cdf0e10cSrcweir         0.0, // no rotation
1662*cdf0e10cSrcweir         1.0, // no scaling
1663*cdf0e10cSrcweir         1.0, // no scaling
1664*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1665*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1666*cdf0e10cSrcweir         false // scale isotrophically to target size
1667*cdf0e10cSrcweir     },
1668*cdf0e10cSrcweir     {
1669*cdf0e10cSrcweir         // mapped to BoxSnakesWipe:
1670*cdf0e10cSrcweir         animations::TransitionType::BOXSNAKESWIPE,
1671*cdf0e10cSrcweir         animations::TransitionSubType::TWOBOXRIGHT, // (343)
1672*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1673*cdf0e10cSrcweir         180.0, // rotation
1674*cdf0e10cSrcweir         1.0, // no scaling
1675*cdf0e10cSrcweir         1.0, // no scaling
1676*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1677*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1678*cdf0e10cSrcweir         false // scale isotrophically to target size
1679*cdf0e10cSrcweir     },
1680*cdf0e10cSrcweir     {
1681*cdf0e10cSrcweir         // mapped to BoxSnakesWipe(fourBox=true):
1682*cdf0e10cSrcweir         animations::TransitionType::BOXSNAKESWIPE,
1683*cdf0e10cSrcweir         animations::TransitionSubType::FOURBOXVERTICAL, // (344)
1684*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1685*cdf0e10cSrcweir         90.0, // rotation
1686*cdf0e10cSrcweir         1.0, // no scaling
1687*cdf0e10cSrcweir         1.0, // no scaling
1688*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1689*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1690*cdf0e10cSrcweir         false // scale isotrophically to target size
1691*cdf0e10cSrcweir     },
1692*cdf0e10cSrcweir     {
1693*cdf0e10cSrcweir         // mapped to BoxSnakesWipe(fourBox=true):
1694*cdf0e10cSrcweir         animations::TransitionType::BOXSNAKESWIPE,
1695*cdf0e10cSrcweir         animations::TransitionSubType::FOURBOXHORIZONTAL, // (345)
1696*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1697*cdf0e10cSrcweir         0.0, // no rotation
1698*cdf0e10cSrcweir         1.0, // no scaling
1699*cdf0e10cSrcweir         1.0, // no scaling
1700*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1701*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1702*cdf0e10cSrcweir         false // scale isotrophically to target size
1703*cdf0e10cSrcweir     },
1704*cdf0e10cSrcweir 
1705*cdf0e10cSrcweir     {
1706*cdf0e10cSrcweir         // mapped to WaterfallWipe:
1707*cdf0e10cSrcweir         animations::TransitionType::WATERFALLWIPE,
1708*cdf0e10cSrcweir         animations::TransitionSubType::VERTICALLEFT, // (350)
1709*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1710*cdf0e10cSrcweir         0.0, // no rotation
1711*cdf0e10cSrcweir         1.0, // no scaling
1712*cdf0e10cSrcweir         1.0, // no scaling
1713*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_ROTATE_180,
1714*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1715*cdf0e10cSrcweir         false // scale isotrophically to target size
1716*cdf0e10cSrcweir     },
1717*cdf0e10cSrcweir     {
1718*cdf0e10cSrcweir         // mapped to WaterfallWipe (flipOnYAxis=true):
1719*cdf0e10cSrcweir         animations::TransitionType::WATERFALLWIPE,
1720*cdf0e10cSrcweir         animations::TransitionSubType::VERTICALRIGHT, // (351)
1721*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1722*cdf0e10cSrcweir         0.0, // no rotation
1723*cdf0e10cSrcweir         1.0, // no scaling
1724*cdf0e10cSrcweir         1.0, // no scaling
1725*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_ROTATE_180,
1726*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1727*cdf0e10cSrcweir         false // scale isotrophically to target size
1728*cdf0e10cSrcweir     },
1729*cdf0e10cSrcweir     {
1730*cdf0e10cSrcweir         // mapped to WaterfallWipe (flipOnYAxis=true):
1731*cdf0e10cSrcweir         animations::TransitionType::WATERFALLWIPE,
1732*cdf0e10cSrcweir         animations::TransitionSubType::HORIZONTALLEFT, // (352)
1733*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1734*cdf0e10cSrcweir         -90.0, // rotation
1735*cdf0e10cSrcweir         1.0, // no scaling
1736*cdf0e10cSrcweir         1.0, // no scaling
1737*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_ROTATE_180,
1738*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1739*cdf0e10cSrcweir         false // scale isotrophically to target size
1740*cdf0e10cSrcweir     },
1741*cdf0e10cSrcweir     {
1742*cdf0e10cSrcweir         // mapped to WaterfallWipe, flipOnYAxis=false:
1743*cdf0e10cSrcweir         animations::TransitionType::WATERFALLWIPE,
1744*cdf0e10cSrcweir         animations::TransitionSubType::HORIZONTALRIGHT, // (353)
1745*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
1746*cdf0e10cSrcweir         90.0, // rotation
1747*cdf0e10cSrcweir         1.0, // no scaling
1748*cdf0e10cSrcweir         1.0, // no scaling
1749*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_ROTATE_180,
1750*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
1751*cdf0e10cSrcweir         false // scale isotrophically to target size
1752*cdf0e10cSrcweir     },
1753*cdf0e10cSrcweir 
1754*cdf0e10cSrcweir     {
1755*cdf0e10cSrcweir         animations::TransitionType::PUSHWIPE,
1756*cdf0e10cSrcweir         animations::TransitionSubType::FROMLEFT,
1757*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1758*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1759*cdf0e10cSrcweir         0.0,                    // no rotation
1760*cdf0e10cSrcweir         1.0,                    // no scaling
1761*cdf0e10cSrcweir         1.0,                    // no scaling
1762*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1763*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1764*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1765*cdf0e10cSrcweir     },
1766*cdf0e10cSrcweir     {
1767*cdf0e10cSrcweir         animations::TransitionType::PUSHWIPE,
1768*cdf0e10cSrcweir         animations::TransitionSubType::FROMTOP,
1769*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1770*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1771*cdf0e10cSrcweir         0.0,                    // no rotation
1772*cdf0e10cSrcweir         1.0,                    // no scaling
1773*cdf0e10cSrcweir         1.0,                    // no scaling
1774*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1775*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1776*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1777*cdf0e10cSrcweir     },
1778*cdf0e10cSrcweir     {
1779*cdf0e10cSrcweir         animations::TransitionType::PUSHWIPE,
1780*cdf0e10cSrcweir         animations::TransitionSubType::FROMRIGHT,
1781*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1782*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1783*cdf0e10cSrcweir         0.0,                    // no rotation
1784*cdf0e10cSrcweir         1.0,                    // no scaling
1785*cdf0e10cSrcweir         1.0,                    // no scaling
1786*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1787*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1788*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1789*cdf0e10cSrcweir     },
1790*cdf0e10cSrcweir     {
1791*cdf0e10cSrcweir         animations::TransitionType::PUSHWIPE,
1792*cdf0e10cSrcweir         animations::TransitionSubType::FROMBOTTOM,
1793*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1794*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1795*cdf0e10cSrcweir         0.0,                    // no rotation
1796*cdf0e10cSrcweir         1.0,                    // no scaling
1797*cdf0e10cSrcweir         1.0,                    // no scaling
1798*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1799*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1800*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1801*cdf0e10cSrcweir     },
1802*cdf0e10cSrcweir     {
1803*cdf0e10cSrcweir         animations::TransitionType::PUSHWIPE,
1804*cdf0e10cSrcweir         animations::TransitionSubType::FROMBOTTOMRIGHT,
1805*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1806*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1807*cdf0e10cSrcweir         0.0,                    // no rotation
1808*cdf0e10cSrcweir         1.0,                    // no scaling
1809*cdf0e10cSrcweir         1.0,                    // no scaling
1810*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1811*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1812*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1813*cdf0e10cSrcweir     },
1814*cdf0e10cSrcweir     {
1815*cdf0e10cSrcweir         animations::TransitionType::PUSHWIPE,
1816*cdf0e10cSrcweir         animations::TransitionSubType::FROMBOTTOMLEFT,
1817*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1818*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1819*cdf0e10cSrcweir         0.0,                    // no rotation
1820*cdf0e10cSrcweir         1.0,                    // no scaling
1821*cdf0e10cSrcweir         1.0,                    // no scaling
1822*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1823*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1824*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1825*cdf0e10cSrcweir     },
1826*cdf0e10cSrcweir     {
1827*cdf0e10cSrcweir         animations::TransitionType::PUSHWIPE,
1828*cdf0e10cSrcweir         animations::TransitionSubType::FROMTOPRIGHT,
1829*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1830*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1831*cdf0e10cSrcweir         0.0,                    // no rotation
1832*cdf0e10cSrcweir         1.0,                    // no scaling
1833*cdf0e10cSrcweir         1.0,                    // no scaling
1834*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1835*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1836*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1837*cdf0e10cSrcweir     },
1838*cdf0e10cSrcweir     {
1839*cdf0e10cSrcweir         animations::TransitionType::PUSHWIPE,
1840*cdf0e10cSrcweir         animations::TransitionSubType::FROMTOPLEFT,
1841*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1842*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1843*cdf0e10cSrcweir         0.0,                    // no rotation
1844*cdf0e10cSrcweir         1.0,                    // no scaling
1845*cdf0e10cSrcweir         1.0,                    // no scaling
1846*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1847*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1848*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1849*cdf0e10cSrcweir     },
1850*cdf0e10cSrcweir     {
1851*cdf0e10cSrcweir         animations::TransitionType::PUSHWIPE,
1852*cdf0e10cSrcweir         animations::TransitionSubType::COMBHORIZONTAL,
1853*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1854*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1855*cdf0e10cSrcweir         0.0,                    // no rotation
1856*cdf0e10cSrcweir         1.0,                    // no scaling
1857*cdf0e10cSrcweir         1.0,                    // no scaling
1858*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
1859*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1860*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1861*cdf0e10cSrcweir     },
1862*cdf0e10cSrcweir     {
1863*cdf0e10cSrcweir         animations::TransitionType::PUSHWIPE,
1864*cdf0e10cSrcweir         animations::TransitionSubType::COMBVERTICAL,
1865*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1866*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1867*cdf0e10cSrcweir         0.0,                    // no rotation
1868*cdf0e10cSrcweir         1.0,                    // no scaling
1869*cdf0e10cSrcweir         1.0,                    // no scaling
1870*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
1871*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1872*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1873*cdf0e10cSrcweir     },
1874*cdf0e10cSrcweir     {
1875*cdf0e10cSrcweir         animations::TransitionType::SLIDEWIPE,
1876*cdf0e10cSrcweir         animations::TransitionSubType::FROMLEFT,
1877*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1878*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1879*cdf0e10cSrcweir         0.0,                    // no rotation
1880*cdf0e10cSrcweir         1.0,                    // no scaling
1881*cdf0e10cSrcweir         1.0,                    // no scaling
1882*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE, // special code for this transition
1883*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1884*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1885*cdf0e10cSrcweir     },
1886*cdf0e10cSrcweir     {
1887*cdf0e10cSrcweir         animations::TransitionType::SLIDEWIPE,
1888*cdf0e10cSrcweir         animations::TransitionSubType::FROMTOP,
1889*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1890*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1891*cdf0e10cSrcweir         0.0,                    // no rotation
1892*cdf0e10cSrcweir         1.0,                    // no scaling
1893*cdf0e10cSrcweir         1.0,                    // no scaling
1894*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE, // special code for this transition
1895*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1896*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1897*cdf0e10cSrcweir     },
1898*cdf0e10cSrcweir     {
1899*cdf0e10cSrcweir         animations::TransitionType::SLIDEWIPE,
1900*cdf0e10cSrcweir         animations::TransitionSubType::FROMRIGHT,
1901*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1902*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1903*cdf0e10cSrcweir         0.0,                    // no rotation
1904*cdf0e10cSrcweir         1.0,                    // no scaling
1905*cdf0e10cSrcweir         1.0,                    // no scaling
1906*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE, // special code for this transition
1907*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1908*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1909*cdf0e10cSrcweir     },
1910*cdf0e10cSrcweir     {
1911*cdf0e10cSrcweir         animations::TransitionType::SLIDEWIPE,
1912*cdf0e10cSrcweir         animations::TransitionSubType::FROMBOTTOM,
1913*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1914*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1915*cdf0e10cSrcweir         0.0,                    // no rotation
1916*cdf0e10cSrcweir         1.0,                    // no scaling
1917*cdf0e10cSrcweir         1.0,                    // no scaling
1918*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE, // special code for this transition
1919*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1920*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1921*cdf0e10cSrcweir     },
1922*cdf0e10cSrcweir     {
1923*cdf0e10cSrcweir         animations::TransitionType::SLIDEWIPE,
1924*cdf0e10cSrcweir         animations::TransitionSubType::FROMBOTTOMRIGHT,
1925*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1926*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1927*cdf0e10cSrcweir         0.0,                    // no rotation
1928*cdf0e10cSrcweir         1.0,                    // no scaling
1929*cdf0e10cSrcweir         1.0,                    // no scaling
1930*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE, // special code for this transition
1931*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1932*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1933*cdf0e10cSrcweir     },
1934*cdf0e10cSrcweir     {
1935*cdf0e10cSrcweir         animations::TransitionType::SLIDEWIPE,
1936*cdf0e10cSrcweir         animations::TransitionSubType::FROMTOPRIGHT,
1937*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1938*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1939*cdf0e10cSrcweir         0.0,                    // no rotation
1940*cdf0e10cSrcweir         1.0,                    // no scaling
1941*cdf0e10cSrcweir         1.0,                    // no scaling
1942*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE, // special code for this transition
1943*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1944*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1945*cdf0e10cSrcweir     },
1946*cdf0e10cSrcweir     {
1947*cdf0e10cSrcweir         animations::TransitionType::SLIDEWIPE,
1948*cdf0e10cSrcweir         animations::TransitionSubType::FROMTOPLEFT,
1949*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1950*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1951*cdf0e10cSrcweir         0.0,                    // no rotation
1952*cdf0e10cSrcweir         1.0,                    // no scaling
1953*cdf0e10cSrcweir         1.0,                    // no scaling
1954*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE, // special code for this transition
1955*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1956*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1957*cdf0e10cSrcweir     },
1958*cdf0e10cSrcweir     {
1959*cdf0e10cSrcweir         animations::TransitionType::SLIDEWIPE,
1960*cdf0e10cSrcweir         animations::TransitionSubType::FROMBOTTOMLEFT,
1961*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1962*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1963*cdf0e10cSrcweir         0.0,                    // no rotation
1964*cdf0e10cSrcweir         1.0,                    // no scaling
1965*cdf0e10cSrcweir         1.0,                    // no scaling
1966*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE, // special code for this transition
1967*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1968*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1969*cdf0e10cSrcweir     },
1970*cdf0e10cSrcweir     {
1971*cdf0e10cSrcweir         animations::TransitionType::FADE,
1972*cdf0e10cSrcweir         animations::TransitionSubType::CROSSFADE,
1973*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1974*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1975*cdf0e10cSrcweir         0.0,                    // no rotation
1976*cdf0e10cSrcweir         1.0,                    // no scaling
1977*cdf0e10cSrcweir         1.0,                    // no scaling
1978*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1979*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1980*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1981*cdf0e10cSrcweir     },
1982*cdf0e10cSrcweir     {
1983*cdf0e10cSrcweir         animations::TransitionType::FADE,
1984*cdf0e10cSrcweir         animations::TransitionSubType::FADETOCOLOR,
1985*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1986*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1987*cdf0e10cSrcweir         0.0,                    // no rotation
1988*cdf0e10cSrcweir         1.0,                    // no scaling
1989*cdf0e10cSrcweir         1.0,                    // no scaling
1990*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
1991*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
1992*cdf0e10cSrcweir         false                   // scale isotrophically to target size
1993*cdf0e10cSrcweir     },
1994*cdf0e10cSrcweir     {
1995*cdf0e10cSrcweir         animations::TransitionType::FADE,
1996*cdf0e10cSrcweir         animations::TransitionSubType::FADEFROMCOLOR,
1997*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
1998*cdf0e10cSrcweir         // TODO(F2): Setup parameters
1999*cdf0e10cSrcweir         0.0,                    // no rotation
2000*cdf0e10cSrcweir         1.0,                    // no scaling
2001*cdf0e10cSrcweir         1.0,                    // no scaling
2002*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
2003*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
2004*cdf0e10cSrcweir         false                   // scale isotrophically to target size
2005*cdf0e10cSrcweir     },
2006*cdf0e10cSrcweir     {
2007*cdf0e10cSrcweir         animations::TransitionType::FADE,
2008*cdf0e10cSrcweir         animations::TransitionSubType::FADEOVERCOLOR,
2009*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
2010*cdf0e10cSrcweir         // TODO(F2): Setup parameters
2011*cdf0e10cSrcweir         0.0,                    // no rotation
2012*cdf0e10cSrcweir         1.0,                    // no scaling
2013*cdf0e10cSrcweir         1.0,                    // no scaling
2014*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
2015*cdf0e10cSrcweir         true,                   // 'out' by parameter sweep inversion
2016*cdf0e10cSrcweir         false                   // scale isotrophically to target size
2017*cdf0e10cSrcweir     },
2018*cdf0e10cSrcweir 
2019*cdf0e10cSrcweir     {
2020*cdf0e10cSrcweir         // mapped to RandomWipe:
2021*cdf0e10cSrcweir         animations::TransitionType::RANDOMBARWIPE,
2022*cdf0e10cSrcweir         animations::TransitionSubType::VERTICAL,
2023*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
2024*cdf0e10cSrcweir         90.0, // rotation
2025*cdf0e10cSrcweir         1.0, // no scaling
2026*cdf0e10cSrcweir         1.0, // no scaling
2027*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
2028*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
2029*cdf0e10cSrcweir         false // scale isotrophically to target size
2030*cdf0e10cSrcweir     },
2031*cdf0e10cSrcweir     {
2032*cdf0e10cSrcweir         // mapped to RandomWipe:
2033*cdf0e10cSrcweir         animations::TransitionType::RANDOMBARWIPE,
2034*cdf0e10cSrcweir         animations::TransitionSubType::HORIZONTAL,
2035*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
2036*cdf0e10cSrcweir         0.0, // no rotation
2037*cdf0e10cSrcweir         1.0, // no scaling
2038*cdf0e10cSrcweir         1.0, // no scaling
2039*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
2040*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
2041*cdf0e10cSrcweir         false // scale isotrophically to target size
2042*cdf0e10cSrcweir     },
2043*cdf0e10cSrcweir 
2044*cdf0e10cSrcweir     {
2045*cdf0e10cSrcweir         // mapped to CheckerBoard:
2046*cdf0e10cSrcweir         animations::TransitionType::CHECKERBOARDWIPE,
2047*cdf0e10cSrcweir         animations::TransitionSubType::DOWN,
2048*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
2049*cdf0e10cSrcweir         90.0, // rotation
2050*cdf0e10cSrcweir         1.0, // no scaling
2051*cdf0e10cSrcweir         1.0, // no scaling
2052*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_Y,
2053*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
2054*cdf0e10cSrcweir         false // scale isotrophically to target size
2055*cdf0e10cSrcweir     },
2056*cdf0e10cSrcweir     {
2057*cdf0e10cSrcweir         // mapped to CheckerBoard:
2058*cdf0e10cSrcweir         animations::TransitionType::CHECKERBOARDWIPE,
2059*cdf0e10cSrcweir         animations::TransitionSubType::ACROSS, // (default)
2060*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
2061*cdf0e10cSrcweir         0.0, // no rotation
2062*cdf0e10cSrcweir         1.0, // no scaling
2063*cdf0e10cSrcweir         1.0, // no scaling
2064*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_FLIP_X,
2065*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
2066*cdf0e10cSrcweir         false // scale isotrophically to target size
2067*cdf0e10cSrcweir     },
2068*cdf0e10cSrcweir 
2069*cdf0e10cSrcweir     {
2070*cdf0e10cSrcweir         // mapped to RandomWipe:
2071*cdf0e10cSrcweir         animations::TransitionType::DISSOLVE,
2072*cdf0e10cSrcweir         animations::TransitionSubType::DEFAULT,
2073*cdf0e10cSrcweir         TransitionInfo::TRANSITION_CLIP_POLYPOLYGON,
2074*cdf0e10cSrcweir         0.0, // no rotation
2075*cdf0e10cSrcweir         1.0, // no scaling
2076*cdf0e10cSrcweir         1.0, // no scaling
2077*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
2078*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
2079*cdf0e10cSrcweir         true // scale isotrophically to target size
2080*cdf0e10cSrcweir     },
2081*cdf0e10cSrcweir 
2082*cdf0e10cSrcweir     /////////////////////////////////////////////////////////
2083*cdf0e10cSrcweir     // NOTE: This entry MUST be the last, to keep
2084*cdf0e10cSrcweir     // createSlideTransition() from infinite recursion. Because
2085*cdf0e10cSrcweir     // getRandomTransitionInfo() below will exclude the last entry of
2086*cdf0e10cSrcweir     // the table from the random number generation.
2087*cdf0e10cSrcweir     /////////////////////////////////////////////////////////
2088*cdf0e10cSrcweir     {
2089*cdf0e10cSrcweir         // specially handled
2090*cdf0e10cSrcweir         animations::TransitionType::RANDOM,
2091*cdf0e10cSrcweir         animations::TransitionSubType::DEFAULT,
2092*cdf0e10cSrcweir         TransitionInfo::TRANSITION_SPECIAL,
2093*cdf0e10cSrcweir         0.0, // no rotation
2094*cdf0e10cSrcweir         1.0, // no scaling
2095*cdf0e10cSrcweir         1.0, // no scaling
2096*cdf0e10cSrcweir         TransitionInfo::REVERSEMETHOD_IGNORE,
2097*cdf0e10cSrcweir         true, // 'out' by parameter sweep inversion
2098*cdf0e10cSrcweir         true // scale isotrophically to target size
2099*cdf0e10cSrcweir     }
2100*cdf0e10cSrcweir     /////////////////////////////////////////////////////////
2101*cdf0e10cSrcweir     // NOTE: DON'T add after this entry! See comment above!
2102*cdf0e10cSrcweir     /////////////////////////////////////////////////////////
2103*cdf0e10cSrcweir };
2104*cdf0e10cSrcweir 
2105*cdf0e10cSrcweir } // anon namespace
2106*cdf0e10cSrcweir 
2107*cdf0e10cSrcweir const TransitionInfo* TransitionFactory::getTransitionInfo(
2108*cdf0e10cSrcweir     sal_Int16 nTransitionType, sal_Int16 nTransitionSubType )
2109*cdf0e10cSrcweir {
2110*cdf0e10cSrcweir     static const ::std::size_t lcl_tableSize(
2111*cdf0e10cSrcweir         sizeof(lcl_transitionInfo)/sizeof(TransitionInfo) );
2112*cdf0e10cSrcweir     static const TransitionInfo* pTableEnd = lcl_transitionInfo+lcl_tableSize;
2113*cdf0e10cSrcweir 
2114*cdf0e10cSrcweir     const TransitionInfo* pRes = ::std::find_if(
2115*cdf0e10cSrcweir         lcl_transitionInfo, pTableEnd,
2116*cdf0e10cSrcweir         TransitionInfo::Comparator( nTransitionType,
2117*cdf0e10cSrcweir                                     nTransitionSubType ) );
2118*cdf0e10cSrcweir     if (pRes != pTableEnd)
2119*cdf0e10cSrcweir         return pRes;
2120*cdf0e10cSrcweir     else
2121*cdf0e10cSrcweir         return NULL;
2122*cdf0e10cSrcweir }
2123*cdf0e10cSrcweir 
2124*cdf0e10cSrcweir const TransitionInfo* TransitionFactory::getRandomTransitionInfo()
2125*cdf0e10cSrcweir {
2126*cdf0e10cSrcweir     return lcl_transitionInfo + getRandomOrdinal(
2127*cdf0e10cSrcweir         sizeof(lcl_transitionInfo) / sizeof(TransitionInfo)
2128*cdf0e10cSrcweir         - 1 /* exclude random transition at end of table */ );
2129*cdf0e10cSrcweir }
2130*cdf0e10cSrcweir 
2131*cdf0e10cSrcweir } // namespace internal
2132*cdf0e10cSrcweir } // namespace presentation
2133