diff options
author | Armin Le Grand <Armin.Le.Grand@Sun.COM> | 2009-11-24 12:13:33 +0100 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@Sun.COM> | 2009-11-24 12:13:33 +0100 |
commit | 3f1ff108b3379c52b3ddb848cc1c603f554d0967 (patch) | |
tree | 80936a252c1685b3acfef2751e4aac004da4b9b5 /drawinglayer | |
parent | a250306f8fb95f935ac6318850434b79ca21dc8d (diff) |
#i103340# added MaskPrimitive2D::getB2DRange implementation
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/inc/drawinglayer/primitive2d/maskprimitive2d.hxx | 3 | ||||
-rw-r--r-- | drawinglayer/source/primitive2d/maskprimitive2d.cxx | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/drawinglayer/inc/drawinglayer/primitive2d/maskprimitive2d.hxx b/drawinglayer/inc/drawinglayer/primitive2d/maskprimitive2d.hxx index 72d5bd3b9b6b..e5cb12e6e87c 100644 --- a/drawinglayer/inc/drawinglayer/primitive2d/maskprimitive2d.hxx +++ b/drawinglayer/inc/drawinglayer/primitive2d/maskprimitive2d.hxx @@ -77,6 +77,9 @@ namespace drawinglayer /// compare operator virtual bool operator==(const BasePrimitive2D& rPrimitive) const; + /// get range + virtual basegfx::B2DRange getB2DRange(const geometry::ViewInformation2D& rViewInformation) const; + /// provide unique ID DeclPrimitrive2DIDBlock() }; diff --git a/drawinglayer/source/primitive2d/maskprimitive2d.cxx b/drawinglayer/source/primitive2d/maskprimitive2d.cxx index 20a4c98db67d..b32abae874ca 100644 --- a/drawinglayer/source/primitive2d/maskprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/maskprimitive2d.cxx @@ -69,6 +69,11 @@ namespace drawinglayer return false; } + basegfx::B2DRange MaskPrimitive2D::getB2DRange(const geometry::ViewInformation2D& /*rViewInformation*/) const + { + return getMask().getB2DRange(); + } + // provide unique ID ImplPrimitrive2DIDBlock(MaskPrimitive2D, PRIMITIVE2D_ID_MASKPRIMITIVE2D) |