LibreOffice Module slideshow (master) 1
Classes | Public Types | Public Attributes | List of all members
slideshow::internal::TransitionInfo Struct Reference

#include <transitioninfo.hxx>

Classes

class  Comparator
 Compare against type and subtype. More...
 

Public Types

enum  TransitionClass {
  TRANSITION_INVALID ,
  TRANSITION_CLIP_POLYPOLYGON ,
  TRANSITION_SPECIAL
}
 This enum classifies a transition type. More...
 
enum class  ReverseMethod {
  Ignore ,
  SubtractAndInvert ,
  Rotate180 ,
  FlipX ,
  FlipY
}
 This enum determines the method how to reverse a parametric clip polygon transition. More...
 

Public Attributes

sal_Int16 mnTransitionType
 
sal_Int16 mnTransitionSubType
 
TransitionClass meTransitionClass
 class of effect handling More...
 
double mnRotationAngle
 Rotation angle of clip polygon. More...
 
double mnScaleX
 X scaling of clip polygon (negative values mirror) More...
 
double mnScaleY
 Y scaling of clip polygon (negative values mirror) More...
 
ReverseMethod meReverseMethod
 Indicating the method to use when transition should be 'reversed'. More...
 
bool mbOutInvertsSweep
 When true, transition 'out' effects are realized by inverting the parameter sweep direction (1->0 instead of 0->1). More...
 
bool mbScaleIsotrophically
 when true, scale clip polygon isotropically to target size. More...
 

Detailed Description

Definition at line 28 of file transitioninfo.hxx.

Member Enumeration Documentation

◆ ReverseMethod

This enum determines the method how to reverse a parametric clip polygon transition.

A reversed transition runs in the geometrically opposite direction. For a left-to-right bar wipe, the reversed transition is a right-to-left wipe, whereas for an iris transition, the reversed mode will show the target in the outer area (instead of in the inner area, as in normal mode).

Enumerator
Ignore 

Ignore direction attribute altogether (if it has no sensible meaning for this transition)

SubtractAndInvert 

Combination of ReverseMethod::InvertSweep and ReverseMethod::SubtractPolygon.

Rotate180 

Reverse by rotating polygon 180 degrees.

FlipX 

Reverse by flipping polygon at the y (!) axis.

FlipY 

Reverse by flipping polygon at the x (!) axis.

Definition at line 77 of file transitioninfo.hxx.

◆ TransitionClass

This enum classifies a transition type.

Enumerator
TRANSITION_INVALID 

Invalid type.

TRANSITION_CLIP_POLYPOLYGON 

Transition expressed by parametric clip polygon.

TRANSITION_SPECIAL 

Transition expressed by hand-crafted function.

Definition at line 43 of file transitioninfo.hxx.

Member Data Documentation

◆ mbOutInvertsSweep

bool slideshow::internal::TransitionInfo::mbOutInvertsSweep

When true, transition 'out' effects are realized by inverting the parameter sweep direction (1->0 instead of 0->1).

Otherwise, 'out' effects are realized by changing inside and outside areas of the parametric poly-polygon.

Definition at line 112 of file transitioninfo.hxx.

Referenced by slideshow::internal::ClippingFunctor::ClippingFunctor().

◆ mbScaleIsotrophically

bool slideshow::internal::TransitionInfo::mbScaleIsotrophically

when true, scale clip polygon isotropically to target size.

when false, scale is anisotropically.

Definition at line 118 of file transitioninfo.hxx.

◆ meReverseMethod

ReverseMethod slideshow::internal::TransitionInfo::meReverseMethod

Indicating the method to use when transition should be 'reversed'.

See also
ReverseMethod

Definition at line 104 of file transitioninfo.hxx.

Referenced by slideshow::internal::ClippingFunctor::ClippingFunctor().

◆ meTransitionClass

TransitionClass slideshow::internal::TransitionInfo::meTransitionClass

class of effect handling

Definition at line 56 of file transitioninfo.hxx.

◆ mnRotationAngle

double slideshow::internal::TransitionInfo::mnRotationAngle

Rotation angle of clip polygon.

Definition at line 59 of file transitioninfo.hxx.

Referenced by slideshow::internal::ClippingFunctor::ClippingFunctor().

◆ mnScaleX

double slideshow::internal::TransitionInfo::mnScaleX

X scaling of clip polygon (negative values mirror)

Definition at line 62 of file transitioninfo.hxx.

Referenced by slideshow::internal::ClippingFunctor::ClippingFunctor().

◆ mnScaleY

double slideshow::internal::TransitionInfo::mnScaleY

Y scaling of clip polygon (negative values mirror)

Definition at line 65 of file transitioninfo.hxx.

Referenced by slideshow::internal::ClippingFunctor::ClippingFunctor().

◆ mnTransitionSubType

sal_Int16 slideshow::internal::TransitionInfo::mnTransitionSubType

◆ mnTransitionType

sal_Int16 slideshow::internal::TransitionInfo::mnTransitionType

The documentation for this struct was generated from the following file: