summaryrefslogtreecommitdiff
path: root/svx/inc/svx/sdr/overlay/overlaybitmapex.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/inc/svx/sdr/overlay/overlaybitmapex.hxx')
-rw-r--r--svx/inc/svx/sdr/overlay/overlaybitmapex.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/svx/inc/svx/sdr/overlay/overlaybitmapex.hxx b/svx/inc/svx/sdr/overlay/overlaybitmapex.hxx
index e702e7a194..6824803ce7 100644
--- a/svx/inc/svx/sdr/overlay/overlaybitmapex.hxx
+++ b/svx/inc/svx/sdr/overlay/overlaybitmapex.hxx
@@ -46,6 +46,9 @@ namespace sdr
// position of the basePosition inside the Bitmap, in pixels
sal_uInt16 mnCenterX;
sal_uInt16 mnCenterY;
+
+ // optional transparency
+ double mfAlpha;
virtual drawinglayer::primitive2d::Primitive2DSequence createOverlayObjectPrimitive2DSequence();
@@ -53,7 +56,7 @@ namespace sdr
OverlayBitmapEx(
const basegfx::B2DPoint& rBasePos,
const BitmapEx& rBitmapEx,
- sal_uInt16 nCenX = 0, sal_uInt16 nCenY = 0);
+ sal_uInt16 nCenX = 0, sal_uInt16 nCenY = 0, double fAlpha = 0.0 );
virtual ~OverlayBitmapEx();
const BitmapEx& getBitmapEx() const { return maBitmapEx; }