summaryrefslogtreecommitdiff
path: root/drawinglayer/inc/drawinglayer/processor2d
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2007-12-12 12:23:40 +0000
committerArmin Weiss <aw@openoffice.org>2007-12-12 12:23:40 +0000
commitc58ad39340a331ca5b77f39530f5267985b53144 (patch)
tree9f697fd3c7f3c95904140b94e772134f421ee38a /drawinglayer/inc/drawinglayer/processor2d
parent951409194e0404dd794bda0fbd890999d4c394f2 (diff)
#i39532# clipping changes
Diffstat (limited to 'drawinglayer/inc/drawinglayer/processor2d')
-rw-r--r--drawinglayer/inc/drawinglayer/processor2d/vclpixelprocessor2d.hxx11
-rw-r--r--drawinglayer/inc/drawinglayer/processor2d/vclprocessor2d.hxx19
2 files changed, 19 insertions, 11 deletions
diff --git a/drawinglayer/inc/drawinglayer/processor2d/vclpixelprocessor2d.hxx b/drawinglayer/inc/drawinglayer/processor2d/vclpixelprocessor2d.hxx
index e2a3b8b1b4d2..b755fc0fc82d 100644
--- a/drawinglayer/inc/drawinglayer/processor2d/vclpixelprocessor2d.hxx
+++ b/drawinglayer/inc/drawinglayer/processor2d/vclpixelprocessor2d.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: vclpixelprocessor2d.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * 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.
@@ -40,10 +40,6 @@
#include <drawinglayer/processor2d/vclprocessor2d.hxx>
#endif
-#ifndef INCLUDED_SVTOOLS_OPTIONSDRAWINGLAYER_HXX
-#include <svtools/optionsdrawinglayer.hxx>
-#endif
-
//////////////////////////////////////////////////////////////////////////////
// predefines
@@ -56,9 +52,6 @@ namespace drawinglayer
class VclPixelProcessor2D : public VclProcessor2D
{
private:
- // SvtOptionsDrawinglayer incarnation to react on diverse settings
- const SvtOptionsDrawinglayer maDrawinglayerOpt;
-
protected:
// the local processor for BasePrinitive2D-Implementation based primitives,
// called from the common process()-implementation
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