summaryrefslogtreecommitdiff
path: root/drawinglayer/inc/drawinglayer/processor2d/vclprocessor2d.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/inc/drawinglayer/processor2d/vclprocessor2d.hxx')
-rw-r--r--drawinglayer/inc/drawinglayer/processor2d/vclprocessor2d.hxx19
1 files changed, 17 insertions, 2 deletions
diff --git a/drawinglayer/inc/drawinglayer/processor2d/vclprocessor2d.hxx b/drawinglayer/inc/drawinglayer/processor2d/vclprocessor2d.hxx
index 679736ac8049..dc9bdc1d10fe 100644
--- a/drawinglayer/inc/drawinglayer/processor2d/vclprocessor2d.hxx
+++ b/drawinglayer/inc/drawinglayer/processor2d/vclprocessor2d.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: vclprocessor2d.hxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: aw $ $Date: 2007-11-20 10:20:08 $
+ * last change: $Author: aw $ $Date: 2007-12-12 13:23:39 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -52,6 +52,10 @@
#include <basegfx/polygon/b2dpolypolygon.hxx>
#endif
+#ifndef INCLUDED_SVTOOLS_OPTIONSDRAWINGLAYER_HXX
+#include <svtools/optionsdrawinglayer.hxx>
+#endif
+
//////////////////////////////////////////////////////////////////////////////
// predefines
class OutputDevice;
@@ -93,6 +97,9 @@ namespace drawinglayer
// the current transformation
basegfx::B2DHomMatrix maCurrentTransformation;
+ // SvtOptionsDrawinglayer incarnation to react on diverse settings
+ const SvtOptionsDrawinglayer maDrawinglayerOpt;
+
//////////////////////////////////////////////////////////////////////////////
// common VCL rendering support
@@ -113,6 +120,11 @@ namespace drawinglayer
void RenderPolygonStrokePrimitive2D(const primitive2d::PolygonStrokePrimitive2D& rPolygonStrokeCandidate);
/////////////////////////////////////////////////////////////////////////////
+ // DrawMode adaption support
+ void adaptLineToFillDrawMode() const;
+ void adaptTextToFillDrawMode() const;
+
+ /////////////////////////////////////////////////////////////////////////////
// FormControl support
basegfx::B2DPoint PositionAndSizeControl(const primitive2d::ControlPrimitive2D& rControlPrimitive2D);
@@ -132,6 +144,9 @@ namespace drawinglayer
// directly when it's a BasePrinitive2D implementation. This is used as tooling from derived
// implementations
virtual void process(const primitive2d::Primitive2DSequence& rSource);
+
+ // access to Drawinglayer configuration options
+ const SvtOptionsDrawinglayer& getOptionsDrawinglayer() const { return maDrawinglayerOpt; }
};
} // end of namespace processor2d
} // end of namespace drawinglayer