summaryrefslogtreecommitdiff
path: root/include/drawinglayer/primitive2d/backgroundcolorprimitive2d.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/drawinglayer/primitive2d/backgroundcolorprimitive2d.hxx')
-rw-r--r--include/drawinglayer/primitive2d/backgroundcolorprimitive2d.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/drawinglayer/primitive2d/backgroundcolorprimitive2d.hxx b/include/drawinglayer/primitive2d/backgroundcolorprimitive2d.hxx
index 3b789eb00bcb..def2b431c48d 100644
--- a/include/drawinglayer/primitive2d/backgroundcolorprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/backgroundcolorprimitive2d.hxx
@@ -48,6 +48,7 @@ namespace drawinglayer
private:
/// the fill color to use
basegfx::BColor maBColor;
+ double mfTransparency;
/// the last used viewInformation, used from getDecomposition for buffering
basegfx::B2DRange maLastViewport;
@@ -59,10 +60,12 @@ namespace drawinglayer
public:
/// constructor
explicit BackgroundColorPrimitive2D(
- const basegfx::BColor& rBColor);
+ const basegfx::BColor& rBColor,
+ double fTransparency = 0);
/// data read access
const basegfx::BColor& getBColor() const { return maBColor; }
+ double getTransparency() const { return mfTransparency; }
/// compare operator
virtual bool operator==(const BasePrimitive2D& rPrimitive) const SAL_OVERRIDE;