summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-04-28 22:05:43 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-04-28 22:27:11 +1000
commit9a89946c95234b19ded1cecdd50bc1ddbd8f8fcb (patch)
treeb1135ac06545174035f1e89c4483c4fe1d0861b0 /include
parent2fc8e17a017a0f68b5cc6a55e61e100da9d8e4eb (diff)
VCL: Move line functions into state areas
Change-Id: I4a92c66892fbb9687b9e7c521c770150b75229b0
Diffstat (limited to 'include')
-rw-r--r--include/vcl/outdev.hxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 51b40aa32517..9cc34e850c48 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -570,6 +570,11 @@ public:
void SetOutDevViewType( OutDevViewType eOutDevViewType ) { meOutDevViewType=eOutDevViewType; }
OutDevViewType GetOutDevViewType() const { return meOutDevViewType; }
+ void SetLineColor();
+ void SetLineColor( const Color& rColor );
+ const Color& GetLineColor() const { return maLineColor; }
+ bool IsLineColor() const { return mbLineColor; }
+
void SetFillColor();
void SetFillColor( const Color& rColor );
const Color& GetFillColor() const { return maFillColor; }
@@ -586,6 +591,8 @@ public:
private:
+ SAL_DLLPRIVATE void InitLineColor();
+
SAL_DLLPRIVATE void InitFillColor();
///@}
@@ -669,13 +676,7 @@ public:
void DrawLine( const Point& rStartPt, const Point& rEndPt,
const LineInfo& rLineInfo );
- void SetLineColor();
- void SetLineColor( const Color& rColor );
- const Color& GetLineColor() const { return maLineColor; }
- bool IsLineColor() const { return mbLineColor; }
-
private:
- SAL_DLLPRIVATE void InitLineColor();
/** Helper for line geometry paint with support for graphic expansion (pattern and fat_to_area)
*/