diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-01-03 21:44:19 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-01-09 01:09:30 +0100 |
commit | 767f408c64d067e3a70604938b0e050a69e3d563 (patch) | |
tree | 6211bf635062df66764c389d3b541e226cae6f7d /svx/inc | |
parent | 900573fbd77993a48f012b074f498913befbeb26 (diff) |
remove sdrgrafprimitive2d.{cxx,hxx} from excludelist
Change-Id: I9533fe0bb082f6688d6f8030e5bc0d6960abf359
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108844
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx/inc')
-rw-r--r-- | svx/inc/sdr/primitive2d/sdrgrafprimitive2d.hxx | 65 |
1 files changed, 34 insertions, 31 deletions
diff --git a/svx/inc/sdr/primitive2d/sdrgrafprimitive2d.hxx b/svx/inc/sdr/primitive2d/sdrgrafprimitive2d.hxx index 731e0f18c339..1a24f3aab862 100644 --- a/svx/inc/sdr/primitive2d/sdrgrafprimitive2d.hxx +++ b/svx/inc/sdr/primitive2d/sdrgrafprimitive2d.hxx @@ -25,38 +25,41 @@ #include <sdr/attribute/sdrlinefilleffectstextattribute.hxx> namespace drawinglayer::primitive2d +{ +class SdrGrafPrimitive2D final : public BufferedDecompositionPrimitive2D +{ +private: + ::basegfx::B2DHomMatrix maTransform; + attribute::SdrLineFillEffectsTextAttribute maSdrLFSTAttribute; + GraphicObject maGraphicObject; + GraphicAttr maGraphicAttr; + + // local decomposition. + virtual void + create2DDecomposition(Primitive2DContainer& rContainer, + const geometry::ViewInformation2D& aViewInformation) const override; + +public: + SdrGrafPrimitive2D(const ::basegfx::B2DHomMatrix& rTransform, + const attribute::SdrLineFillEffectsTextAttribute& rSdrLFSTAttribute, + const GraphicObject& rGraphicObject, const GraphicAttr& rGraphicAttr); + + // data access + const ::basegfx::B2DHomMatrix& getTransform() const { return maTransform; } + const attribute::SdrLineFillEffectsTextAttribute& getSdrLFSTAttribute() const { - class SdrGrafPrimitive2D final : public BufferedDecompositionPrimitive2D - { - private: - ::basegfx::B2DHomMatrix maTransform; - attribute::SdrLineFillEffectsTextAttribute maSdrLFSTAttribute; - GraphicObject maGraphicObject; - GraphicAttr maGraphicAttr; - - // local decomposition. - virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const override; - - public: - SdrGrafPrimitive2D( - const ::basegfx::B2DHomMatrix& rTransform, - const attribute::SdrLineFillEffectsTextAttribute& rSdrLFSTAttribute, - const GraphicObject& rGraphicObject, - const GraphicAttr& rGraphicAttr); - - // data access - const ::basegfx::B2DHomMatrix& getTransform() const { return maTransform; } - const attribute::SdrLineFillEffectsTextAttribute& getSdrLFSTAttribute() const { return maSdrLFSTAttribute; } - const GraphicObject& getGraphicObject() const { return maGraphicObject; } - const GraphicAttr& getGraphicAttr() const { return maGraphicAttr; } - bool isTransparent() const; - - // compare operator - virtual bool operator==(const BasePrimitive2D& rPrimitive) const override; - - // provide unique ID - virtual sal_uInt32 getPrimitive2DID() const override; - }; + return maSdrLFSTAttribute; + } + const GraphicObject& getGraphicObject() const { return maGraphicObject; } + const GraphicAttr& getGraphicAttr() const { return maGraphicAttr; } + bool isTransparent() const; + + // compare operator + virtual bool operator==(const BasePrimitive2D& rPrimitive) const override; + + // provide unique ID + virtual sal_uInt32 getPrimitive2DID() const override; +}; } // end of namespace drawinglayer::primitive2d /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |