LibreOffice Module drawinglayer (master) 1
|
#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>
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... | |
|
private |
local animation processing data, excerpt from maGraphic
Definition at line 65 of file graphicprimitivehelper2d.cxx.
|
private |
buffering of 1st frame (always active)
Definition at line 75 of file graphicprimitivehelper2d.cxx.
|
private |
buffering of all frames
Definition at line 78 of file graphicprimitivehelper2d.cxx.
|
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.
|
private |
the geometric definition
Definition at line 55 of file graphicprimitivehelper2d.cxx.
Referenced by drawinglayer::primitive2d::BitmapPrimitive2D::getTransform(), drawinglayer::primitive2d::ControlPrimitive2D::getTransform(), drawinglayer::primitive2d::DiscreteShadowPrimitive2D::getTransform(), drawinglayer::primitive2d::GraphicPrimitive2D::getTransform(), drawinglayer::primitive2d::GridPrimitive2D::getTransform(), drawinglayer::primitive2d::MediaPrimitive2D::getTransform(), drawinglayer::primitive2d::PagePreviewPrimitive2D::getTransform(), and drawinglayer::primitive3d::SdrPrimitive3D::getTransform().
|
private |
the on-demand created VirtualDevices for frame creation
Definition at line 68 of file graphicprimitivehelper2d.cxx.
|
private |
Definition at line 69 of file graphicprimitivehelper2d.cxx.
|
private |
Definition at line 79 of file graphicprimitivehelper2d.cxx.
|
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.
|
private |
Definition at line 72 of file graphicprimitivehelper2d.cxx.