1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 #include <boost/current_function.hpp>
22 #include <basegfx/numeric/ftools.hxx>
23 #include <com/sun/star/animations/TransitionType.hpp>
24 #include <com/sun/star/animations/TransitionSubType.hpp>
26 #include "transitionfactory.hxx"
27 #include "transitionfactorytab.hxx"
32 using namespace ::com::sun::star
;
39 static const TransitionInfo lcl_transitionInfo
[] =
44 TransitionInfo::TRANSITION_INVALID
,
48 TransitionInfo::REVERSEMETHOD_IGNORE
,
53 // mapped to BarWipePolyPolygon:
54 animations::TransitionType::BARWIPE
,
55 animations::TransitionSubType::LEFTTORIGHT
, // (1)
56 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
60 TransitionInfo::REVERSEMETHOD_FLIP_X
,
61 false, // 'out' by subtraction
62 false // scale isotrophically to target size
65 // mapped to BarWipePolyPolygon:
66 animations::TransitionType::BARWIPE
,
67 animations::TransitionSubType::TOPTOBOTTOM
, // (2)
68 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
72 TransitionInfo::REVERSEMETHOD_FLIP_Y
,
73 false, // 'out' by subtraction
74 false // scale isotrophically to target size
78 // mapped to BarWipePolyPolygon(nBars=5):
79 animations::TransitionType::BLINDSWIPE
,
80 animations::TransitionSubType::VERTICAL
,
81 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
85 TransitionInfo::REVERSEMETHOD_FLIP_Y
,
86 true, // 'out' by parameter sweep inversion
87 false // scale isotrophically to target size
90 // mapped to BarWipePolyPolygon(nBars=5):
91 animations::TransitionType::BLINDSWIPE
,
92 animations::TransitionSubType::HORIZONTAL
,
93 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
97 TransitionInfo::REVERSEMETHOD_FLIP_X
,
98 true, // 'out' by parameter sweep inversion
99 false // scale isotrophically to target size
103 // mapped to BoxWipe:
104 animations::TransitionType::BOXWIPE
,
105 animations::TransitionSubType::TOPLEFT
, // (3)
106 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
110 TransitionInfo::REVERSEMETHOD_IGNORE
, // possible via bottomRight
111 true, // 'out' by parameter sweep inversion
112 false // scale isotrophically to target size
115 // mapped to BoxWipe:
116 animations::TransitionType::BOXWIPE
,
117 animations::TransitionSubType::TOPRIGHT
, // (4)
118 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
122 TransitionInfo::REVERSEMETHOD_IGNORE
, // possible via bottomLeft
123 true, // 'out' by parameter sweep inversion
124 false // scale isotrophically to target size
127 // mapped to BoxWipe:
128 animations::TransitionType::BOXWIPE
,
129 animations::TransitionSubType::BOTTOMRIGHT
, // (5)
130 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
134 TransitionInfo::REVERSEMETHOD_IGNORE
, // possible via topLeft
135 true, // 'out' by parameter sweep inversion
136 false // scale isotrophically to target size
139 // mapped to BoxWipe:
140 animations::TransitionType::BOXWIPE
,
141 animations::TransitionSubType::BOTTOMLEFT
, // (6)
142 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
146 TransitionInfo::REVERSEMETHOD_IGNORE
, // possible via topRight
147 true, // 'out' by parameter sweep inversion
148 false // scale isotrophically to target size
151 // mapped to BoxWipe:
152 animations::TransitionType::BOXWIPE
,
153 animations::TransitionSubType::TOPCENTER
, // (23)
154 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
158 TransitionInfo::REVERSEMETHOD_FLIP_Y
,
159 true, // 'out' by parameter sweep inversion
160 false // scale isotrophically to target size
163 // mapped to BoxWipe:
164 animations::TransitionType::BOXWIPE
,
165 animations::TransitionSubType::RIGHTCENTER
, // (24)
166 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
170 TransitionInfo::REVERSEMETHOD_FLIP_X
,
171 true, // 'out' by parameter sweep inversion
172 false // scale isotrophically to target size
175 // mapped to BoxWipe:
176 animations::TransitionType::BOXWIPE
,
177 animations::TransitionSubType::BOTTOMCENTER
, // (25)
178 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
182 TransitionInfo::REVERSEMETHOD_FLIP_Y
,
183 true, // 'out' by parameter sweep inversion
184 false // scale isotrophically to target size
187 // mapped to BoxWipe:
188 animations::TransitionType::BOXWIPE
,
189 animations::TransitionSubType::LEFTCENTER
, // (26)
190 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
194 TransitionInfo::REVERSEMETHOD_FLIP_X
,
195 true, // 'out' by parameter sweep inversion
196 false // scale isotrophically to target size
200 // mapped to FourBoxWipe:
201 animations::TransitionType::FOURBOXWIPE
,
202 animations::TransitionSubType::CORNERSIN
, // (7)
203 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
207 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
208 true, // 'out' by parameter sweep inversion
209 false // scale isotrophically to target size
212 // mapped to FourBoxWipe:
213 animations::TransitionType::FOURBOXWIPE
,
214 animations::TransitionSubType::CORNERSOUT
, // (8)
215 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
219 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
220 true, // 'out' by parameter sweep inversion
221 false // scale isotrophically to target size
225 // mapped to BarnDoorWipe:
226 animations::TransitionType::BARNDOORWIPE
,
227 animations::TransitionSubType::VERTICAL
, // (21)
228 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
232 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
233 true, // 'out' by parameter sweep inversion
234 false // scale isotrophically to target size
237 // mapped to BarnDoorWipe:
238 animations::TransitionType::BARNDOORWIPE
,
239 animations::TransitionSubType::HORIZONTAL
, // (22)
240 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
244 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
245 true, // 'out' by parameter sweep inversion
246 false // scale isotrophically to target size
249 // mapped to BarnDoorWipe:
250 animations::TransitionType::BARNDOORWIPE
,
251 animations::TransitionSubType::DIAGONALBOTTOMLEFT
, // (45)
252 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
256 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
257 true, // 'out' by parameter sweep inversion
258 false // scale isotrophically to target size
261 // mapped to BarnDoorWipe:
262 animations::TransitionType::BARNDOORWIPE
,
263 animations::TransitionSubType::DIAGONALTOPLEFT
, // (46)
264 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
268 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
269 true, // 'out' by parameter sweep inversion
270 false // scale isotrophically to target size
274 // mapped to BarWipePolyPolygon:
275 animations::TransitionType::DIAGONALWIPE
,
276 animations::TransitionSubType::TOPLEFT
, // (41)
277 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
281 TransitionInfo::REVERSEMETHOD_IGNORE
,
282 true, // 'out' by parameter sweep inversion
283 false // scale isotrophically to target size
286 // mapped to BarWipePolyPolygon:
287 animations::TransitionType::DIAGONALWIPE
,
288 animations::TransitionSubType::TOPRIGHT
, // (42)
289 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
293 TransitionInfo::REVERSEMETHOD_IGNORE
,
294 true, // 'out' by parameter sweep inversion
295 false // scale isotrophically to target size
300 animations::TransitionType::BOWTIEWIPE
,
301 animations::TransitionSubType::VERTICAL
,
302 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
303 // TODO(F2): Setup parameters
307 TransitionInfo::REVERSEMETHOD_IGNORE
,
308 true, // 'out' by parameter sweep inversion
309 false // scale isotrophically to target size
312 animations::TransitionType::BOWTIEWIPE
,
313 animations::TransitionSubType::HORIZONTAL
,
314 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
315 // TODO(F2): Setup parameters
319 TransitionInfo::REVERSEMETHOD_IGNORE
,
320 true, // 'out' by parameter sweep inversion
321 false // scale isotrophically to target size
325 // mapped to BarnDoorWipe (doubled=true):
326 animations::TransitionType::MISCDIAGONALWIPE
,
327 animations::TransitionSubType::DOUBLEBARNDOOR
, // (47)
328 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
332 TransitionInfo::REVERSEMETHOD_IGNORE
,
333 true, // 'out' by parameter sweep inversion
334 false // scale isotrophically to target size
337 // mapped to DoubleDiamondWipe:
338 animations::TransitionType::MISCDIAGONALWIPE
,
339 animations::TransitionSubType::DOUBLEDIAMOND
, // (48)
340 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
344 TransitionInfo::REVERSEMETHOD_IGNORE
,
345 true, // 'out' by parameter sweep inversion
346 false // scale isotrophically to target size
350 // mapped to VeeWipe:
351 animations::TransitionType::VEEWIPE
,
352 animations::TransitionSubType::DOWN
, // (61)
353 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
357 TransitionInfo::REVERSEMETHOD_FLIP_Y
,
358 true, // 'out' by parameter sweep inversion
359 false // scale isotrophically to target size
362 // mapped to VeeWipe:
363 animations::TransitionType::VEEWIPE
,
364 animations::TransitionSubType::LEFT
, // (62)
365 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
369 TransitionInfo::REVERSEMETHOD_FLIP_X
,
370 true, // 'out' by parameter sweep inversion
371 false // scale isotrophically to target size
374 animations::TransitionType::VEEWIPE
,
375 animations::TransitionSubType::UP
, // (63)
376 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
380 TransitionInfo::REVERSEMETHOD_FLIP_Y
,
381 true, // 'out' by parameter sweep inversion
382 false // scale isotrophically to target size
385 animations::TransitionType::VEEWIPE
,
386 animations::TransitionSubType::RIGHT
,
387 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
391 TransitionInfo::REVERSEMETHOD_FLIP_X
,
392 true, // 'out' by parameter sweep inversion
393 false // scale isotrophically to target size
398 animations::TransitionType::BARNVEEWIPE
,
399 animations::TransitionSubType::TOP
,
400 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
401 // TODO(F2): Setup parameters
405 TransitionInfo::REVERSEMETHOD_IGNORE
,
406 true, // 'out' by parameter sweep inversion
407 false // scale isotrophically to target size
410 animations::TransitionType::BARNVEEWIPE
,
411 animations::TransitionSubType::LEFT
,
412 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
413 // TODO(F2): Setup parameters
417 TransitionInfo::REVERSEMETHOD_IGNORE
,
418 true, // 'out' by parameter sweep inversion
419 false // scale isotrophically to target size
422 animations::TransitionType::BARNVEEWIPE
,
423 animations::TransitionSubType::UP
,
424 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
425 // TODO(F2): Setup parameters
429 TransitionInfo::REVERSEMETHOD_IGNORE
,
430 true, // 'out' by parameter sweep inversion
431 false // scale isotrophically to target size
434 animations::TransitionType::BARNVEEWIPE
,
435 animations::TransitionSubType::RIGHT
,
436 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
437 // TODO(F2): Setup parameters
441 TransitionInfo::REVERSEMETHOD_IGNORE
,
442 true, // 'out' by parameter sweep inversion
443 false // scale isotrophically to target size
447 // mapped to ZigZagWipe:
448 animations::TransitionType::ZIGZAGWIPE
,
449 animations::TransitionSubType::LEFTTORIGHT
, // (71)
450 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
454 TransitionInfo::REVERSEMETHOD_FLIP_X
,
455 true, // 'out' by parameter sweep inversion
456 false // scale isotrophically to target size
459 // mapped to ZigZagWipe:
460 animations::TransitionType::ZIGZAGWIPE
,
461 animations::TransitionSubType::TOPTOBOTTOM
, // (72)
462 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
466 TransitionInfo::REVERSEMETHOD_FLIP_Y
,
467 true, // 'out' by parameter sweep inversion
468 false // scale isotrophically to target size
471 // mapped to BarnZigZagWipe:
472 animations::TransitionType::BARNZIGZAGWIPE
,
473 animations::TransitionSubType::VERTICAL
, // (73)
474 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
478 TransitionInfo::REVERSEMETHOD_IGNORE
,
479 true, // 'out' by parameter sweep inversion
480 false // scale isotrophically to target size
483 // mapped to BarnZigZagWipe:
484 animations::TransitionType::BARNZIGZAGWIPE
,
485 animations::TransitionSubType::HORIZONTAL
, // (74)
486 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
490 TransitionInfo::REVERSEMETHOD_IGNORE
,
491 true, // 'out' by parameter sweep inversion
492 false // scale isotrophically to target size
496 // mapped to IrisWipe:
497 animations::TransitionType::IRISWIPE
,
498 animations::TransitionSubType::RECTANGLE
, // (101)
499 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
503 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
504 true, // 'out' by parameter sweep inversion
505 false // scale isotrophically to target size
508 // mapped to IrisWipe:
509 animations::TransitionType::IRISWIPE
,
510 animations::TransitionSubType::DIAMOND
, // (102)
511 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
515 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
516 true, // 'out' by parameter sweep inversion
517 false // scale isotrophically to target size
522 // mapped to FigureWipe(triangle):
523 animations::TransitionType::TRIANGLEWIPE
,
524 animations::TransitionSubType::UP
, // (103)
525 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
529 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
530 true, // 'out' by parameter sweep inversion
531 false // scale isotrophically to target size
534 // mapped to FigureWipe(triangle):
535 animations::TransitionType::TRIANGLEWIPE
,
536 animations::TransitionSubType::RIGHT
, // (104)
537 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
541 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
542 true, // 'out' by parameter sweep inversion
543 false // scale isotrophically to target size
546 // mapped to FigureWipe(triangle):
547 animations::TransitionType::TRIANGLEWIPE
,
548 animations::TransitionSubType::DOWN
, // (105)
549 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
553 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
554 true, // 'out' by parameter sweep inversion
555 false // scale isotrophically to target size
558 // mapped to FigureWipe(triangle):
559 animations::TransitionType::TRIANGLEWIPE
,
560 animations::TransitionSubType::LEFT
, // (106)
561 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
565 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
566 true, // 'out' by parameter sweep inversion
567 false // scale isotrophically to target size
571 // mapped to FigureWipe(arrowHead):
572 animations::TransitionType::ARROWHEADWIPE
,
573 animations::TransitionSubType::UP
, // (107)
574 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
578 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
579 true, // 'out' by parameter sweep inversion
580 false // scale isotrophically to target size
583 // mapped to FigureWipe(arrowHead):
584 animations::TransitionType::ARROWHEADWIPE
,
585 animations::TransitionSubType::RIGHT
, // (108)
586 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
590 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
591 true, // 'out' by parameter sweep inversion
592 false // scale isotrophically to target size
595 // mapped to FigureWipe(arrowHead):
596 animations::TransitionType::ARROWHEADWIPE
,
597 animations::TransitionSubType::DOWN
, // (109)
598 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
602 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
603 true, // 'out' by parameter sweep inversion
604 false // scale isotrophically to target size
607 // mapped to FigureWipe(arrowHead):
608 animations::TransitionType::ARROWHEADWIPE
,
609 animations::TransitionSubType::LEFT
, // (110)
610 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
614 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
615 true, // 'out' by parameter sweep inversion
616 false // scale isotrophically to target size
620 // mapped to FigureWipe(pentagon):
621 animations::TransitionType::PENTAGONWIPE
,
622 animations::TransitionSubType::UP
, // (111)
623 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
627 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
628 true, // 'out' by parameter sweep inversion
629 false // scale isotrophically to target size
632 // mapped to FigureWipe(pentagon):
633 animations::TransitionType::PENTAGONWIPE
,
634 animations::TransitionSubType::DOWN
, // (112)
635 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
639 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
640 true, // 'out' by parameter sweep inversion
641 false // scale isotrophically to target size
645 // mapped to FigureWipe(hexagon):
646 animations::TransitionType::HEXAGONWIPE
,
647 animations::TransitionSubType::HORIZONTAL
, // (113)
648 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
652 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
653 true, // 'out' by parameter sweep inversion
654 false // scale isotrophically to target size
657 // mapped to FigureWipe(hexagon):
658 animations::TransitionType::HEXAGONWIPE
,
659 animations::TransitionSubType::VERTICAL
, // (114)
660 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
664 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
665 true, // 'out' by parameter sweep inversion
666 false // scale isotrophically to target size
670 // mapped to EllipseWipe:
671 animations::TransitionType::ELLIPSEWIPE
,
672 animations::TransitionSubType::CIRCLE
,
673 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
677 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
678 true, // 'out' by parameter sweep inversion
679 true // scale isotrophically to target size
682 // mapped to EllipseWipe:
683 animations::TransitionType::ELLIPSEWIPE
,
684 animations::TransitionSubType::HORIZONTAL
,
685 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
689 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
690 true, // 'out' by parameter sweep inversion
691 false // scale isotrophically to target size
694 // mapped to EllipseWipe:
695 animations::TransitionType::ELLIPSEWIPE
,
696 animations::TransitionSubType::VERTICAL
,
697 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
701 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
702 true, // 'out' by parameter sweep inversion
703 false // scale isotrophically to target size
708 animations::TransitionType::EYEWIPE
,
709 animations::TransitionSubType::HORIZONTAL
,
710 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
711 // TODO(F2): Setup parameters
715 TransitionInfo::REVERSEMETHOD_IGNORE
,
716 true, // 'out' by parameter sweep inversion
717 false // scale isotrophically to target size
720 animations::TransitionType::EYEWIPE
,
721 animations::TransitionSubType::VERTICAL
,
722 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
723 // TODO(F2): Setup parameters
727 TransitionInfo::REVERSEMETHOD_IGNORE
,
728 true, // 'out' by parameter sweep inversion
729 false // scale isotrophically to target size
732 animations::TransitionType::ROUNDRECTWIPE
,
733 animations::TransitionSubType::HORIZONTAL
,
734 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
735 // TODO(F2): Setup parameters
739 TransitionInfo::REVERSEMETHOD_IGNORE
,
740 true, // 'out' by parameter sweep inversion
741 false // scale isotrophically to target size
744 animations::TransitionType::ROUNDRECTWIPE
,
745 animations::TransitionSubType::VERTICAL
,
746 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
747 // TODO(F2): Setup parameters
751 TransitionInfo::REVERSEMETHOD_IGNORE
,
752 true, // 'out' by parameter sweep inversion
753 false // scale isotrophically to target size
757 // mapped to FigureWipe(star, points=4):
758 animations::TransitionType::STARWIPE
,
759 animations::TransitionSubType::FOURPOINT
, // (127)
760 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
764 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
765 true, // 'out' by parameter sweep inversion
766 false // scale isotrophically to target size
769 // mapped to FigureWipe(star, points=5):
770 animations::TransitionType::STARWIPE
,
771 animations::TransitionSubType::FIVEPOINT
, // (128)
772 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
776 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
777 true, // 'out' by parameter sweep inversion
778 false // scale isotrophically to target size
781 // mapped to FigureWipe(star, points=6):
782 animations::TransitionType::STARWIPE
,
783 animations::TransitionSubType::SIXPOINT
, // (129)
784 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
788 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
789 true, // 'out' by parameter sweep inversion
790 false // scale isotrophically to target size
794 animations::TransitionType::MISCSHAPEWIPE
,
795 animations::TransitionSubType::HEART
,
796 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
797 // TODO(F2): Setup parameters
801 TransitionInfo::REVERSEMETHOD_IGNORE
,
802 true, // 'out' by parameter sweep inversion
803 false // scale isotrophically to target size
806 animations::TransitionType::MISCSHAPEWIPE
,
807 animations::TransitionSubType::KEYHOLE
,
808 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
809 // TODO(F2): Setup parameters
813 TransitionInfo::REVERSEMETHOD_IGNORE
,
814 true, // 'out' by parameter sweep inversion
815 false // scale isotrophically to target size
819 // mapped to ClockWipe:
820 animations::TransitionType::CLOCKWIPE
,
821 animations::TransitionSubType::CLOCKWISETWELVE
, // (201)
822 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
826 TransitionInfo::REVERSEMETHOD_FLIP_X
,
827 true, // 'out' by parameter sweep inversion
828 false // scale isotrophically to target size
831 // mapped to ClockWipe:
832 animations::TransitionType::CLOCKWIPE
,
833 animations::TransitionSubType::CLOCKWISETHREE
, // (202)
834 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
838 TransitionInfo::REVERSEMETHOD_ROTATE_180
,
839 true, // 'out' by parameter sweep inversion
840 false // scale isotrophically to target size
843 // mapped to ClockWipe:
844 animations::TransitionType::CLOCKWIPE
,
845 animations::TransitionSubType::CLOCKWISESIX
, // (203)
846 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
850 TransitionInfo::REVERSEMETHOD_ROTATE_180
,
851 true, // 'out' by parameter sweep inversion
852 false // scale isotrophically to target size
855 // mapped to ClockWipe:
856 animations::TransitionType::CLOCKWIPE
,
857 animations::TransitionSubType::CLOCKWISENINE
, // (204)
858 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
862 TransitionInfo::REVERSEMETHOD_ROTATE_180
,
863 true, // 'out' by parameter sweep inversion
864 false // scale isotrophically to target size
868 // mapped to PinWheelWipe:
869 animations::TransitionType::PINWHEELWIPE
,
870 animations::TransitionSubType::ONEBLADE
,
871 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
875 TransitionInfo::REVERSEMETHOD_FLIP_X
,
876 true, // 'out' by parameter sweep inversion
877 true // scale isotrophically to target size, like ppt
880 // mapped to PinWheelWipe:
881 animations::TransitionType::PINWHEELWIPE
,
882 animations::TransitionSubType::TWOBLADEVERTICAL
, // (205)
883 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
887 TransitionInfo::REVERSEMETHOD_FLIP_X
,
888 true, // 'out' by parameter sweep inversion
889 true // scale isotrophically to target size, like ppt
892 // mapped to PinWheelWipe:
893 animations::TransitionType::PINWHEELWIPE
,
894 animations::TransitionSubType::TWOBLADEHORIZONTAL
, // (206)
895 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
899 TransitionInfo::REVERSEMETHOD_FLIP_Y
,
900 true, // 'out' by parameter sweep inversion
901 true // scale isotrophically to target size, like ppt
904 // mapped to PinWheelWipe:
905 animations::TransitionType::PINWHEELWIPE
,
906 animations::TransitionSubType::THREEBLADE
,
907 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
911 TransitionInfo::REVERSEMETHOD_FLIP_X
,
912 true, // 'out' by parameter sweep inversion
913 true // scale isotrophically to target size, like ppt
916 // mapped to PinWheelWipe:
917 animations::TransitionType::PINWHEELWIPE
,
918 animations::TransitionSubType::FOURBLADE
, // (207)
919 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
923 TransitionInfo::REVERSEMETHOD_FLIP_X
,
924 true, // 'out' by parameter sweep inversion
925 true // scale isotrophically to target size, like ppt
928 // mapped to PinWheelWipe:
929 animations::TransitionType::PINWHEELWIPE
,
930 animations::TransitionSubType::EIGHTBLADE
,
931 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
935 TransitionInfo::REVERSEMETHOD_FLIP_X
,
936 true, // 'out' by parameter sweep inversion
937 true // scale isotrophically to target size, like ppt
941 // mapped to SweepWipe (center=true, single=true):
942 animations::TransitionType::SINGLESWEEPWIPE
,
943 animations::TransitionSubType::CLOCKWISETOP
, // (221)
944 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
948 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
949 true, // 'out' by parameter sweep inversion
950 false // scale isotrophically to target size
953 // mapped to SweepWipe (center=true, single=true):
954 animations::TransitionType::SINGLESWEEPWIPE
,
955 animations::TransitionSubType::CLOCKWISERIGHT
, // (222)
956 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
960 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
961 true, // 'out' by parameter sweep inversion
962 false // scale isotrophically to target size
965 // mapped to SweepWipe (center=true, single=true):
966 animations::TransitionType::SINGLESWEEPWIPE
,
967 animations::TransitionSubType::CLOCKWISEBOTTOM
, // (223)
968 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
972 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
973 true, // 'out' by parameter sweep inversion
974 false // scale isotrophically to target size
977 // mapped to SweepWipe (center=true, single=true):
978 animations::TransitionType::SINGLESWEEPWIPE
,
979 animations::TransitionSubType::CLOCKWISELEFT
, // (224)
980 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
984 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
985 true, // 'out' by parameter sweep inversion
986 false // scale isotrophically to target size
989 // mapped to SweepWipe (center=false, single=true):
990 animations::TransitionType::SINGLESWEEPWIPE
,
991 animations::TransitionSubType::CLOCKWISETOPLEFT
, // (241)
992 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
996 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
997 true, // 'out' by parameter sweep inversion
998 false // scale isotrophically to target size
1001 // mapped to SweepWipe (center=false, single=true, flipOnYAxis=true):
1002 animations::TransitionType::SINGLESWEEPWIPE
,
1003 animations::TransitionSubType::COUNTERCLOCKWISEBOTTOMLEFT
, // (242)
1004 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1008 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1009 true, // 'out' by parameter sweep inversion
1010 false // scale isotrophically to target size
1013 // mapped to SweepWipe (center=false, single=true):
1014 animations::TransitionType::SINGLESWEEPWIPE
,
1015 animations::TransitionSubType::CLOCKWISEBOTTOMRIGHT
, // (243)
1016 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1020 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1021 true, // 'out' by parameter sweep inversion
1022 false // scale isotrophically to target size
1025 // mapped to SweepWipe (center=false, single=true, flipOnYAxis=true):
1026 animations::TransitionType::SINGLESWEEPWIPE
,
1027 animations::TransitionSubType::COUNTERCLOCKWISETOPRIGHT
, // (244)
1028 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1032 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1033 true, // 'out' by parameter sweep inversion
1034 false // scale isotrophically to target size
1038 // mapped to FanWipe(center=true):
1039 animations::TransitionType::FANWIPE
,
1040 animations::TransitionSubType::CENTERTOP
, // (211)
1041 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1045 TransitionInfo::REVERSEMETHOD_FLIP_Y
,
1046 true, // 'out' by parameter sweep inversion
1047 false // scale isotrophically to target size
1050 // mapped to FanWipe(center=true):
1051 animations::TransitionType::FANWIPE
,
1052 animations::TransitionSubType::CENTERRIGHT
, // (212)
1053 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1057 TransitionInfo::REVERSEMETHOD_FLIP_X
,
1058 true, // 'out' by parameter sweep inversion
1059 false // scale isotrophically to target size
1062 // mapped to FanWipe:
1063 animations::TransitionType::FANWIPE
,
1064 animations::TransitionSubType::TOP
, // (231)
1065 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1069 TransitionInfo::REVERSEMETHOD_FLIP_Y
,
1070 true, // 'out' by parameter sweep inversion
1071 false // scale isotrophically to target size
1074 // mapped to FanWipe:
1075 animations::TransitionType::FANWIPE
,
1076 animations::TransitionSubType::RIGHT
, // (232)
1077 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1081 TransitionInfo::REVERSEMETHOD_FLIP_X
,
1082 true, // 'out' by parameter sweep inversion
1083 false // scale isotrophically to target size
1086 // mapped to FanWipe:
1087 animations::TransitionType::FANWIPE
,
1088 animations::TransitionSubType::BOTTOM
, // (233)
1089 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1093 TransitionInfo::REVERSEMETHOD_FLIP_Y
,
1094 true, // 'out' by parameter sweep inversion
1095 false // scale isotrophically to target size
1098 // mapped to FanWipe:
1099 animations::TransitionType::FANWIPE
,
1100 animations::TransitionSubType::LEFT
, // (234)
1101 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1105 TransitionInfo::REVERSEMETHOD_FLIP_X
,
1106 true, // 'out' by parameter sweep inversion
1107 false // scale isotrophically to target size
1111 // mapped to FanWipe(center=true, single=false, fanIn=false):
1112 animations::TransitionType::DOUBLEFANWIPE
,
1113 animations::TransitionSubType::FANOUTVERTICAL
, // (213)
1114 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1118 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1119 true, // 'out' by parameter sweep inversion
1120 false // scale isotrophically to target size
1123 // mapped to FanWipe(center=true, single=false, fanIn=false):
1124 animations::TransitionType::DOUBLEFANWIPE
,
1125 animations::TransitionSubType::FANOUTHORIZONTAL
, // (214)
1126 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1130 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1131 true, // 'out' by parameter sweep inversion
1132 false // scale isotrophically to target size
1135 // mapped to FanWipe(center=true, single=false, fanIn=true):
1136 animations::TransitionType::DOUBLEFANWIPE
,
1137 animations::TransitionSubType::FANINVERTICAL
, // (235)
1138 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1142 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1143 true, // 'out' by parameter sweep inversion
1144 false // scale isotrophically to target size
1147 // mapped to FanWipe(center=true, single=false, fanIn=true):
1148 animations::TransitionType::DOUBLEFANWIPE
,
1149 animations::TransitionSubType::FANINHORIZONTAL
, // (236)
1150 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1154 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1155 true, // 'out' by parameter sweep inversion
1156 false // scale isotrophically to target size
1160 // mapped to SweepWipe (center=true, single=false):
1161 animations::TransitionType::DOUBLESWEEPWIPE
,
1162 animations::TransitionSubType::PARALLELVERTICAL
, // (225)
1163 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1167 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1168 true, // 'out' by parameter sweep inversion
1169 false // scale isotrophically to target size
1172 // mapped to SweepWipe (center=true, single=false):
1173 animations::TransitionType::DOUBLESWEEPWIPE
,
1174 animations::TransitionSubType::PARALLELDIAGONAL
, // (226)
1175 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1179 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1180 true, // 'out' by parameter sweep inversion
1181 false // scale isotrophically to target size
1184 // mapped to SweepWipe (center=true, single=false,
1185 // oppositeVertical=true):
1186 animations::TransitionType::DOUBLESWEEPWIPE
,
1187 animations::TransitionSubType::OPPOSITEVERTICAL
, // (227)
1188 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1192 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1193 true, // 'out' by parameter sweep inversion
1194 false // scale isotrophically to target size
1197 // mapped to SweepWipe (center=true, single=false,
1198 // oppositeVertical=true):
1199 animations::TransitionType::DOUBLESWEEPWIPE
,
1200 animations::TransitionSubType::OPPOSITEHORIZONTAL
,
1201 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1205 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1206 true, // 'out' by parameter sweep inversion
1207 false // scale isotrophically to target size
1210 // mapped to SweepWipe (center=false, single=false):
1211 animations::TransitionType::DOUBLESWEEPWIPE
,
1212 animations::TransitionSubType::PARALLELDIAGONALTOPLEFT
,
1213 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1217 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1218 true, // 'out' by parameter sweep inversion
1219 false // scale isotrophically to target size
1222 // mapped to SweepWipe (center=false, single=false):
1223 animations::TransitionType::DOUBLESWEEPWIPE
,
1224 animations::TransitionSubType::PARALLELDIAGONALBOTTOMLEFT
,
1225 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1229 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1230 true, // 'out' by parameter sweep inversion
1231 false // scale isotrophically to target size
1235 animations::TransitionType::SALOONDOORWIPE
,
1236 animations::TransitionSubType::TOP
, // (251)
1237 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1238 // TODO(F2): Setup parameters
1242 TransitionInfo::REVERSEMETHOD_FLIP_Y
,
1243 true, // 'out' by parameter sweep inversion
1244 false // scale isotrophically to target size
1247 animations::TransitionType::SALOONDOORWIPE
,
1248 animations::TransitionSubType::LEFT
, // (252)
1249 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1250 // TODO(F2): Setup parameters
1254 TransitionInfo::REVERSEMETHOD_FLIP_X
,
1255 true, // 'out' by parameter sweep inversion
1256 false // scale isotrophically to target size
1259 animations::TransitionType::SALOONDOORWIPE
,
1260 animations::TransitionSubType::BOTTOM
, // (253)
1261 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1262 // TODO(F2): Setup parameters
1266 TransitionInfo::REVERSEMETHOD_FLIP_Y
,
1267 true, // 'out' by parameter sweep inversion
1268 false // scale isotrophically to target size
1271 animations::TransitionType::SALOONDOORWIPE
,
1272 animations::TransitionSubType::RIGHT
, // (254)
1273 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1274 // TODO(F2): Setup parameters
1278 TransitionInfo::REVERSEMETHOD_FLIP_X
,
1279 true, // 'out' by parameter sweep inversion
1280 false // scale isotrophically to target size
1283 animations::TransitionType::WINDSHIELDWIPE
,
1284 animations::TransitionSubType::RIGHT
,
1285 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1286 // TODO(F2): Setup parameters
1290 TransitionInfo::REVERSEMETHOD_FLIP_X
,
1291 true, // 'out' by parameter sweep inversion
1292 false // scale isotrophically to target size
1295 animations::TransitionType::WINDSHIELDWIPE
,
1296 animations::TransitionSubType::UP
,
1297 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1298 // TODO(F2): Setup parameters
1302 TransitionInfo::REVERSEMETHOD_FLIP_Y
,
1303 true, // 'out' by parameter sweep inversion
1304 false // scale isotrophically to target size
1307 animations::TransitionType::WINDSHIELDWIPE
,
1308 animations::TransitionSubType::VERTICAL
,
1309 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1310 // TODO(F2): Setup parameters
1314 TransitionInfo::REVERSEMETHOD_IGNORE
,
1315 true, // 'out' by parameter sweep inversion
1316 false // scale isotrophically to target size
1319 animations::TransitionType::WINDSHIELDWIPE
,
1320 animations::TransitionSubType::HORIZONTAL
,
1321 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1322 // TODO(F2): Setup parameters
1326 TransitionInfo::REVERSEMETHOD_IGNORE
,
1327 true, // 'out' by parameter sweep inversion
1328 false // scale isotrophically to target size
1332 // mapped to SnakeWipe:
1333 animations::TransitionType::SNAKEWIPE
,
1334 animations::TransitionSubType::TOPLEFTHORIZONTAL
, // (301)
1335 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1339 TransitionInfo::REVERSEMETHOD_ROTATE_180
,
1340 true, // 'out' by parameter sweep inversion
1341 false // scale isotrophically to target size
1344 // mapped to SnakeWipe(flipOnYAxis=true):
1345 animations::TransitionType::SNAKEWIPE
,
1346 animations::TransitionSubType::TOPLEFTVERTICAL
, // (302)
1347 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1351 TransitionInfo::REVERSEMETHOD_ROTATE_180
,
1352 true, // 'out' by parameter sweep inversion
1353 false // scale isotrophically to target size
1356 // mapped to SnakeWipe(diagonal=true):
1357 animations::TransitionType::SNAKEWIPE
,
1358 animations::TransitionSubType::TOPLEFTDIAGONAL
, // (303)
1359 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1363 TransitionInfo::REVERSEMETHOD_ROTATE_180
,
1364 true, // 'out' by parameter sweep inversion
1365 false // scale isotrophically to target size
1368 // mapped to SnakeWipe(diagonal=true, flipOnYAxis=true):
1369 animations::TransitionType::SNAKEWIPE
,
1370 animations::TransitionSubType::TOPRIGHTDIAGONAL
, // (304)
1371 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1375 TransitionInfo::REVERSEMETHOD_ROTATE_180
,
1376 true, // 'out' by parameter sweep inversion
1377 false // scale isotrophically to target size
1380 // mapped to SnakeWipe(diagonal=true):
1381 animations::TransitionType::SNAKEWIPE
,
1382 animations::TransitionSubType::BOTTOMRIGHTDIAGONAL
, // (305)
1383 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1387 TransitionInfo::REVERSEMETHOD_ROTATE_180
,
1388 true, // 'out' by parameter sweep inversion
1389 false // scale isotrophically to target size
1392 // mapped to SnakeWipe(diagonal=true, flipOnYAxis=true):
1393 animations::TransitionType::SNAKEWIPE
,
1394 animations::TransitionSubType::BOTTOMLEFTDIAGONAL
, // (306)
1395 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1399 TransitionInfo::REVERSEMETHOD_ROTATE_180
,
1400 true, // 'out' by parameter sweep inversion
1401 false // scale isotrophically to target size
1405 // mapped to SpiralWipe:
1406 animations::TransitionType::SPIRALWIPE
,
1407 animations::TransitionSubType::TOPLEFTCLOCKWISE
, // (310)
1408 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1412 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1413 true, // 'out' by parameter sweep inversion
1414 false // scale isotrophically to target size
1417 // mapped to SpiralWipe:
1418 animations::TransitionType::SPIRALWIPE
,
1419 animations::TransitionSubType::TOPRIGHTCLOCKWISE
, // (311)
1420 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1424 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1425 true, // 'out' by parameter sweep inversion
1426 false // scale isotrophically to target size
1429 // mapped to SpiralWipe:
1430 animations::TransitionType::SPIRALWIPE
,
1431 animations::TransitionSubType::BOTTOMRIGHTCLOCKWISE
, // (312)
1432 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1436 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1437 true, // 'out' by parameter sweep inversion
1438 false // scale isotrophically to target size
1441 // mapped to SpiralWipe:
1442 animations::TransitionType::SPIRALWIPE
,
1443 animations::TransitionSubType::BOTTOMLEFTCLOCKWISE
, // (313)
1444 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1448 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1449 true, // 'out' by parameter sweep inversion
1450 false // scale isotrophically to target size
1453 // mapped to SpiralWipe(flipOnYAxis=true):
1454 animations::TransitionType::SPIRALWIPE
,
1455 animations::TransitionSubType::TOPLEFTCOUNTERCLOCKWISE
, // (314)
1456 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1460 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1461 true, // 'out' by parameter sweep inversion
1462 false // scale isotrophically to target size
1465 // mapped to SpiralWipe(flipOnYAxis=true):
1466 animations::TransitionType::SPIRALWIPE
,
1467 animations::TransitionSubType::TOPRIGHTCOUNTERCLOCKWISE
, // (315)
1468 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1472 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1473 true, // 'out' by parameter sweep inversion
1474 false // scale isotrophically to target size
1477 // mapped to SpiralWipe(flipOnYAxis=true):
1478 animations::TransitionType::SPIRALWIPE
,
1479 animations::TransitionSubType::BOTTOMRIGHTCOUNTERCLOCKWISE
, // (316)
1480 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1484 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1485 true, // 'out' by parameter sweep inversion
1486 false // scale isotrophically to target size
1489 // mapped to SpiralWipe(flipOnYAxis=true):
1490 animations::TransitionType::SPIRALWIPE
,
1491 animations::TransitionSubType::BOTTOMLEFTCOUNTERCLOCKWISE
, // (317)
1492 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1496 TransitionInfo::REVERSEMETHOD_SUBTRACT_AND_INVERT
,
1497 true, // 'out' by parameter sweep inversion
1498 false // scale isotrophically to target size
1502 // mapped to ParallelSnakesWipe:
1503 animations::TransitionType::PARALLELSNAKESWIPE
,
1504 animations::TransitionSubType::VERTICALTOPSAME
,
1505 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1509 TransitionInfo::REVERSEMETHOD_IGNORE
,
1510 true, // 'out' by parameter sweep inversion
1511 false // scale isotrophically to target size
1514 // mapped to ParallelSnakesWipe:
1515 animations::TransitionType::PARALLELSNAKESWIPE
,
1516 animations::TransitionSubType::VERTICALBOTTOMSAME
,
1517 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1521 TransitionInfo::REVERSEMETHOD_IGNORE
,
1522 true, // 'out' by parameter sweep inversion
1523 false // scale isotrophically to target size
1526 // mapped to ParallelSnakesWipe (opposite=true):
1527 animations::TransitionType::PARALLELSNAKESWIPE
,
1528 animations::TransitionSubType::VERTICALTOPLEFTOPPOSITE
,
1529 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1533 TransitionInfo::REVERSEMETHOD_IGNORE
,
1534 true, // 'out' by parameter sweep inversion
1535 false // scale isotrophically to target size
1538 // mapped to ParallelSnakesWipe (flipOnYAxis=true, opposite=true):
1539 animations::TransitionType::PARALLELSNAKESWIPE
,
1540 animations::TransitionSubType::VERTICALBOTTOMLEFTOPPOSITE
,
1541 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1545 TransitionInfo::REVERSEMETHOD_IGNORE
,
1546 true, // 'out' by parameter sweep inversion
1547 false // scale isotrophically to target size
1550 // mapped to ParallelSnakesWipe:
1551 animations::TransitionType::PARALLELSNAKESWIPE
,
1552 animations::TransitionSubType::HORIZONTALLEFTSAME
,
1553 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1557 TransitionInfo::REVERSEMETHOD_IGNORE
,
1558 true, // 'out' by parameter sweep inversion
1559 false // scale isotrophically to target size
1562 // mapped to ParallelSnakesWipe:
1563 animations::TransitionType::PARALLELSNAKESWIPE
,
1564 animations::TransitionSubType::HORIZONTALRIGHTSAME
,
1565 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1569 TransitionInfo::REVERSEMETHOD_IGNORE
,
1570 true, // 'out' by parameter sweep inversion
1571 false // scale isotrophically to target size
1574 // mapped to ParallelSnakesWipe (flipOnYAxis=true, opposite=true):
1575 animations::TransitionType::PARALLELSNAKESWIPE
,
1576 animations::TransitionSubType::HORIZONTALTOPLEFTOPPOSITE
,
1577 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1581 TransitionInfo::REVERSEMETHOD_IGNORE
,
1582 true, // 'out' by parameter sweep inversion
1583 false // scale isotrophically to target size
1586 // mapped to ParallelSnakesWipe (opposite=true):
1587 animations::TransitionType::PARALLELSNAKESWIPE
,
1588 animations::TransitionSubType::HORIZONTALTOPRIGHTOPPOSITE
,
1589 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1593 TransitionInfo::REVERSEMETHOD_IGNORE
,
1594 true, // 'out' by parameter sweep inversion
1595 false // scale isotrophically to target size
1598 // mapped to ParallelSnakesWipe (diagonal=true, opposite=true):
1599 animations::TransitionType::PARALLELSNAKESWIPE
,
1600 animations::TransitionSubType::DIAGONALBOTTOMLEFTOPPOSITE
,
1601 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1605 TransitionInfo::REVERSEMETHOD_IGNORE
,
1606 true, // 'out' by parameter sweep inversion
1607 false // scale isotrophically to target size
1610 // mapped to ParallelSnakesWipe (diagonal=true, opposite=true,
1611 // flipOnYAxis=true):
1612 animations::TransitionType::PARALLELSNAKESWIPE
,
1613 animations::TransitionSubType::DIAGONALTOPLEFTOPPOSITE
,
1614 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1618 TransitionInfo::REVERSEMETHOD_IGNORE
,
1619 true, // 'out' by parameter sweep inversion
1620 false // scale isotrophically to target size
1624 // mapped to BoxSnakesWipe:
1625 animations::TransitionType::BOXSNAKESWIPE
,
1626 animations::TransitionSubType::TWOBOXTOP
, // (340)
1627 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1631 TransitionInfo::REVERSEMETHOD_IGNORE
,
1632 true, // 'out' by parameter sweep inversion
1633 false // scale isotrophically to target size
1636 // mapped to BoxSnakesWipe:
1637 animations::TransitionType::BOXSNAKESWIPE
,
1638 animations::TransitionSubType::TWOBOXBOTTOM
, // (341)
1639 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1643 TransitionInfo::REVERSEMETHOD_IGNORE
,
1644 true, // 'out' by parameter sweep inversion
1645 false // scale isotrophically to target size
1648 // mapped to BoxSnakesWipe:
1649 animations::TransitionType::BOXSNAKESWIPE
,
1650 animations::TransitionSubType::TWOBOXLEFT
, // (342)
1651 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1655 TransitionInfo::REVERSEMETHOD_IGNORE
,
1656 true, // 'out' by parameter sweep inversion
1657 false // scale isotrophically to target size
1660 // mapped to BoxSnakesWipe:
1661 animations::TransitionType::BOXSNAKESWIPE
,
1662 animations::TransitionSubType::TWOBOXRIGHT
, // (343)
1663 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1667 TransitionInfo::REVERSEMETHOD_IGNORE
,
1668 true, // 'out' by parameter sweep inversion
1669 false // scale isotrophically to target size
1672 // mapped to BoxSnakesWipe(fourBox=true):
1673 animations::TransitionType::BOXSNAKESWIPE
,
1674 animations::TransitionSubType::FOURBOXVERTICAL
, // (344)
1675 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1679 TransitionInfo::REVERSEMETHOD_IGNORE
,
1680 true, // 'out' by parameter sweep inversion
1681 false // scale isotrophically to target size
1684 // mapped to BoxSnakesWipe(fourBox=true):
1685 animations::TransitionType::BOXSNAKESWIPE
,
1686 animations::TransitionSubType::FOURBOXHORIZONTAL
, // (345)
1687 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1691 TransitionInfo::REVERSEMETHOD_IGNORE
,
1692 true, // 'out' by parameter sweep inversion
1693 false // scale isotrophically to target size
1697 // mapped to WaterfallWipe:
1698 animations::TransitionType::WATERFALLWIPE
,
1699 animations::TransitionSubType::VERTICALLEFT
, // (350)
1700 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1704 TransitionInfo::REVERSEMETHOD_ROTATE_180
,
1705 true, // 'out' by parameter sweep inversion
1706 false // scale isotrophically to target size
1709 // mapped to WaterfallWipe (flipOnYAxis=true):
1710 animations::TransitionType::WATERFALLWIPE
,
1711 animations::TransitionSubType::VERTICALRIGHT
, // (351)
1712 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1716 TransitionInfo::REVERSEMETHOD_ROTATE_180
,
1717 true, // 'out' by parameter sweep inversion
1718 false // scale isotrophically to target size
1721 // mapped to WaterfallWipe (flipOnYAxis=true):
1722 animations::TransitionType::WATERFALLWIPE
,
1723 animations::TransitionSubType::HORIZONTALLEFT
, // (352)
1724 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1728 TransitionInfo::REVERSEMETHOD_ROTATE_180
,
1729 true, // 'out' by parameter sweep inversion
1730 false // scale isotrophically to target size
1733 // mapped to WaterfallWipe, flipOnYAxis=false:
1734 animations::TransitionType::WATERFALLWIPE
,
1735 animations::TransitionSubType::HORIZONTALRIGHT
, // (353)
1736 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
1740 TransitionInfo::REVERSEMETHOD_ROTATE_180
,
1741 true, // 'out' by parameter sweep inversion
1742 false // scale isotrophically to target size
1746 animations::TransitionType::PUSHWIPE
,
1747 animations::TransitionSubType::FROMLEFT
,
1748 TransitionInfo::TRANSITION_SPECIAL
,
1749 // TODO(F2): Setup parameters
1753 TransitionInfo::REVERSEMETHOD_IGNORE
,
1754 true, // 'out' by parameter sweep inversion
1755 false // scale isotrophically to target size
1758 animations::TransitionType::PUSHWIPE
,
1759 animations::TransitionSubType::FROMTOP
,
1760 TransitionInfo::TRANSITION_SPECIAL
,
1761 // TODO(F2): Setup parameters
1765 TransitionInfo::REVERSEMETHOD_IGNORE
,
1766 true, // 'out' by parameter sweep inversion
1767 false // scale isotrophically to target size
1770 animations::TransitionType::PUSHWIPE
,
1771 animations::TransitionSubType::FROMRIGHT
,
1772 TransitionInfo::TRANSITION_SPECIAL
,
1773 // TODO(F2): Setup parameters
1777 TransitionInfo::REVERSEMETHOD_IGNORE
,
1778 true, // 'out' by parameter sweep inversion
1779 false // scale isotrophically to target size
1782 animations::TransitionType::PUSHWIPE
,
1783 animations::TransitionSubType::FROMBOTTOM
,
1784 TransitionInfo::TRANSITION_SPECIAL
,
1785 // TODO(F2): Setup parameters
1789 TransitionInfo::REVERSEMETHOD_IGNORE
,
1790 true, // 'out' by parameter sweep inversion
1791 false // scale isotrophically to target size
1794 animations::TransitionType::PUSHWIPE
,
1795 animations::TransitionSubType::FROMBOTTOMRIGHT
,
1796 TransitionInfo::TRANSITION_SPECIAL
,
1797 // TODO(F2): Setup parameters
1801 TransitionInfo::REVERSEMETHOD_IGNORE
,
1802 true, // 'out' by parameter sweep inversion
1803 false // scale isotrophically to target size
1806 animations::TransitionType::PUSHWIPE
,
1807 animations::TransitionSubType::FROMBOTTOMLEFT
,
1808 TransitionInfo::TRANSITION_SPECIAL
,
1809 // TODO(F2): Setup parameters
1813 TransitionInfo::REVERSEMETHOD_IGNORE
,
1814 true, // 'out' by parameter sweep inversion
1815 false // scale isotrophically to target size
1818 animations::TransitionType::PUSHWIPE
,
1819 animations::TransitionSubType::FROMTOPRIGHT
,
1820 TransitionInfo::TRANSITION_SPECIAL
,
1821 // TODO(F2): Setup parameters
1825 TransitionInfo::REVERSEMETHOD_IGNORE
,
1826 true, // 'out' by parameter sweep inversion
1827 false // scale isotrophically to target size
1830 animations::TransitionType::PUSHWIPE
,
1831 animations::TransitionSubType::FROMTOPLEFT
,
1832 TransitionInfo::TRANSITION_SPECIAL
,
1833 // TODO(F2): Setup parameters
1837 TransitionInfo::REVERSEMETHOD_IGNORE
,
1838 true, // 'out' by parameter sweep inversion
1839 false // scale isotrophically to target size
1842 animations::TransitionType::PUSHWIPE
,
1843 animations::TransitionSubType::COMBHORIZONTAL
,
1844 TransitionInfo::TRANSITION_SPECIAL
,
1845 // TODO(F2): Setup parameters
1849 TransitionInfo::REVERSEMETHOD_FLIP_X
,
1850 true, // 'out' by parameter sweep inversion
1851 false // scale isotrophically to target size
1854 animations::TransitionType::PUSHWIPE
,
1855 animations::TransitionSubType::COMBVERTICAL
,
1856 TransitionInfo::TRANSITION_SPECIAL
,
1857 // TODO(F2): Setup parameters
1861 TransitionInfo::REVERSEMETHOD_FLIP_X
,
1862 true, // 'out' by parameter sweep inversion
1863 false // scale isotrophically to target size
1866 animations::TransitionType::SLIDEWIPE
,
1867 animations::TransitionSubType::FROMLEFT
,
1868 TransitionInfo::TRANSITION_SPECIAL
,
1869 // TODO(F2): Setup parameters
1873 TransitionInfo::REVERSEMETHOD_IGNORE
, // special code for this transition
1874 true, // 'out' by parameter sweep inversion
1875 false // scale isotrophically to target size
1878 animations::TransitionType::SLIDEWIPE
,
1879 animations::TransitionSubType::FROMTOP
,
1880 TransitionInfo::TRANSITION_SPECIAL
,
1881 // TODO(F2): Setup parameters
1885 TransitionInfo::REVERSEMETHOD_IGNORE
, // special code for this transition
1886 true, // 'out' by parameter sweep inversion
1887 false // scale isotrophically to target size
1890 animations::TransitionType::SLIDEWIPE
,
1891 animations::TransitionSubType::FROMRIGHT
,
1892 TransitionInfo::TRANSITION_SPECIAL
,
1893 // TODO(F2): Setup parameters
1897 TransitionInfo::REVERSEMETHOD_IGNORE
, // special code for this transition
1898 true, // 'out' by parameter sweep inversion
1899 false // scale isotrophically to target size
1902 animations::TransitionType::SLIDEWIPE
,
1903 animations::TransitionSubType::FROMBOTTOM
,
1904 TransitionInfo::TRANSITION_SPECIAL
,
1905 // TODO(F2): Setup parameters
1909 TransitionInfo::REVERSEMETHOD_IGNORE
, // special code for this transition
1910 true, // 'out' by parameter sweep inversion
1911 false // scale isotrophically to target size
1914 animations::TransitionType::SLIDEWIPE
,
1915 animations::TransitionSubType::FROMBOTTOMRIGHT
,
1916 TransitionInfo::TRANSITION_SPECIAL
,
1917 // TODO(F2): Setup parameters
1921 TransitionInfo::REVERSEMETHOD_IGNORE
, // special code for this transition
1922 true, // 'out' by parameter sweep inversion
1923 false // scale isotrophically to target size
1926 animations::TransitionType::SLIDEWIPE
,
1927 animations::TransitionSubType::FROMTOPRIGHT
,
1928 TransitionInfo::TRANSITION_SPECIAL
,
1929 // TODO(F2): Setup parameters
1933 TransitionInfo::REVERSEMETHOD_IGNORE
, // special code for this transition
1934 true, // 'out' by parameter sweep inversion
1935 false // scale isotrophically to target size
1938 animations::TransitionType::SLIDEWIPE
,
1939 animations::TransitionSubType::FROMTOPLEFT
,
1940 TransitionInfo::TRANSITION_SPECIAL
,
1941 // TODO(F2): Setup parameters
1945 TransitionInfo::REVERSEMETHOD_IGNORE
, // special code for this transition
1946 true, // 'out' by parameter sweep inversion
1947 false // scale isotrophically to target size
1950 animations::TransitionType::SLIDEWIPE
,
1951 animations::TransitionSubType::FROMBOTTOMLEFT
,
1952 TransitionInfo::TRANSITION_SPECIAL
,
1953 // TODO(F2): Setup parameters
1957 TransitionInfo::REVERSEMETHOD_IGNORE
, // special code for this transition
1958 true, // 'out' by parameter sweep inversion
1959 false // scale isotrophically to target size
1962 animations::TransitionType::FADE
,
1963 animations::TransitionSubType::CROSSFADE
,
1964 TransitionInfo::TRANSITION_SPECIAL
,
1965 // TODO(F2): Setup parameters
1969 TransitionInfo::REVERSEMETHOD_IGNORE
,
1970 true, // 'out' by parameter sweep inversion
1971 false // scale isotrophically to target size
1974 animations::TransitionType::FADE
,
1975 animations::TransitionSubType::FADETOCOLOR
,
1976 TransitionInfo::TRANSITION_SPECIAL
,
1977 // TODO(F2): Setup parameters
1981 TransitionInfo::REVERSEMETHOD_IGNORE
,
1982 true, // 'out' by parameter sweep inversion
1983 false // scale isotrophically to target size
1986 animations::TransitionType::FADE
,
1987 animations::TransitionSubType::FADEFROMCOLOR
,
1988 TransitionInfo::TRANSITION_SPECIAL
,
1989 // TODO(F2): Setup parameters
1993 TransitionInfo::REVERSEMETHOD_IGNORE
,
1994 true, // 'out' by parameter sweep inversion
1995 false // scale isotrophically to target size
1998 animations::TransitionType::FADE
,
1999 animations::TransitionSubType::FADEOVERCOLOR
,
2000 TransitionInfo::TRANSITION_SPECIAL
,
2001 // TODO(F2): Setup parameters
2005 TransitionInfo::REVERSEMETHOD_IGNORE
,
2006 true, // 'out' by parameter sweep inversion
2007 false // scale isotrophically to target size
2009 // this is the cut through black fade (does not fade, but does a
2012 animations::TransitionType::BARWIPE
,
2013 animations::TransitionSubType::FADEOVERCOLOR
,
2014 TransitionInfo::TRANSITION_SPECIAL
,
2015 // TODO(F2): Setup parameters
2019 TransitionInfo::REVERSEMETHOD_IGNORE
,
2020 true, // 'out' by parameter sweep inversion
2021 false // scale isotrophically to target size
2025 // mapped to RandomWipe:
2026 animations::TransitionType::RANDOMBARWIPE
,
2027 animations::TransitionSubType::VERTICAL
,
2028 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
2032 TransitionInfo::REVERSEMETHOD_IGNORE
,
2033 true, // 'out' by parameter sweep inversion
2034 false // scale isotrophically to target size
2037 // mapped to RandomWipe:
2038 animations::TransitionType::RANDOMBARWIPE
,
2039 animations::TransitionSubType::HORIZONTAL
,
2040 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
2044 TransitionInfo::REVERSEMETHOD_IGNORE
,
2045 true, // 'out' by parameter sweep inversion
2046 false // scale isotrophically to target size
2050 // mapped to CheckerBoard:
2051 animations::TransitionType::CHECKERBOARDWIPE
,
2052 animations::TransitionSubType::DOWN
,
2053 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
2057 TransitionInfo::REVERSEMETHOD_FLIP_Y
,
2058 true, // 'out' by parameter sweep inversion
2059 false // scale isotrophically to target size
2062 // mapped to CheckerBoard:
2063 animations::TransitionType::CHECKERBOARDWIPE
,
2064 animations::TransitionSubType::ACROSS
, // (default)
2065 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
2069 TransitionInfo::REVERSEMETHOD_FLIP_X
,
2070 true, // 'out' by parameter sweep inversion
2071 false // scale isotrophically to target size
2075 // mapped to RandomWipe:
2076 animations::TransitionType::DISSOLVE
,
2077 animations::TransitionSubType::DEFAULT
,
2078 TransitionInfo::TRANSITION_CLIP_POLYPOLYGON
,
2082 TransitionInfo::REVERSEMETHOD_IGNORE
,
2083 true, // 'out' by parameter sweep inversion
2084 true // scale isotrophically to target size
2088 // NOTE: This entry MUST be the last, to keep
2089 // createSlideTransition() from infinite recursion. Because
2090 // getRandomTransitionInfo() below will exclude the last entry of
2091 // the table from the random number generation.
2094 // specially handled
2095 animations::TransitionType::RANDOM
,
2096 animations::TransitionSubType::DEFAULT
,
2097 TransitionInfo::TRANSITION_SPECIAL
,
2101 TransitionInfo::REVERSEMETHOD_IGNORE
,
2102 true, // 'out' by parameter sweep inversion
2103 true // scale isotrophically to target size
2106 // NOTE: DON'T add after this entry! See comment above!
2112 const TransitionInfo
* getTransitionInfo(
2113 sal_Int16 nTransitionType
, sal_Int16 nTransitionSubType
)
2115 static const TransitionInfo
* pTableEnd
= lcl_transitionInfo
+
2116 SAL_N_ELEMENTS(lcl_transitionInfo
);
2118 const TransitionInfo
* pRes
= ::std::find_if(
2119 lcl_transitionInfo
, pTableEnd
,
2120 TransitionInfo::Comparator( nTransitionType
,
2121 nTransitionSubType
) );
2122 if (pRes
!= pTableEnd
)
2128 const TransitionInfo
* getRandomTransitionInfo()
2130 return lcl_transitionInfo
+ getRandomOrdinal(
2131 SAL_N_ELEMENTS(lcl_transitionInfo
)
2132 - 1 /* exclude random transition at end of table */ );
2135 } // namespace internal
2136 } // namespace presentation
2138 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */