LibreOffice Module slideshow (master) 1
Public Member Functions | Private Attributes | List of all members
slideshow::internal::ClippingFunctor Class Reference

Generates the final clipping polygon. More...

#include <clippingfunctor.hxx>

Collaboration diagram for slideshow::internal::ClippingFunctor:
[legend]

Public Member Functions

 ClippingFunctor (const ParametricPolyPolygonSharedPtr &rPolygon, const TransitionInfo &rTransitionInfo, bool bDirectionForward, bool bModeIn)
 
::basegfx::B2DPolyPolygon operator() (double nValue, const ::basegfx::B2DSize &rTargetSize)
 Generate clip polygon. More...
 

Private Attributes

ParametricPolyPolygonSharedPtr mpParametricPoly
 
::basegfx::B2DHomMatrix maStaticTransformation
 
bool mbForwardParameterSweep
 
bool mbSubtractPolygon
 
const bool mbScaleIsotrophically
 
bool mbFlip
 

Detailed Description

Generates the final clipping polygon.

This class serves as the functor, which generates the final clipping polygon from a given ParametricPolyPolygon and a TransitionInfo.

The ParametricPolyPolygon can be obtained from the ParametricPolyPolygonFactory, see there.

The TransitionInfo further parametrizes the polygon generated by the ParametricPolyPolygon, with common modifications such as rotation, flipping, or change of direction. This allows the ParametricPolyPolygonFactory to provide only prototypical shapes, with the ClippingFunctor further customizing the output.

Definition at line 47 of file clippingfunctor.hxx.

Constructor & Destructor Documentation

◆ ClippingFunctor()

slideshow::internal::ClippingFunctor::ClippingFunctor ( const ParametricPolyPolygonSharedPtr rPolygon,
const TransitionInfo rTransitionInfo,
bool  bDirectionForward,
bool  bModeIn 
)

Member Function Documentation

◆ operator()()

basegfx::B2DPolyPolygon slideshow::internal::ClippingFunctor::operator() ( double  nValue,
const ::basegfx::B2DSize rTargetSize 
)

Member Data Documentation

◆ maStaticTransformation

::basegfx::B2DHomMatrix slideshow::internal::ClippingFunctor::maStaticTransformation
private

Definition at line 71 of file clippingfunctor.hxx.

Referenced by ClippingFunctor(), and operator()().

◆ mbFlip

bool slideshow::internal::ClippingFunctor::mbFlip
private

Definition at line 77 of file clippingfunctor.hxx.

Referenced by ClippingFunctor(), and operator()().

◆ mbForwardParameterSweep

bool slideshow::internal::ClippingFunctor::mbForwardParameterSweep
private

Definition at line 74 of file clippingfunctor.hxx.

Referenced by ClippingFunctor(), and operator()().

◆ mbScaleIsotrophically

const bool slideshow::internal::ClippingFunctor::mbScaleIsotrophically
private

Definition at line 76 of file clippingfunctor.hxx.

Referenced by operator()().

◆ mbSubtractPolygon

bool slideshow::internal::ClippingFunctor::mbSubtractPolygon
private

Definition at line 75 of file clippingfunctor.hxx.

Referenced by ClippingFunctor(), and operator()().

◆ mpParametricPoly

ParametricPolyPolygonSharedPtr slideshow::internal::ClippingFunctor::mpParametricPoly
private

Definition at line 70 of file clippingfunctor.hxx.


The documentation for this class was generated from the following files: