summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSarper Akdemir <sarper.akdemir.extern@allotropia.de>2023-07-21 13:47:21 +0300
committerSarper Akdemir <sarper.akdemir.extern@allotropia.de>2023-07-21 18:25:59 +0200
commit2acfc1448facebd254bda18b2bf286a29be636a7 (patch)
treeaa1b179b5b250e6b085e001e6cd2c98f313a074f /include
parent396cbd8cd017f883946f1a0be7285c89f84f40af (diff)
related tdf#152992: rename HitTolerance to HitTolerancePerAxis
Rename ...HitTolerance instances to ...HitTolerancePerAxis as suggested by Noel on: https://gerrit.libreoffice.org/c/core/+/154694/2/include/drawinglayer/processor2d/hittestprocessor2d.hxx#45 Change-Id: I9c5b69218a4809f795c9a6324d76b2e2c1b12343 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154716 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins Reviewed-by: Sarper Akdemir <sarper.akdemir.extern@allotropia.de>
Diffstat (limited to 'include')
-rw-r--r--include/drawinglayer/processor2d/hittestprocessor2d.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/drawinglayer/processor2d/hittestprocessor2d.hxx b/include/drawinglayer/processor2d/hittestprocessor2d.hxx
index 5755cf77f5e0..6d092efe983a 100644
--- a/include/drawinglayer/processor2d/hittestprocessor2d.hxx
+++ b/include/drawinglayer/processor2d/hittestprocessor2d.hxx
@@ -42,7 +42,7 @@ namespace drawinglayer::processor2d
basegfx::B2DPoint maDiscreteHitPosition;
/// discrete HitTolerance
- basegfx::B2DVector maDiscreteHitTolerance;
+ basegfx::B2DVector maDiscreteHitTolerancePerAxis;
/// stack of HitPrimitives, taken care of during HitTest run
primitive2d::Primitive2DContainer maHitStack;
@@ -60,17 +60,17 @@ namespace drawinglayer::processor2d
void processBasePrimitive2D(const primitive2d::BasePrimitive2D& rCandidate) override;
bool checkHairlineHitWithTolerance(
const basegfx::B2DPolygon& rPolygon,
- const basegfx::B2DVector& rDiscreteHitTolerance) const;
+ const basegfx::B2DVector& rDiscreteHitTolerancePerAxis) const;
bool checkFillHitWithTolerance(
const basegfx::B2DPolyPolygon& rPolyPolygon,
- const basegfx::B2DVector& rDiscreteHitTolerance) const;
+ const basegfx::B2DVector& rDiscreteHitTolerancePerAxis) const;
void check3DHit(const primitive2d::ScenePrimitive2D& rCandidate);
public:
HitTestProcessor2D(
const geometry::ViewInformation2D& rViewInformation,
const basegfx::B2DPoint& rLogicHitPosition,
- const basegfx::B2DVector& rLogicHitTolerance,
+ const basegfx::B2DVector& rLogicHitTolerancePerAxis,
bool bHitTextOnly);
virtual ~HitTestProcessor2D() override;
@@ -83,7 +83,7 @@ namespace drawinglayer::processor2d
/// data read access
const basegfx::B2DPoint& getDiscreteHitPosition() const { return maDiscreteHitPosition; }
- const basegfx::B2DVector& getDiscreteHitTolerance() const { return maDiscreteHitTolerance; }
+ const basegfx::B2DVector& getDiscreteHitTolerance() const { return maDiscreteHitTolerancePerAxis; }
bool getCollectHitStack() const { return mbCollectHitStack; }
bool getHit() const { return mbHit; }
bool getHitTextOnly() const { return mbHitTextOnly; }