summaryrefslogtreecommitdiff
path: root/chart2/source/view/axes/VCartesianAxis.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-10-07 22:13:48 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-10-09 16:33:37 -0400
commit4dfd8ba4ab9e5375edb3ce9a8de30bc0240f31ff (patch)
treed6a4b0055a3d38fb4483ed5c7e4149b7af1f49e9 /chart2/source/view/axes/VCartesianAxis.hxx
parentd7e477c4518bb3f638af59fa48cae04eba8c76cc (diff)
Simplify AxisProperties and its surrounding code.
Change-Id: Ie47421d778c2beb8eb8e132532220054f183a5f1
Diffstat (limited to 'chart2/source/view/axes/VCartesianAxis.hxx')
-rw-r--r--chart2/source/view/axes/VCartesianAxis.hxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/chart2/source/view/axes/VCartesianAxis.hxx b/chart2/source/view/axes/VCartesianAxis.hxx
index b5122d9bf955..757fd1a971a3 100644
--- a/chart2/source/view/axes/VCartesianAxis.hxx
+++ b/chart2/source/view/axes/VCartesianAxis.hxx
@@ -53,8 +53,16 @@ public:
virtual TickFactory* createTickFactory() SAL_OVERRIDE;
- double getLogicValueWhereMainLineCrossesOtherAxis() const;
- double getLogicValueWhereLabelLineCrossesOtherAxis() const;
+ /**
+ * Get the value at which the other axis crosses.
+ */
+ double getAxisIntersectionValue() const;
+
+ /**
+ * Get the value at which label line crosses the other axis.
+ */
+ double getLabelLineIntersectionValue() const;
+
bool getLogicValueWhereExtraLineCrossesOtherAxis( double& fCrossesOtherAxis) const;
void get2DAxisMainLine( ::basegfx::B2DVector& rStart, ::basegfx::B2DVector& rEnd, double fCrossesOtherAxis );