LibreOffice Module drawinglayer (master) 1
Namespaces | Functions
graphicprimitivehelper2d.cxx File Reference
#include <sal/config.h>
#include <algorithm>
#include <primitive2d/graphicprimitivehelper2d.hxx>
#include <drawinglayer/animation/animationtiming.hxx>
#include <drawinglayer/primitive2d/bitmapprimitive2d.hxx>
#include <drawinglayer/primitive2d/animatedprimitive2d.hxx>
#include <drawinglayer/primitive2d/metafileprimitive2d.hxx>
#include <drawinglayer/primitive2d/transformprimitive2d.hxx>
#include <drawinglayer/primitive2d/maskprimitive2d.hxx>
#include <drawinglayer/primitive2d/modifiedcolorprimitive2d.hxx>
#include <drawinglayer/geometry/viewinformation2d.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/numeric/ftools.hxx>
#include <utility>
#include <vcl/animate/Animation.hxx>
#include <vcl/graph.hxx>
#include <vcl/virdev.hxx>
#include <vcl/svapp.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <vcl/skia/SkiaHelper.hxx>
Include dependency graph for graphicprimitivehelper2d.cxx:

Go to the source code of this file.

Namespaces

namespace  drawinglayer
 
namespace  drawinglayer::primitive2d
 

Functions

void drawinglayer::primitive2d::create2DDecompositionOfGraphic (Primitive2DContainer &rContainer, const Graphic &rGraphic, const basegfx::B2DHomMatrix &rTransform)
 Helper method with supports decomposing a Graphic with all possible contents to lower level primitives. More...
 
Primitive2DContainer drawinglayer::primitive2d::create2DColorModifierEmbeddingsAsNeeded (Primitive2DContainer &&rChildren, GraphicDrawMode aGraphicDrawMode, double fLuminance=0.0, double fContrast=0.0, double fRed=0.0, double fGreen=0.0, double fBlue=0.0, double fGamma=1.0, bool bInvert=false)
 Helper to embed given sequence of primitives to evtl. More...
 

Variable Documentation

◆ maAnimation

::Animation maAnimation
private

local animation processing data, excerpt from maGraphic

Definition at line 65 of file graphicprimitivehelper2d.cxx.

◆ maBufferedFirstFrame

Primitive2DReference maBufferedFirstFrame
private

buffering of 1st frame (always active)

Definition at line 75 of file graphicprimitivehelper2d.cxx.

◆ maBufferedPrimitives

std::vector<Primitive2DReference> maBufferedPrimitives
private

buffering of all frames

Definition at line 78 of file graphicprimitivehelper2d.cxx.

◆ maGraphic

const Graphic maGraphic
private

the Graphic with all its content possibilities, here only animated is allowed and gets checked by isValidData().

an instance of Graphic is used here since it's ref-counted and thus a safe copy for now

Definition at line 62 of file graphicprimitivehelper2d.cxx.

◆ maTransform

basegfx::B2DHomMatrix maTransform
private

◆ maVirtualDevice

ScopedVclPtrInstance< VirtualDevice > maVirtualDevice
private

the on-demand created VirtualDevices for frame creation

Definition at line 68 of file graphicprimitivehelper2d.cxx.

◆ maVirtualDeviceMask

ScopedVclPtrInstance< VirtualDevice > maVirtualDeviceMask
private

Definition at line 69 of file graphicprimitivehelper2d.cxx.

◆ mbBufferingAllowed

bool mbBufferingAllowed
private

Definition at line 79 of file graphicprimitivehelper2d.cxx.

◆ mbHugeSize

bool mbHugeSize
private

set if the animation is huge so that just always the next frame is used instead of using timing

Definition at line 83 of file graphicprimitivehelper2d.cxx.

◆ mnNextFrameToPrepare

sal_uInt32 mnNextFrameToPrepare
private

Definition at line 72 of file graphicprimitivehelper2d.cxx.